Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001297/0.001298, allocations: 192 kB / 18.56 MB, free: 4.434 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.277/1.277, allocations: 222.9 MB / 242.2 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.1969/0.1969, allocations: 44.19 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 60.69 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 60.83 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04098/0.1767, allocations: 39.03 MB / 0.4964 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2817/0.4585, allocations: 20.13 MB / 0.516 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.4598, allocations: 26.47 kB / 0.5161 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.4615, allocations: 445.3 kB / 0.5165 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01857/0.4801, allocations: 5.115 MB / 0.5215 GB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.4901, allocations: 2.569 MB / 0.524 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003859/0.494, allocations: 1.982 MB / 0.5259 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009528/0.4949, allocations: 499.8 kB / 0.5264 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/0.5057, allocations: 4.158 MB / 0.5305 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01095/0.5167, allocations: 5.433 MB / 0.5358 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003058/0.5171, allocations: 71.19 kB / 0.5358 GB, free: 5.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01581/0.5329, allocations: 7.22 MB / 0.5429 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004911/0.5334, allocations: 287.8 kB / 0.5432 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008438/0.5343, allocations: 455.2 kB / 0.5436 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0144/0.5487, allocations: 5.103 MB / 0.5486 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5487, allocations: 0 / 0.5486 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5487, allocations: 0 / 0.5486 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.277e-05/0.5488, allocations: 0 / 0.5486 GB, free: 13.21 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.005258/0.5541, allocations: 1.685 MB / 0.5502 GB, free: 11.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5541, allocations: 8.031 kB / 0.5502 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002199/0.5563, allocations: 309.8 kB / 0.5505 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000956/0.5573, allocations: 0.5527 MB / 0.5511 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.5574, allocations: 115.5 kB / 0.5512 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/0.5575, allocations: 62.81 kB / 0.5512 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.56, allocations: 1.198 MB / 0.5524 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.56, allocations: 4 kB / 0.5524 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.5601, allocations: 26.89 kB / 0.5524 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.522e-05/0.5601, allocations: 45.23 kB / 0.5525 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.5625, allocations: 1.023 MB / 0.5535 GB, free: 8.039 MB / 398.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.006197/0.5687, allocations: 5.616 MB / 0.559 GB, free: 2.086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.571, allocations: 0.7658 MB / 0.5597 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005718/0.5716, allocations: 283.5 kB / 0.56 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03393/0.6056, allocations: 15.87 MB / 0.5755 GB, free: 15.3 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.7e-05/0.6056, allocations: 44.09 kB / 0.5755 GB, free: 15.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 2.966e-06/0.6057, allocations: 0 / 0.5755 GB, free: 15.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.007248/0.6129, allocations: 2.282 MB / 0.5777 GB, free: 12.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.613, allocations: 162.7 kB / 0.5779 GB, free: 12.71 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.6138, allocations: 0.6093 MB / 0.5785 GB, free: 12.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.702e-05/0.6139, allocations: 41.73 kB / 0.5785 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.6142, allocations: 385 kB / 0.5789 GB, free: 11.68 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.6144, allocations: 177.1 kB / 0.5791 GB, free: 11.51 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.6146, allocations: 158.5 kB / 0.5792 GB, free: 11.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.6148, allocations: 382.8 kB / 0.5796 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006216/0.6154, allocations: 281.8 kB / 0.5799 GB, free: 10.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/0.6163, allocations: 0.605 MB / 0.5804 GB, free: 9.938 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.6178, allocations: 0.9026 MB / 0.5813 GB, free: 8.887 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6179, allocations: 0 / 0.5813 GB, free: 8.887 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00193/0.6198, allocations: 0.9641 MB / 0.5823 GB, free: 7.914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.392e-05/0.6198, allocations: 12.09 kB / 0.5823 GB, free: 7.906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.6199, allocations: 12 kB / 0.5823 GB, free: 7.895 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/0.6202, allocations: 68.83 kB / 0.5824 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/0.6215, allocations: 295.6 kB / 0.5826 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.6232, allocations: 2.084 MB / 0.5847 GB, free: 5.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.6239, allocations: 43.97 kB / 0.5847 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.6239, allocations: 40 kB / 0.5848 GB, free: 5.211 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.6244, allocations: 281.6 kB / 0.585 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.6246, allocations: 75.09 kB / 0.5851 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/0.6281, allocations: 2.547 MB / 0.5876 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/0.6281, allocations: 35.94 kB / 0.5876 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6281, allocations: 4.031 kB / 0.5876 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.6282, allocations: 3.984 kB / 0.5876 GB, free: 2.266 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004944/0.6331, allocations: 3.758 MB / 0.5913 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.6331, allocations: 0 / 0.5913 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.6343, allocations: 227.7 kB / 0.5915 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003537/0.6346, allocations: 84.69 kB / 0.5916 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.6347, allocations: 15.98 kB / 0.5916 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.6363, allocations: 2.101 MB / 0.5937 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6363, allocations: 0 / 0.5937 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003174/0.6395, allocations: 2.346 MB / 0.596 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004357/0.6399, allocations: 263.3 kB / 0.5962 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000172/0.6401, allocations: 31.69 kB / 0.5962 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/0.6406, allocations: 31.97 kB / 0.5963 GB, free: 9.156 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6408, allocations: 52.42 kB / 0.5963 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/0.6408, allocations: 19.98 kB / 0.5963 GB, free: 9.082 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007567/0.6416, allocations: 0.5576 MB / 0.5969 GB, free: 8.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6416, allocations: 0 / 0.5969 GB, free: 8.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003241/0.6448, allocations: 1.089 MB / 0.5979 GB, free: 7.434 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005145/0.65, allocations: 1.211 MB / 0.5991 GB, free: 6.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003531/0.6536, allocations: 1.209 MB / 0.6003 GB, free: 5.113 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6536, allocations: 4 kB / 0.6003 GB, free: 5.109 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001623/0.6552, allocations: 0.821 MB / 0.6011 GB, free: 4.281 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.6575, allocations: 407.7 kB / 0.6015 GB, free: 3.902 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.6615, allocations: 2.492 MB / 0.6039 GB, free: 1.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007921/0.6623, allocations: 1.165 MB / 0.6051 GB, free: 204 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001006/0.6633, allocations: 438.6 kB / 0.6055 GB, free: 15.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.6635, allocations: 67.36 kB / 0.6056 GB, free: 15.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6635, allocations: 0 / 0.6056 GB, free: 15.7 MB / 462.1 MB Notification: Performance of Templates: time 0.07412/0.7377, allocations: 46.94 MB / 0.6514 GB, free: 0.9375 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches