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.001615/0.001615, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.0021/0.0021, allocations: 206.3 kB / 23.73 MB, free: 4.379 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2319/0.2319, allocations: 46.95 MB / 360.9 MB, free: 4.008 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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 59.91 kB / 0.4966 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3422, allocations: 66.03 MB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2006/0.5428, allocations: 154.6 MB / 0.7121 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009813/0.5526, allocations: 4.939 MB / 0.7169 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006193/0.5533, allocations: 23.75 kB / 0.717 GB, free: 3.934 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.5543, allocations: 306 kB / 0.7172 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004299/0.5586, allocations: 1.364 MB / 0.7186 GB, free: 2.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.5614, allocations: 1.074 MB / 0.7196 GB, free: 1.199 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00247/0.5639, allocations: 1.868 MB / 0.7214 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006548/0.5645, allocations: 396.5 kB / 0.7218 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.567, allocations: 1.113 MB / 0.7229 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.5685, allocations: 0.7939 MB / 0.7237 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.5686, allocations: 60 kB / 0.7237 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.5699, allocations: 0.5735 MB / 0.7243 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003318/0.5702, allocations: 267.2 kB / 0.7246 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.5707, allocations: 330.6 kB / 0.7249 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.5725, allocations: 1.312 MB / 0.7262 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5725, allocations: 0 / 0.7262 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5725, allocations: 0 / 0.7262 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.5725, allocations: 4 kB / 0.7262 GB, free: 10.48 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.002388/0.5749, allocations: 1.034 MB / 0.7272 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5749, allocations: 16.03 kB / 0.7272 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008697/0.5758, allocations: 147.3 kB / 0.7273 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.5768, allocations: 469.5 kB / 0.7278 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.577, allocations: 163.7 kB / 0.7279 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.5771, allocations: 51.98 kB / 0.728 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.5787, allocations: 1.14 MB / 0.7291 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.5787, allocations: 3.938 kB / 0.7291 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/0.5788, allocations: 31.92 kB / 0.7291 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.5789, allocations: 36.98 kB / 0.7292 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.58, allocations: 0.6166 MB / 0.7298 GB, free: 6.547 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.004914/0.5849, allocations: 3.212 MB / 0.7329 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.5856, allocations: 339.6 kB / 0.7332 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.5859, allocations: 169.2 kB / 0.7334 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.792e-05/0.586, allocations: 12.27 kB / 0.7334 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.586, allocations: 42.84 kB / 0.7334 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.285e-06/0.586, allocations: 0 / 0.7334 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006019/0.5921, allocations: 1.605 MB / 0.735 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/0.5922, allocations: 132.5 kB / 0.7351 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.5928, allocations: 0.5299 MB / 0.7357 GB, free: 296 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.595e-05/0.5929, allocations: 33.7 kB / 0.7357 GB, free: 256 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2341/0.827, allocations: 381.3 kB / 0.736 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/0.8272, allocations: 148.1 kB / 0.7362 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.8275, allocations: 158.2 kB / 0.7363 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8276, allocations: 366 kB / 0.7367 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.8281, allocations: 204.7 kB / 0.7369 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.8287, allocations: 0.5874 MB / 0.7375 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009776/0.8297, allocations: 0.757 MB / 0.7382 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/0.8297, allocations: 3.219 kB / 0.7382 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001549/0.8313, allocations: 0.8683 MB / 0.739 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.8313, allocations: 10.94 kB / 0.7391 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.8313, allocations: 9.906 kB / 0.7391 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/0.8328, allocations: 323.3 kB / 0.7394 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.8331, allocations: 123.2 kB / 0.7395 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009096/0.834, allocations: 0.9234 MB / 0.7404 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.8345, allocations: 31.72 kB / 0.7404 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/0.8346, allocations: 63.25 kB / 0.7405 GB, free: 173.3 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.0003007/0.8349, allocations: 256.6 kB / 0.7407 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.835, allocations: 62.8 kB / 0.7408 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.8364, allocations: 0.8529 MB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8364, allocations: 10.75 kB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.8365, allocations: 1.781 kB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.8365, allocations: 5.188 kB / 0.7416 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.838, allocations: 1.095 MB / 0.7427 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.838, allocations: 3.938 kB / 0.7427 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.839, allocations: 209.7 kB / 0.7429 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.611e-05/0.8391, allocations: 25.73 kB / 0.7429 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.8391, allocations: 19.66 kB / 0.743 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.8404, allocations: 2.628 MB / 0.7455 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.8404, allocations: 4.031 kB / 0.7455 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009267/0.8413, allocations: 0.8102 MB / 0.7463 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.8415, allocations: 105.7 kB / 0.7464 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.8416, allocations: 19.23 kB / 0.7464 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.842, allocations: 8 kB / 0.7464 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.8421, allocations: 44.58 kB / 0.7465 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.8421, allocations: 43.98 kB / 0.7465 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000302/0.8424, allocations: 361.7 kB / 0.7469 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.8424, allocations: 0 / 0.7469 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008182/0.8432, allocations: 251.1 kB / 0.7471 GB, free: 167.6 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.000542/0.8438, allocations: 282.5 kB / 0.7474 GB, free: 167.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009094/0.8447, allocations: 0.5276 MB / 0.7479 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8447, allocations: 9.375 kB / 0.7479 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008492/0.8455, allocations: 412.5 kB / 0.7483 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.8468, allocations: 311.6 kB / 0.7486 GB, free: 166.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.8483, allocations: 1.33 MB / 0.7499 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002068/0.8485, allocations: 332.3 kB / 0.7502 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007242/0.8492, allocations: 454.3 kB / 0.7506 GB, free: 164 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.8495, allocations: 111.4 kB / 0.7508 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.8495, allocations: 2.953 kB / 0.7508 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.01962/0.8691, allocations: 16.93 MB / 0.7673 GB, free: 147.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins/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: 6.343522175680846]