Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001772/0.001772, allocations: 111 kB / 20.48 MB, free: 1.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001991/0.001991, allocations: 214.2 kB / 23.77 MB, free: 4.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.95 MB / 360.8 MB, free: 3.887 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 83.88 kB / 0.4962 GB, free: 7.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3382, allocations: 66.08 MB / 0.5608 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1997/0.538, allocations: 154.6 MB / 0.7118 GB, free: 8.777 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007981/0.5459, allocations: 4.929 MB / 0.7166 GB, free: 3.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007801/0.5467, allocations: 27.75 kB / 0.7166 GB, free: 3.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.5478, allocations: 302 kB / 0.7169 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.5521, allocations: 1.368 MB / 0.7182 GB, free: 2.137 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.5551, allocations: 1.061 MB / 0.7193 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002677/0.5578, allocations: 1.867 MB / 0.7211 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.5586, allocations: 393.6 kB / 0.7215 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00258/0.5612, allocations: 1.125 MB / 0.7226 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001666/0.5629, allocations: 0.7705 MB / 0.7233 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002288/0.5631, allocations: 60 kB / 0.7234 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.565, allocations: 0.5462 MB / 0.7239 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004474/0.5655, allocations: 271.2 kB / 0.7242 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007106/0.5662, allocations: 334.6 kB / 0.7245 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.5686, allocations: 1.3 MB / 0.7258 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5686, allocations: 0 / 0.7258 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5686, allocations: 4 kB / 0.7258 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.212e-05/0.5686, allocations: 0 / 0.7258 GB, free: 10.41 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002652/0.5713, allocations: 1.041 MB / 0.7268 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.5713, allocations: 8.031 kB / 0.7268 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.5715, allocations: 102.5 kB / 0.7269 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008954/0.5724, allocations: 151.3 kB / 0.727 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.5735, allocations: 477.4 kB / 0.7275 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.5736, allocations: 155.7 kB / 0.7276 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.5737, allocations: 48 kB / 0.7277 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.5753, allocations: 1.144 MB / 0.7288 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.5753, allocations: 3.938 kB / 0.7288 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.461e-05/0.5754, allocations: 28 kB / 0.7288 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/0.5755, allocations: 44.91 kB / 0.7289 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.5766, allocations: 0.6127 MB / 0.7295 GB, free: 6.355 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.5815, allocations: 3.297 MB / 0.7327 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.5821, allocations: 338.4 kB / 0.733 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.5824, allocations: 165.3 kB / 0.7332 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.264e-05/0.5825, allocations: 8.281 kB / 0.7332 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.5826, allocations: 42.84 kB / 0.7332 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.695e-06/0.5826, allocations: 0 / 0.7332 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005885/0.5884, allocations: 1.616 MB / 0.7348 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.5886, allocations: 136.5 kB / 0.7349 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2743/0.8629, allocations: 0.6223 MB / 0.7355 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.863, allocations: 36.91 kB / 0.7356 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.8633, allocations: 378.6 kB / 0.7359 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.8635, allocations: 148.8 kB / 0.7361 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.8638, allocations: 159.9 kB / 0.7362 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.864, allocations: 376.3 kB / 0.7366 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.8645, allocations: 203.8 kB / 0.7368 GB, free: 175.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006456/0.8651, allocations: 0.5874 MB / 0.7374 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.8661, allocations: 0.7506 MB / 0.7381 GB, free: 174 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.8662, allocations: 3.094 kB / 0.7381 GB, free: 174 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001565/0.8677, allocations: 0.8802 MB / 0.739 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.8677, allocations: 13.78 kB / 0.739 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.8678, allocations: 10.72 kB / 0.739 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.869, allocations: 313 kB / 0.7393 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.8694, allocations: 124.7 kB / 0.7394 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008895/0.8703, allocations: 0.9332 MB / 0.7403 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.8708, allocations: 28.27 kB / 0.7403 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.391e-05/0.8708, allocations: 68.36 kB / 0.7404 GB, free: 172.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0002821/0.8711, allocations: 245.5 kB / 0.7406 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.8712, allocations: 70.61 kB / 0.7407 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.8726, allocations: 0.8682 MB / 0.7416 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.8726, allocations: 6.344 kB / 0.7416 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8726, allocations: 0 / 0.7416 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.8726, allocations: 3.281 kB / 0.7416 GB, free: 172.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.8741, allocations: 1.145 MB / 0.7427 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8741, allocations: 3.938 kB / 0.7427 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8751, allocations: 214.5 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.573e-05/0.8752, allocations: 31.42 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.8752, allocations: 23.52 kB / 0.7429 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.8765, allocations: 2.667 MB / 0.7455 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8765, allocations: 0 / 0.7455 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000963/0.8775, allocations: 0.821 MB / 0.7463 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.8777, allocations: 115.3 kB / 0.7465 GB, free: 167.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.8778, allocations: 12 kB / 0.7465 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003603/0.8782, allocations: 15.7 kB / 0.7465 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.8783, allocations: 47.08 kB / 0.7465 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.8783, allocations: 39.42 kB / 0.7466 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003747/0.8787, allocations: 442.3 kB / 0.747 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8787, allocations: 2.188 kB / 0.747 GB, free: 167.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007855/0.8795, allocations: 254.3 kB / 0.7472 GB, free: 166.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00146/0.8809, allocations: 1.531 MB / 0.7487 GB, free: 165.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009388/0.8819, allocations: 0.535 MB / 0.7493 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8819, allocations: 3.312 kB / 0.7493 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.8827, allocations: 405 kB / 0.7496 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.8842, allocations: 373.5 kB / 0.75 GB, free: 164.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006097/0.8903, allocations: 6.342 MB / 0.7562 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.8905, allocations: 336.4 kB / 0.7565 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008297/0.8913, allocations: 467 kB / 0.757 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.8917, allocations: 291.3 kB / 0.7572 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of SimCode: time 9.62e-07/0.8917, allocations: 0 / 0.7572 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.9443, allocations: 25.71 MB / 0.7823 GB, free: 131 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.29, allocations: 15.91 kB / 0.7824 GB, free: 130.9 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.51422121699943]