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.001276/0.001277, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.4 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.23/0.23, allocations: 46.1 MB / 344.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 76.88 kB / 418.3 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 62.45 MB / 480.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.3528/0.4658, allocations: 178.2 MB / 0.6434 GB, free: 1.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006821/0.4726, allocations: 5.334 MB / 0.6486 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005909/0.4733, allocations: 19.88 kB / 0.6487 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008935/0.4742, allocations: 318 kB / 0.649 GB, free: 11.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.4775, allocations: 1.343 MB / 0.6503 GB, free: 10.01 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.4801, allocations: 1.065 MB / 0.6513 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.4822, allocations: 1.86 MB / 0.6531 GB, free: 7.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008222/0.483, allocations: 453.1 kB / 0.6536 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/0.4852, allocations: 1.078 MB / 0.6546 GB, free: 5.559 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.4866, allocations: 0.7588 MB / 0.6553 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.4868, allocations: 64 kB / 0.6554 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001337/0.4882, allocations: 0.5696 MB / 0.656 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.4885, allocations: 267.2 kB / 0.6562 GB, free: 3.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004637/0.4889, allocations: 406.2 kB / 0.6566 GB, free: 3.504 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.4906, allocations: 1.289 MB / 0.6579 GB, free: 2.211 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4906, allocations: 4 kB / 0.6579 GB, free: 2.207 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4906, allocations: 0 / 0.6579 GB, free: 2.207 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4906, allocations: 0 / 0.6579 GB, free: 2.207 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.002187/0.4928, allocations: 1.102 MB / 0.6589 GB, free: 1.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4928, allocations: 8.031 kB / 0.659 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008352/0.4937, allocations: 139.1 kB / 0.6591 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.4944, allocations: 0.5002 MB / 0.6596 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.4945, allocations: 108.3 kB / 0.6597 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.39e-05/0.4946, allocations: 51.98 kB / 0.6597 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.4959, allocations: 0.8171 MB / 0.6605 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4959, allocations: 4 kB / 0.6605 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.496, allocations: 24 kB / 0.6606 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.4961, allocations: 52.84 kB / 0.6606 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.4971, allocations: 0.6166 MB / 0.6612 GB, free: 14.61 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.004356/0.5015, allocations: 3.947 MB / 0.6651 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.5021, allocations: 358 kB / 0.6654 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.5024, allocations: 181.3 kB / 0.6656 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.5025, allocations: 93.31 kB / 0.6657 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.5025, allocations: 38.84 kB / 0.6657 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.5025, allocations: 0 / 0.6657 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.006152/0.5087, allocations: 1.678 MB / 0.6673 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.521e-05/0.5088, allocations: 136.5 kB / 0.6675 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.5095, allocations: 0.6094 MB / 0.6681 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.5096, allocations: 37.7 kB / 0.6681 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.5099, allocations: 362.9 kB / 0.6684 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.51, allocations: 142 kB / 0.6686 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.5102, allocations: 154.5 kB / 0.6687 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5104, allocations: 374.8 kB / 0.6691 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.5108, allocations: 205.9 kB / 0.6693 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006178/0.5114, allocations: 0.5125 MB / 0.6698 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009961/0.5124, allocations: 0.7513 MB / 0.6705 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5124, allocations: 8 kB / 0.6705 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001525/0.514, allocations: 0.8798 MB / 0.6714 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.514, allocations: 18.89 kB / 0.6714 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.514, allocations: 8 kB / 0.6714 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.5154, allocations: 316.6 kB / 0.6717 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/0.5159, allocations: 123.8 kB / 0.6718 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.517, allocations: 0.9253 MB / 0.6727 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004876/0.5175, allocations: 31.98 kB / 0.6728 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/0.5176, allocations: 67.98 kB / 0.6728 GB, free: 1.965 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.0003498/0.5179, allocations: 253.7 kB / 0.6731 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.5181, allocations: 67.16 kB / 0.6731 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.5199, allocations: 0.8644 MB / 0.674 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5199, allocations: 8 kB / 0.674 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.5199, allocations: 4.875 kB / 0.674 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.5199, allocations: 7.922 kB / 0.674 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.5221, allocations: 1.453 MB / 0.6754 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5221, allocations: 4 kB / 0.6754 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.5232, allocations: 207.8 kB / 0.6756 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.483e-05/0.5233, allocations: 24.84 kB / 0.6756 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.5233, allocations: 28.17 kB / 0.6757 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.5255, allocations: 2.874 MB / 0.6785 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.5255, allocations: 8.016 kB / 0.6785 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001237/0.5267, allocations: 0.8206 MB / 0.6793 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.5271, allocations: 188.2 kB / 0.6795 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.5272, allocations: 11.98 kB / 0.6795 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.5276, allocations: 20.06 kB / 0.6795 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5277, allocations: 47.83 kB / 0.6795 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.5278, allocations: 39.98 kB / 0.6796 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005314/0.5283, allocations: 439 kB / 0.68 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5283, allocations: 0 / 0.68 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009043/0.5293, allocations: 260 kB / 0.6802 GB, free: 9.875 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.0007716/0.53, allocations: 294.5 kB / 0.6805 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.5313, allocations: 0.6098 MB / 0.6811 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.5313, allocations: 4 kB / 0.6811 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009703/0.5323, allocations: 410.2 kB / 0.6815 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.534, allocations: 366.3 kB / 0.6819 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.5362, allocations: 1.382 MB / 0.6832 GB, free: 6.785 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.5368, allocations: 0.93 MB / 0.6841 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.5372, allocations: 127.4 kB / 0.6842 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of SimCode: time 3.91e-07/0.5372, allocations: 4 kB / 0.6842 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of Templates: time 0.022/0.5592, allocations: 16.55 MB / 0.7004 GB, free: 5.199 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