Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 110.7 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 196 kB / 17.97 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.263/0.263, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 73.5 kB / 384.2 MB, free: 56.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1061, allocations: 57.78 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4681/0.5742, allocations: 180.6 MB / 0.6079 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007649/0.5819, allocations: 5.756 MB / 0.6136 GB, free: 4.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006907/0.5826, allocations: 20.91 kB / 0.6136 GB, free: 4.816 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008387/0.5835, allocations: 316.8 kB / 0.6139 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003896/0.5874, allocations: 1.563 MB / 0.6154 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.5906, allocations: 1.242 MB / 0.6166 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.593, allocations: 1.849 MB / 0.6184 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006446/0.5937, allocations: 471.5 kB / 0.6189 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002628/0.5963, allocations: 1.226 MB / 0.6201 GB, free: 432 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.5975, allocations: 0.7512 MB / 0.6208 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.5976, allocations: 61.06 kB / 0.6209 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.5995, allocations: 0.8234 MB / 0.6217 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002649/0.5998, allocations: 266.1 kB / 0.6219 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.6002, allocations: 394.4 kB / 0.6223 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.6019, allocations: 1.418 MB / 0.6237 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.6019, allocations: 0 / 0.6237 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6019, allocations: 4 kB / 0.6237 GB, free: 14.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.6019, allocations: 0 / 0.6237 GB, free: 14.24 MB / 446.1 MB 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.002155/0.6041, allocations: 1.137 MB / 0.6248 GB, free: 13.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.6042, allocations: 8.031 kB / 0.6248 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008055/0.605, allocations: 139 kB / 0.6249 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009165/0.6059, allocations: 0.5314 MB / 0.6255 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.606, allocations: 100.4 kB / 0.6256 GB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.6061, allocations: 51.98 kB / 0.6256 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.6073, allocations: 0.8174 MB / 0.6264 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6073, allocations: 0 / 0.6264 GB, free: 11.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.6074, allocations: 27.92 kB / 0.6264 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-05/0.6074, allocations: 40.97 kB / 0.6265 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009798/0.6084, allocations: 0.6282 MB / 0.6271 GB, free: 10.59 MB / 446.1 MB 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.004382/0.6128, allocations: 3.973 MB / 0.631 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.6134, allocations: 356.8 kB / 0.6313 GB, free: 6.008 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.6137, allocations: 173.3 kB / 0.6315 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004879/0.6142, allocations: 353.5 kB / 0.6318 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.6142, allocations: 43.97 kB / 0.6319 GB, free: 5.387 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.563e-06/0.6142, allocations: 4 kB / 0.6319 GB, free: 5.383 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.005202/0.6194, allocations: 1.664 MB / 0.6335 GB, free: 3.645 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.094e-05/0.6195, allocations: 140.4 kB / 0.6336 GB, free: 3.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006971/0.6202, allocations: 0.6094 MB / 0.6342 GB, free: 2.859 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.361e-05/0.6203, allocations: 37.7 kB / 0.6342 GB, free: 2.816 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002871/0.6206, allocations: 362.9 kB / 0.6346 GB, free: 2.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.6207, allocations: 146 kB / 0.6347 GB, free: 2.312 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.621, allocations: 154.5 kB / 0.6349 GB, free: 2.156 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.6212, allocations: 370.8 kB / 0.6352 GB, free: 1.785 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.6215, allocations: 209.9 kB / 0.6354 GB, free: 1.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005728/0.6221, allocations: 0.5164 MB / 0.6359 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/0.623, allocations: 0.7448 MB / 0.6367 GB, free: 32 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.623, allocations: 4 kB / 0.6367 GB, free: 28 kB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001415/0.6244, allocations: 0.8717 MB / 0.6375 GB, free: 15.14 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.6244, allocations: 12.97 kB / 0.6375 GB, free: 15.13 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/0.6245, allocations: 12.03 kB / 0.6375 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.6258, allocations: 331.5 kB / 0.6379 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.6262, allocations: 123.8 kB / 0.638 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.6273, allocations: 0.9269 MB / 0.6389 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.6278, allocations: 24 kB / 0.6389 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/0.6279, allocations: 68.05 kB / 0.639 GB, free: 13.63 MB / 462.1 MB 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.0003318/0.6282, allocations: 254.3 kB / 0.6392 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.6284, allocations: 67.25 kB / 0.6393 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.6297, allocations: 0.6783 MB / 0.6399 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.6297, allocations: 4 kB / 0.6399 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.6297, allocations: 0 / 0.6399 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6297, allocations: 0 / 0.6399 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.6319, allocations: 1.611 MB / 0.6415 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.6319, allocations: 7.938 kB / 0.6415 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009899/0.6329, allocations: 207.8 kB / 0.6417 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.557e-05/0.633, allocations: 20.84 kB / 0.6417 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.633, allocations: 24.09 kB / 0.6418 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002149/0.6352, allocations: 2.877 MB / 0.6446 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.6352, allocations: 4.031 kB / 0.6446 GB, free: 7.434 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.6364, allocations: 0.8044 MB / 0.6454 GB, free: 6.598 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003306/0.6367, allocations: 196.2 kB / 0.6456 GB, free: 6.387 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.6368, allocations: 8 kB / 0.6456 GB, free: 6.379 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003713/0.6372, allocations: 16 kB / 0.6456 GB, free: 6.363 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.6373, allocations: 39.89 kB / 0.6456 GB, free: 6.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.6374, allocations: 43.97 kB / 0.6457 GB, free: 6.281 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005395/0.6379, allocations: 435 kB / 0.6461 GB, free: 5.859 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.704e-06/0.638, allocations: 4.062 kB / 0.6461 GB, free: 5.855 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001021/0.639, allocations: 303.9 kB / 0.6464 GB, free: 5.559 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0008252/0.6398, allocations: 371.3 kB / 0.6467 GB, free: 5.191 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.6408, allocations: 0.5478 MB / 0.6473 GB, free: 4.645 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6409, allocations: 4 kB / 0.6473 GB, free: 4.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009432/0.6418, allocations: 422.5 kB / 0.6477 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.6433, allocations: 372.6 kB / 0.648 GB, free: 3.863 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.6452, allocations: 1.302 MB / 0.6493 GB, free: 2.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.6457, allocations: 0.9261 MB / 0.6502 GB, free: 1.566 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007316/0.6465, allocations: 262 kB / 0.6504 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.6467, allocations: 99.41 kB / 0.6505 GB, free: 1.211 MB / 462.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6467, allocations: 0 / 0.6505 GB, free: 1.211 MB / 462.1 MB Notification: Performance of Templates: time 0.02959/0.6763, allocations: 18.33 MB / 0.6684 GB, free: 14.93 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches