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.0013/0.0013, allocations: 83.77 kB / 20.68 MB, free: 1.027 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.001444/0.001444, allocations: 163.8 kB / 23.95 MB, free: 4.152 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.459/1.459, allocations: 177.2 MB / 204.3 MB, free: 9.168 MB / 190.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.2146/0.2146, allocations: 34.28 MB / 295 MB, free: 14.55 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 1.352e-06/1.352e-06, allocations: 0 / 442.7 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.534e-05/2.669e-05, allocations: 2.281 kB / 442.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.391/0.391, allocations: 154.6 MB / 0.5833 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008957/0.3999, allocations: 4.917 MB / 0.5881 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.4006, allocations: 27.75 kB / 0.5881 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.4017, allocations: 309.8 kB / 0.5884 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004211/0.4059, allocations: 1.398 MB / 0.5898 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.4089, allocations: 1.087 MB / 0.5908 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002529/0.4114, allocations: 1.89 MB / 0.5927 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006813/0.4121, allocations: 394.1 kB / 0.5931 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.4147, allocations: 1.347 MB / 0.5944 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.416, allocations: 0.7321 MB / 0.5951 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.4162, allocations: 60 kB / 0.5952 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.4176, allocations: 0.5499 MB / 0.5957 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.4179, allocations: 291.1 kB / 0.596 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.4183, allocations: 283.4 kB / 0.5962 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.4203, allocations: 1.388 MB / 0.5976 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4203, allocations: 8 kB / 0.5976 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4203, allocations: 0 / 0.5976 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.4204, allocations: 0 / 0.5976 GB, free: 12.55 MB / 0.4981 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.002401/0.4228, allocations: 1.034 MB / 0.5986 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4228, allocations: 8.031 kB / 0.5986 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008771/0.4237, allocations: 139.5 kB / 0.5987 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009328/0.4246, allocations: 477.3 kB / 0.5992 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/0.4248, allocations: 155.8 kB / 0.5994 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4249, allocations: 48 kB / 0.5994 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.4266, allocations: 1.148 MB / 0.6005 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.4266, allocations: 3.938 kB / 0.6005 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.4267, allocations: 27.94 kB / 0.6005 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.021e-05/0.4268, allocations: 42.84 kB / 0.6006 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.428, allocations: 0.6204 MB / 0.6012 GB, free: 8.621 MB / 0.4981 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.00461/0.4326, allocations: 3.208 MB / 0.6043 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006316/0.4333, allocations: 343 kB / 0.6047 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.4335, allocations: 157.3 kB / 0.6048 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.4336, allocations: 20.27 kB / 0.6048 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.4337, allocations: 38.84 kB / 0.6049 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.4337, allocations: 0 / 0.6049 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006013/0.4397, allocations: 1.595 MB / 0.6064 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.004e-05/0.4398, allocations: 132.5 kB / 0.6065 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.4405, allocations: 0.5415 MB / 0.6071 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.4405, allocations: 29.7 kB / 0.6071 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.4408, allocations: 380.2 kB / 0.6075 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.4409, allocations: 154.7 kB / 0.6076 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/0.4412, allocations: 158.6 kB / 0.6078 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.4414, allocations: 366.8 kB / 0.6081 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.4418, allocations: 205.8 kB / 0.6083 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009413/0.4427, allocations: 0.5919 MB / 0.6089 GB, free: 336 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.4439, allocations: 0.7498 MB / 0.6096 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.4439, allocations: 4 kB / 0.6096 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001595/0.4455, allocations: 0.8725 MB / 0.6105 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.4455, allocations: 10.5 kB / 0.6105 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.4455, allocations: 12 kB / 0.6105 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.447, allocations: 308.8 kB / 0.6108 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004693/0.4475, allocations: 127.8 kB / 0.6109 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.4488, allocations: 0.9192 MB / 0.6118 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/0.4496, allocations: 36.05 kB / 0.6118 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/0.4498, allocations: 71.98 kB / 0.6119 GB, free: 13.05 MB / 0.5137 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.0006043/0.4504, allocations: 241.5 kB / 0.6121 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.4505, allocations: 75.55 kB / 0.6122 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.453, allocations: 0.861 MB / 0.6131 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.453, allocations: 4 kB / 0.6131 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.453, allocations: 4 kB / 0.6131 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.453, allocations: 0 / 0.6131 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.456, allocations: 1.09 MB / 0.6141 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.456, allocations: 0 / 0.6141 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/0.4579, allocations: 215.9 kB / 0.6143 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/0.458, allocations: 28.78 kB / 0.6144 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.433e-05/0.4581, allocations: 19.98 kB / 0.6144 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003233/0.4613, allocations: 2.625 MB / 0.6169 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4613, allocations: 0 / 0.6169 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.4635, allocations: 0.8102 MB / 0.6177 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.4639, allocations: 111.5 kB / 0.6178 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.464, allocations: 8 kB / 0.6179 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.4646, allocations: 24.27 kB / 0.6179 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.4648, allocations: 35.89 kB / 0.6179 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.4649, allocations: 47.97 kB / 0.618 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007263/0.4656, allocations: 358.8 kB / 0.6183 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4656, allocations: 0 / 0.6183 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001431/0.467, allocations: 251.8 kB / 0.6185 GB, free: 5.953 MB / 0.5137 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.000948/0.468, allocations: 294.7 kB / 0.6188 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.4697, allocations: 0.5268 MB / 0.6193 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.4697, allocations: 3.953 kB / 0.6193 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/0.4712, allocations: 411.7 kB / 0.6197 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.4734, allocations: 308.8 kB / 0.62 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.4764, allocations: 1.241 MB / 0.6212 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.4769, allocations: 344.2 kB / 0.6216 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001439/0.4783, allocations: 450.4 kB / 0.622 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004586/0.4788, allocations: 108.4 kB / 0.6221 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of SimCode: time 7.22e-07/0.4788, allocations: 0 / 0.6221 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of Templates: time 0.03347/0.5123, allocations: 15.65 MB / 0.6374 GB, free: 2.812 MB / 0.5294 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: 5.984865549951792]