Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002167/0.002167, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 51.92 kB / 347.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3092, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01722/0.3264, allocations: 16.62 MB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.3399, allocations: 4.696 MB / 417.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005357/0.3453, allocations: 131.8 kB / 417.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01849/0.3638, allocations: 7.254 MB / 425.1 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009453/0.3732, allocations: 1.923 MB / 427 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005768/0.379, allocations: 1.675 MB / 428.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01647/0.3954, allocations: 9.527 MB / 438.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0229/0.4183, allocations: 13.58 MB / 451.8 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009986/0.4283, allocations: 5.389 MB / 457.2 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01213/0.4405, allocations: 5.946 MB / 463.1 MB, free: 256 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004309/0.4448, allocations: 1.363 MB / 464.5 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006697/0.4515, allocations: 1.652 MB / 466.1 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005205/0.4567, allocations: 2.794 MB / 468.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01433/0.471, allocations: 5.358 MB / 474.3 MB, free: 5.055 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03116/0.5022, allocations: 18.24 MB / 492.5 MB, free: 2.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.5022, allocations: 0 / 492.5 MB, free: 2.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5022, allocations: 0 / 492.5 MB, free: 2.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006608/0.5028, allocations: 0 / 492.5 MB, free: 2.766 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04413/0.547, allocations: 12.25 MB / 0.4929 GB, free: 6.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/0.547, allocations: 15.98 kB / 0.4929 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006529/0.5536, allocations: 1.505 MB / 0.4944 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03737/0.5909, allocations: 6.287 MB / 0.5005 GB, free: 14.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01598/0.6069, allocations: 5.258 MB / 0.5057 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009352/0.6079, allocations: 0.6704 MB / 0.5063 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004636/0.6125, allocations: 0.8788 MB / 0.5072 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04531/0.6578, allocations: 14.72 MB / 0.5216 GB, free: 8.965 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004954/0.6583, allocations: 19.89 kB / 0.5216 GB, free: 8.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003591/0.6619, allocations: 372 kB / 0.5219 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000727/0.6626, allocations: 495.3 kB / 0.5224 GB, free: 8.094 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03479/0.6974, allocations: 13.53 MB / 0.5356 GB, free: 10.54 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4864/1.184, allocations: 43.43 MB / 0.578 GB, free: 119.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01018/1.194, allocations: 5.986 MB / 0.5839 GB, free: 118.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00414/1.198, allocations: 2.857 MB / 0.5867 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003956/1.199, allocations: 99.98 kB / 0.5868 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/1.199, allocations: 78.31 kB / 0.5868 GB, free: 117.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 7.654e-06/1.199, allocations: 3.906 kB / 0.5868 GB, free: 117.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01932/1.218, allocations: 9.405 MB / 0.596 GB, free: 114.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/1.218, allocations: 127.4 kB / 0.5961 GB, free: 114.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005383/1.223, allocations: 3.164 MB / 0.5992 GB, free: 112.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004461/1.224, allocations: 87.89 kB / 0.5993 GB, free: 112.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.226, allocations: 3.832 MB / 0.6031 GB, free: 109.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.227, allocations: 1.463 MB / 0.6045 GB, free: 108.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001884/1.229, allocations: 1.129 MB / 0.6056 GB, free: 108.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.571e-05/1.229, allocations: 305.1 kB / 0.6059 GB, free: 107.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003826/1.233, allocations: 2.842 MB / 0.6087 GB, free: 106.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/1.237, allocations: 4.902 MB / 0.6134 GB, free: 102.1 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008196/1.246, allocations: 8.253 MB / 0.6215 GB, free: 93.85 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.293e-05/1.246, allocations: 28 kB / 0.6215 GB, free: 93.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01303/1.259, allocations: 9.08 MB / 0.6304 GB, free: 84.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.713e-05/1.259, allocations: 32 kB / 0.6304 GB, free: 84.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/1.259, allocations: 68 kB / 0.6305 GB, free: 84.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/1.262, allocations: 1.155 MB / 0.6316 GB, free: 83.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004143/1.266, allocations: 1.287 MB / 0.6329 GB, free: 82.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01294/1.279, allocations: 10.61 MB / 0.6432 GB, free: 71.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004789/1.284, allocations: 0.757 MB / 0.644 GB, free: 70.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.285, allocations: 272 kB / 0.6442 GB, free: 70.35 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006488/1.291, allocations: 3.428 MB / 0.6476 GB, free: 66.91 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.293, allocations: 365.7 kB / 0.6479 GB, free: 66.55 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/1.304, allocations: 6.874 MB / 0.6547 GB, free: 59.65 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008694/1.313, allocations: 5.706 MB / 0.6602 GB, free: 53.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.753e-05/1.313, allocations: 12 kB / 0.6602 GB, free: 53.92 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-05/1.313, allocations: 19.92 kB / 0.6603 GB, free: 53.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03778/1.351, allocations: 15.26 MB / 0.6752 GB, free: 38.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/1.351, allocations: 16 kB / 0.6752 GB, free: 38.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00272/1.354, allocations: 0.7917 MB / 0.6759 GB, free: 37.68 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002758/1.357, allocations: 1.068 MB / 0.677 GB, free: 36.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003348/1.357, allocations: 112 kB / 0.6771 GB, free: 36.49 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01137/1.368, allocations: 10.37 MB / 0.6872 GB, free: 25.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/1.368, allocations: 19.94 kB / 0.6872 GB, free: 25.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/1.381, allocations: 10.65 MB / 0.6976 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.384, allocations: 0.961 MB / 0.6986 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006895/1.384, allocations: 99.92 kB / 0.6987 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.387, allocations: 275.8 kB / 0.6989 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005905/1.387, allocations: 359 kB / 0.6993 GB, free: 13.32 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002486/1.387, allocations: 144 kB / 0.6994 GB, free: 13.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002549/1.39, allocations: 2.125 MB / 0.7015 GB, free: 11.05 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.39, allocations: 0 / 0.7015 GB, free: 11.05 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00579/1.396, allocations: 2.255 MB / 0.7037 GB, free: 8.789 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01435/1.41, allocations: 11.4 MB / 0.7148 GB, free: 13.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0135/1.424, allocations: 7.143 MB / 0.7218 GB, free: 5.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.31e-05/1.424, allocations: 4.875 kB / 0.7218 GB, free: 5.977 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006679/1.43, allocations: 3.404 MB / 0.7251 GB, free: 2.555 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004344/1.435, allocations: 0.8071 MB / 0.7259 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3252/1.76, allocations: 51.96 MB / 0.7767 GB, free: 161.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005642/1.766, allocations: 5.93 MB / 0.7825 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004774/1.77, allocations: 2.154 MB / 0.7846 GB, free: 159.4 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003086/1.773, allocations: 3.003 MB / 0.7875 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of SimCode: time 1.413e-06/1.773, allocations: 3.938 kB / 0.7875 GB, free: 156.9 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1693/1.943, allocations: 120.1 MB / 0.9048 GB, free: 45.29 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.01/21.96, allocations: 15.92 kB / 0.9048 GB, free: 45.27 MB / 0.5138 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.77370757600147]