Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001401/0.001401, allocations: 113.4 kB / 17.99 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 213.8 kB / 18.92 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.1 MB, free: 8.977 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.1 MB / 344.4 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 75.47 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 62.44 MB / 480.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4184/0.5399, allocations: 176.4 MB / 0.6411 GB, free: 3.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007746/0.5477, allocations: 5.412 MB / 0.6464 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.5486, allocations: 31.75 kB / 0.6464 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009838/0.5497, allocations: 274.5 kB / 0.6467 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003565/0.5532, allocations: 1.239 MB / 0.6479 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.5561, allocations: 0.9942 MB / 0.6489 GB, free: 11.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002474/0.5586, allocations: 1.863 MB / 0.6507 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007274/0.5594, allocations: 453.3 kB / 0.6511 GB, free: 8.949 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002439/0.5618, allocations: 1.078 MB / 0.6522 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.5632, allocations: 0.794 MB / 0.653 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.5633, allocations: 60 kB / 0.653 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.5647, allocations: 0.5852 MB / 0.6536 GB, free: 6.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.565, allocations: 279.2 kB / 0.6539 GB, free: 6.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.5655, allocations: 410.1 kB / 0.6543 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.5668, allocations: 0.9706 MB / 0.6552 GB, free: 4.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5668, allocations: 0 / 0.6552 GB, free: 4.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5668, allocations: 0 / 0.6552 GB, free: 4.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.5668, allocations: 0 / 0.6552 GB, free: 4.777 MB / 494.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.002311/0.5692, allocations: 1.098 MB / 0.6563 GB, free: 3.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5692, allocations: 8.031 kB / 0.6563 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008231/0.57, allocations: 141 kB / 0.6564 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007894/0.5708, allocations: 0.504 MB / 0.6569 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.571, allocations: 104.4 kB / 0.657 GB, free: 2.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.5711, allocations: 48 kB / 0.6571 GB, free: 2.773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.5724, allocations: 0.8136 MB / 0.6578 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.5724, allocations: 3.938 kB / 0.6579 GB, free: 1.883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.5725, allocations: 31.97 kB / 0.6579 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-05/0.5726, allocations: 48.86 kB / 0.6579 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5736, allocations: 0.6166 MB / 0.6585 GB, free: 1.188 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.004738/0.5784, allocations: 3.94 MB / 0.6624 GB, free: 13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.579, allocations: 362 kB / 0.6627 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002796/0.5793, allocations: 173.3 kB / 0.6629 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.5794, allocations: 89.38 kB / 0.663 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.5795, allocations: 43.66 kB / 0.663 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.915e-06/0.5795, allocations: 0 / 0.663 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.005769/0.5853, allocations: 1.668 MB / 0.6646 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.139e-05/0.5854, allocations: 132.5 kB / 0.6648 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007362/0.5861, allocations: 0.6132 MB / 0.6654 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.853e-05/0.5862, allocations: 41.7 kB / 0.6654 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.5864, allocations: 363 kB / 0.6658 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.5866, allocations: 145.9 kB / 0.6659 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.5868, allocations: 154.5 kB / 0.666 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.587, allocations: 374.8 kB / 0.6664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.5874, allocations: 205.9 kB / 0.6666 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005952/0.588, allocations: 0.5163 MB / 0.6671 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009517/0.5889, allocations: 0.7475 MB / 0.6678 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5889, allocations: 4 kB / 0.6678 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001463/0.5904, allocations: 0.8832 MB / 0.6687 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.5904, allocations: 8 kB / 0.6687 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.5905, allocations: 16.84 kB / 0.6687 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.5919, allocations: 328.5 kB / 0.669 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.5923, allocations: 123.8 kB / 0.6692 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.5935, allocations: 0.9369 MB / 0.6701 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000588/0.5941, allocations: 35.98 kB / 0.6701 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-05/0.5942, allocations: 71.98 kB / 0.6702 GB, free: 4.516 MB / 0.4981 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.0003683/0.5945, allocations: 245.9 kB / 0.6704 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.5947, allocations: 67.25 kB / 0.6705 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.5965, allocations: 0.8667 MB / 0.6713 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.5965, allocations: 4 kB / 0.6713 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.5965, allocations: 3.984 kB / 0.6713 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5965, allocations: 0 / 0.6713 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.5986, allocations: 1.469 MB / 0.6728 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.5987, allocations: 0 / 0.6728 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.5997, allocations: 215.6 kB / 0.673 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.5998, allocations: 29.03 kB / 0.673 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.5999, allocations: 23.98 kB / 0.673 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/0.6023, allocations: 2.87 MB / 0.6758 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.6023, allocations: 3.938 kB / 0.6758 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.6037, allocations: 0.8206 MB / 0.6766 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.6041, allocations: 192.2 kB / 0.6768 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6042, allocations: 12.06 kB / 0.6768 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004465/0.6046, allocations: 27.98 kB / 0.6768 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6047, allocations: 43.89 kB / 0.6769 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.6048, allocations: 39.98 kB / 0.6769 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005565/0.6054, allocations: 443 kB / 0.6773 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6054, allocations: 0 / 0.6773 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009291/0.6063, allocations: 260 kB / 0.6776 GB, free: 12.42 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.0007897/0.6071, allocations: 282.8 kB / 0.6779 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.6084, allocations: 0.6205 MB / 0.6785 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6084, allocations: 0 / 0.6785 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009594/0.6094, allocations: 415.5 kB / 0.6789 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.6111, allocations: 366.5 kB / 0.6792 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.6135, allocations: 1.579 MB / 0.6808 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.6141, allocations: 0.93 MB / 0.6817 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.6146, allocations: 131.4 kB / 0.6818 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.6146, allocations: 0 / 0.6818 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of Templates: time 0.0228/0.6374, allocations: 16.55 MB / 0.698 GB, free: 7.551 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p