Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001268/0.001268, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001261/0.001261, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2075/0.2075, allocations: 44.18 MB / 337.3 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 61.2 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3775/0.4906, allocations: 175.2 MB / 0.63 GB, free: 1.367 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006729/0.4974, allocations: 5.341 MB / 0.6353 GB, free: 12.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006409/0.4981, allocations: 19.88 kB / 0.6353 GB, free: 11.99 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009419/0.499, allocations: 318 kB / 0.6356 GB, free: 11.68 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003371/0.5024, allocations: 1.332 MB / 0.6369 GB, free: 10.35 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002659/0.5051, allocations: 1.061 MB / 0.6379 GB, free: 9.293 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002068/0.5072, allocations: 1.844 MB / 0.6397 GB, free: 7.445 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000761/0.508, allocations: 463.6 kB / 0.6402 GB, free: 6.988 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.5101, allocations: 1.063 MB / 0.6412 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.5115, allocations: 0.7471 MB / 0.6419 GB, free: 5.172 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001898/0.5117, allocations: 64 kB / 0.642 GB, free: 5.109 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.5131, allocations: 0.5774 MB / 0.6426 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.5135, allocations: 263.3 kB / 0.6428 GB, free: 4.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.514, allocations: 402.2 kB / 0.6432 GB, free: 3.879 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.5158, allocations: 1.286 MB / 0.6444 GB, free: 2.59 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5158, allocations: 4 kB / 0.6444 GB, free: 2.586 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.5158, allocations: 3.938 kB / 0.6444 GB, free: 2.582 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.393e-05/0.5159, allocations: 3.938 kB / 0.6445 GB, free: 2.578 MB / 478.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.002376/0.5183, allocations: 1.098 MB / 0.6455 GB, free: 1.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.5183, allocations: 8.031 kB / 0.6455 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/0.5192, allocations: 139.1 kB / 0.6457 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008275/0.52, allocations: 0.504 MB / 0.6462 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.5201, allocations: 100.4 kB / 0.6463 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.5202, allocations: 55.31 kB / 0.6463 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.5215, allocations: 0.8174 MB / 0.6471 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.5215, allocations: 4 kB / 0.6471 GB, free: 15.69 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.913e-05/0.5216, allocations: 24 kB / 0.6471 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.706e-05/0.5217, allocations: 52.84 kB / 0.6472 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.5227, allocations: 0.6165 MB / 0.6478 GB, free: 14.99 MB / 494.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.004377/0.5271, allocations: 3.973 MB / 0.6517 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.5277, allocations: 359.6 kB / 0.652 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.528, allocations: 173.3 kB / 0.6522 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.5281, allocations: 93.36 kB / 0.6523 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.5281, allocations: 42.78 kB / 0.6523 GB, free: 10.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 1.903e-06/0.5282, allocations: 0 / 0.6523 GB, free: 10.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005661/0.5338, allocations: 1.652 MB / 0.6539 GB, free: 8.348 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.283e-05/0.5339, allocations: 136.5 kB / 0.654 GB, free: 8.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007194/0.5347, allocations: 0.621 MB / 0.6547 GB, free: 7.555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.5347, allocations: 37.7 kB / 0.6547 GB, free: 7.512 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/0.535, allocations: 362.9 kB / 0.655 GB, free: 7.152 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.5351, allocations: 142 kB / 0.6552 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.5353, allocations: 158.5 kB / 0.6553 GB, free: 6.852 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5355, allocations: 374.8 kB / 0.6557 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.5358, allocations: 201.9 kB / 0.6559 GB, free: 6.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.5364, allocations: 0.5203 MB / 0.6564 GB, free: 5.613 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/0.5373, allocations: 0.756 MB / 0.6571 GB, free: 4.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.5374, allocations: 4 kB / 0.6571 GB, free: 4.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001454/0.5388, allocations: 0.884 MB / 0.658 GB, free: 3.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.5389, allocations: 8 kB / 0.658 GB, free: 3.812 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.5389, allocations: 16.09 kB / 0.658 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.5402, allocations: 316.6 kB / 0.6583 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.5406, allocations: 127.8 kB / 0.6584 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.5417, allocations: 0.9231 MB / 0.6593 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.5422, allocations: 28 kB / 0.6594 GB, free: 2.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.289e-05/0.5423, allocations: 71.98 kB / 0.6594 GB, free: 2.312 MB / 494.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.0003159/0.5426, allocations: 249.4 kB / 0.6597 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.5427, allocations: 71.16 kB / 0.6597 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.5445, allocations: 0.8632 MB / 0.6606 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.5445, allocations: 8 kB / 0.6606 GB, free: 1.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.5445, allocations: 4 kB / 0.6606 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5445, allocations: 0 / 0.6606 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.5465, allocations: 1.469 MB / 0.662 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5465, allocations: 0 / 0.662 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001037/0.5476, allocations: 211.7 kB / 0.6622 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.344e-05/0.5477, allocations: 24.83 kB / 0.6622 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.5477, allocations: 20 kB / 0.6623 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.5497, allocations: 2.881 MB / 0.6651 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5497, allocations: 0 / 0.6651 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.5509, allocations: 0.8208 MB / 0.6659 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.5512, allocations: 188.3 kB / 0.6661 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.5514, allocations: 12 kB / 0.6661 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.5518, allocations: 15.98 kB / 0.6661 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/0.5519, allocations: 51.89 kB / 0.6661 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.552, allocations: 43.98 kB / 0.6662 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005182/0.5525, allocations: 439 kB / 0.6666 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5525, allocations: 0 / 0.6666 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008971/0.5534, allocations: 244 kB / 0.6668 GB, free: 10.23 MB / 0.4981 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.0007646/0.5542, allocations: 298.9 kB / 0.6671 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.5554, allocations: 0.602 MB / 0.6677 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5554, allocations: 0 / 0.6677 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009429/0.5564, allocations: 418.2 kB / 0.6681 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.5581, allocations: 371 kB / 0.6685 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.5603, allocations: 1.391 MB / 0.6698 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004904/0.5608, allocations: 0.9261 MB / 0.6707 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.5612, allocations: 131.4 kB / 0.6708 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.5612, allocations: 0 / 0.6708 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of Templates: time 0.02173/0.583, allocations: 16.46 MB / 0.6869 GB, free: 5.656 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches