Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001518/0.001518, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.23/0.23, allocations: 46.96 MB / 360.9 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003079/0.003079, allocations: 63.91 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3632, allocations: 66.03 MB / 0.5606 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1943/0.5575, allocations: 154.6 MB / 0.7116 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00813/0.5657, allocations: 4.925 MB / 0.7164 GB, free: 4 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000628/0.5663, allocations: 35.69 kB / 0.7165 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000947/0.5672, allocations: 306 kB / 0.7168 GB, free: 3.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003481/0.5707, allocations: 1.368 MB / 0.7181 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.5736, allocations: 1.059 MB / 0.7191 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002415/0.576, allocations: 1.871 MB / 0.721 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/0.5766, allocations: 392.7 kB / 0.7213 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.5789, allocations: 1.117 MB / 0.7224 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001456/0.5804, allocations: 0.7783 MB / 0.7232 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.5805, allocations: 60 kB / 0.7232 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001302/0.5818, allocations: 0.5489 MB / 0.7238 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003106/0.5821, allocations: 275.2 kB / 0.724 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000402/0.5825, allocations: 334.6 kB / 0.7244 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.5844, allocations: 1.3 MB / 0.7256 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.5844, allocations: 0 / 0.7256 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5844, allocations: 0 / 0.7256 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.5844, allocations: 0 / 0.7256 GB, free: 10.57 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.002532/0.5869, allocations: 1.041 MB / 0.7266 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.587, allocations: 12.03 kB / 0.7267 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.5871, allocations: 98.5 kB / 0.7267 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008247/0.588, allocations: 147.4 kB / 0.7269 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.589, allocations: 485.3 kB / 0.7273 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.5891, allocations: 151.8 kB / 0.7275 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.5892, allocations: 48 kB / 0.7275 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5909, allocations: 1.144 MB / 0.7287 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.669e-05/0.5909, allocations: 11.88 kB / 0.7287 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-05/0.591, allocations: 20 kB / 0.7287 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.5911, allocations: 44.98 kB / 0.7287 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.5922, allocations: 0.6166 MB / 0.7293 GB, free: 6.516 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.004995/0.5972, allocations: 3.293 MB / 0.7325 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006899/0.5979, allocations: 339.6 kB / 0.7329 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.5982, allocations: 161.3 kB / 0.733 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.2e-05/0.5983, allocations: 16.27 kB / 0.733 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.5984, allocations: 38.84 kB / 0.7331 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.534e-06/0.5984, allocations: 4 kB / 0.7331 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005823/0.6042, allocations: 1.609 MB / 0.7347 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.6043, allocations: 136.5 kB / 0.7348 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008119/0.6051, allocations: 0.6288 MB / 0.7354 GB, free: 64 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.6052, allocations: 37.7 kB / 0.7354 GB, free: 20 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2565/0.8617, allocations: 363.4 kB / 0.7358 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/0.8619, allocations: 154.7 kB / 0.7359 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.8622, allocations: 160 kB / 0.7361 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8623, allocations: 376.1 kB / 0.7364 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.8629, allocations: 199.5 kB / 0.7366 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.8635, allocations: 0.5889 MB / 0.7372 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.8647, allocations: 0.7535 MB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.8647, allocations: 3.312 kB / 0.7379 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001743/0.8664, allocations: 0.8799 MB / 0.7388 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.82e-05/0.8665, allocations: 14.3 kB / 0.7388 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.8665, allocations: 9.562 kB / 0.7388 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.8678, allocations: 315.9 kB / 0.7391 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.8682, allocations: 125.6 kB / 0.7392 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009147/0.8691, allocations: 0.9362 MB / 0.7402 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.8696, allocations: 28.02 kB / 0.7402 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.352e-05/0.8697, allocations: 64.2 kB / 0.7402 GB, free: 173.2 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.0003291/0.87, allocations: 250.1 kB / 0.7405 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.8701, allocations: 73.17 kB / 0.7406 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001468/0.8716, allocations: 0.8661 MB / 0.7414 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.8716, allocations: 7.609 kB / 0.7414 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.8716, allocations: 2.25 kB / 0.7414 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8716, allocations: 1.688 kB / 0.7414 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.8731, allocations: 1.141 MB / 0.7425 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.8731, allocations: 0 / 0.7425 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009367/0.874, allocations: 214.6 kB / 0.7427 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.147e-05/0.8741, allocations: 27.44 kB / 0.7428 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/0.8742, allocations: 20.67 kB / 0.7428 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/0.8756, allocations: 2.67 MB / 0.7454 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.8756, allocations: 0 / 0.7454 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009977/0.8766, allocations: 0.8243 MB / 0.7462 GB, free: 168 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.8768, allocations: 117.9 kB / 0.7463 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.234e-05/0.8769, allocations: 8 kB / 0.7463 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.8773, allocations: 19.28 kB / 0.7463 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.8774, allocations: 45.3 kB / 0.7464 GB, free: 167.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.8774, allocations: 45.86 kB / 0.7464 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003884/0.8778, allocations: 439.6 kB / 0.7468 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8778, allocations: 0 / 0.7468 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007894/0.8786, allocations: 254.9 kB / 0.7471 GB, free: 167.2 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.001528/0.8801, allocations: 1.54 MB / 0.7486 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000956/0.8811, allocations: 0.5308 MB / 0.7491 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8811, allocations: 0 / 0.7491 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/0.882, allocations: 408.3 kB / 0.7495 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.8835, allocations: 369.8 kB / 0.7498 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/0.8899, allocations: 6.342 MB / 0.756 GB, free: 157.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.8901, allocations: 340.4 kB / 0.7564 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009562/0.8911, allocations: 459.1 kB / 0.7568 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003954/0.8915, allocations: 291.3 kB / 0.7571 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.353e-06/0.8915, allocations: 4 kB / 0.7571 GB, free: 156.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05533/0.9468, allocations: 25.63 MB / 0.7821 GB, free: 131.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.75, allocations: 6.438 kB / 0.7821 GB, free: 131.4 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 17.929811828769743]