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.0009723/0.0009722, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.7 MB / 247.5 MB, free: 9.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 46.19 MB / 345.9 MB, free: 11.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002471/0.0002472, allocations: 4 kB / 420.2 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 63.57 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3822/0.4848, allocations: 174.1 MB / 0.6424 GB, free: 6.551 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.4926, allocations: 5.433 MB / 0.6477 GB, free: 1.105 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008988/0.4935, allocations: 27.75 kB / 0.6477 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4946, allocations: 270.5 kB / 0.648 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.4982, allocations: 1.219 MB / 0.6492 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.5009, allocations: 0.9532 MB / 0.6501 GB, free: 14.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.5041, allocations: 2.744 MB / 0.6528 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008755/0.505, allocations: 388.4 kB / 0.6531 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.5075, allocations: 0.9651 MB / 0.6541 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001649/0.5092, allocations: 0.79 MB / 0.6549 GB, free: 9.758 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002418/0.5094, allocations: 32 kB / 0.6549 GB, free: 9.727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.5111, allocations: 0.5227 MB / 0.6554 GB, free: 9.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004531/0.5115, allocations: 235.3 kB / 0.6556 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007115/0.5123, allocations: 395.9 kB / 0.656 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001433/0.5137, allocations: 0.9547 MB / 0.6569 GB, free: 7.621 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5137, allocations: 0 / 0.6569 GB, free: 7.621 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.5137, allocations: 4 kB / 0.6569 GB, free: 7.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.475e-05/0.5138, allocations: 0 / 0.6569 GB, free: 7.617 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.002338/0.5161, allocations: 0.9488 MB / 0.6579 GB, free: 6.617 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.5162, allocations: 8.031 kB / 0.6579 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009428/0.5171, allocations: 139 kB / 0.658 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009466/0.5181, allocations: 0.5002 MB / 0.6585 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.5182, allocations: 104.4 kB / 0.6586 GB, free: 5.816 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5184, allocations: 55.89 kB / 0.6586 GB, free: 5.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.5198, allocations: 0.8135 MB / 0.6594 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.5198, allocations: 0 / 0.6594 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.462e-05/0.5199, allocations: 31.94 kB / 0.6595 GB, free: 4.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.021e-05/0.52, allocations: 48.84 kB / 0.6595 GB, free: 4.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5211, allocations: 0.6166 MB / 0.6601 GB, free: 4.18 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.00463/0.5258, allocations: 3.948 MB / 0.664 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.5264, allocations: 351.6 kB / 0.6643 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002989/0.5267, allocations: 185.2 kB / 0.6645 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.5268, allocations: 89.38 kB / 0.6646 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.5269, allocations: 38.84 kB / 0.6646 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/0.5269, allocations: 0 / 0.6646 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.00591/0.5328, allocations: 1.669 MB / 0.6662 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/0.5329, allocations: 132.5 kB / 0.6664 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008607/0.5338, allocations: 0.6133 MB / 0.667 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.5339, allocations: 37.7 kB / 0.667 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/0.5342, allocations: 366.8 kB / 0.6673 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.5343, allocations: 146 kB / 0.6675 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5344, allocations: 61.69 kB / 0.6675 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5346, allocations: 370.8 kB / 0.6679 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.5349, allocations: 205.9 kB / 0.6681 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005725/0.5355, allocations: 0.5125 MB / 0.6686 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009753/0.5365, allocations: 0.7552 MB / 0.6693 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5365, allocations: 0 / 0.6693 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001545/0.5381, allocations: 0.8835 MB / 0.6702 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.5381, allocations: 12 kB / 0.6702 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.5381, allocations: 8 kB / 0.6702 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001459/0.5396, allocations: 317 kB / 0.6705 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.54, allocations: 131.8 kB / 0.6706 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/0.5412, allocations: 0.9291 MB / 0.6715 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.5418, allocations: 47.97 kB / 0.6716 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/0.5419, allocations: 64 kB / 0.6717 GB, free: 7.594 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.0003992/0.5423, allocations: 253.7 kB / 0.6719 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.5425, allocations: 67.25 kB / 0.672 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.5443, allocations: 0.8705 MB / 0.6728 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.5443, allocations: 4 kB / 0.6728 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.5443, allocations: 3.984 kB / 0.6728 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.5443, allocations: 3.984 kB / 0.6728 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.5464, allocations: 1.457 MB / 0.6742 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5464, allocations: 3.938 kB / 0.6743 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5475, allocations: 215.9 kB / 0.6745 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.306e-05/0.5476, allocations: 24.84 kB / 0.6745 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.005e-05/0.5477, allocations: 23.98 kB / 0.6745 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.5497, allocations: 2.685 MB / 0.6771 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.5498, allocations: 4.031 kB / 0.6771 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.5511, allocations: 0.8126 MB / 0.6779 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003342/0.5514, allocations: 196.2 kB / 0.6781 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.5515, allocations: 12 kB / 0.6781 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.552, allocations: 32.03 kB / 0.6782 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.728e-05/0.5521, allocations: 35.91 kB / 0.6782 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.5522, allocations: 51.97 kB / 0.6782 GB, free: 380 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005677/0.5528, allocations: 439 kB / 0.6787 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.11e-07/0.5528, allocations: 0 / 0.6787 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009806/0.5538, allocations: 255.9 kB / 0.6789 GB, free: 15.7 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.0008147/0.5546, allocations: 298.8 kB / 0.6792 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.5558, allocations: 0.5517 MB / 0.6797 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5558, allocations: 4 kB / 0.6797 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009473/0.5568, allocations: 406.8 kB / 0.6801 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/0.5588, allocations: 350.3 kB / 0.6804 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.5613, allocations: 1.678 MB / 0.6821 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.5618, allocations: 0.9261 MB / 0.683 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004399/0.5622, allocations: 131.4 kB / 0.6831 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.5623, allocations: 0 / 0.6831 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of Templates: time 0.02387/0.5861, allocations: 16.45 MB / 0.6992 GB, free: 10.89 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