Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008662/0.0008664, allocations: 95.78 kB / 17.35 MB, free: 6.371 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.0008323/0.0008323, allocations: 181.2 kB / 18.26 MB, free: 5.523 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.378/1.378, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2325/0.2325, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 8 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04157/0.1586, allocations: 39.41 MB / 0.4997 GB, free: 5.809 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2619/0.4206, allocations: 20.91 MB / 0.5201 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.4216, allocations: 22.5 kB / 0.5201 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.4228, allocations: 393.2 kB / 0.5205 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01748/0.4403, allocations: 4.18 MB / 0.5246 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0105/0.4509, allocations: 2.24 MB / 0.5268 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004089/0.455, allocations: 2.859 MB / 0.5296 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007788/0.4558, allocations: 426.9 kB / 0.53 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008957/0.4647, allocations: 4.046 MB / 0.5339 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008757/0.4735, allocations: 5.463 MB / 0.5393 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.4738, allocations: 35.47 kB / 0.5393 GB, free: 5.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01556/0.4893, allocations: 7.266 MB / 0.5464 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005336/0.4899, allocations: 253.1 kB / 0.5466 GB, free: 2.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007222/0.4906, allocations: 445.3 kB / 0.547 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.5032, allocations: 5.057 MB / 0.552 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5032, allocations: 3.938 kB / 0.552 GB, free: 13.85 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5032, allocations: 3.984 kB / 0.552 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.5032, allocations: 0 / 0.552 GB, free: 13.85 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.004347/0.5076, allocations: 1.495 MB / 0.5535 GB, free: 12.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001308/0.5077, allocations: 11.97 kB / 0.5535 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.5099, allocations: 315.7 kB / 0.5538 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009169/0.5108, allocations: 0.566 MB / 0.5543 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.511, allocations: 117.1 kB / 0.5544 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.5111, allocations: 56.38 kB / 0.5545 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.5135, allocations: 1.171 MB / 0.5556 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.5136, allocations: 7.938 kB / 0.5556 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-05/0.5137, allocations: 28 kB / 0.5557 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.5137, allocations: 45.28 kB / 0.5557 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.5155, allocations: 0.8401 MB / 0.5565 GB, free: 9.051 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.006201/0.5217, allocations: 5.518 MB / 0.5619 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.5229, allocations: 0.5807 MB / 0.5625 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003447/0.5233, allocations: 225.2 kB / 0.5627 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1009/0.6242, allocations: 46.61 MB / 0.6082 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.6243, allocations: 38.56 kB / 0.6082 GB, free: 14.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=42): time 2.815e-06/0.6243, allocations: 0 / 0.6082 GB, free: 14.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=46): time 0.005612/0.6299, allocations: 1.949 MB / 0.6102 GB, free: 12.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.63, allocations: 162.2 kB / 0.6103 GB, free: 12.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009255/0.631, allocations: 0.6248 MB / 0.6109 GB, free: 11.6 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/0.6311, allocations: 37.7 kB / 0.611 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.6314, allocations: 387 kB / 0.6113 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.6315, allocations: 172.6 kB / 0.6115 GB, free: 11.01 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.6317, allocations: 73.67 kB / 0.6116 GB, free: 10.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6319, allocations: 374.8 kB / 0.6119 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004126/0.6323, allocations: 229.9 kB / 0.6121 GB, free: 10.34 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.633, allocations: 0.5679 MB / 0.6127 GB, free: 9.605 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.6341, allocations: 0.8407 MB / 0.6135 GB, free: 8.609 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/0.6342, allocations: 4 kB / 0.6135 GB, free: 8.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001557/0.6357, allocations: 0.8709 MB / 0.6144 GB, free: 7.723 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.6358, allocations: 12 kB / 0.6144 GB, free: 7.711 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6358, allocations: 11.94 kB / 0.6144 GB, free: 7.699 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/0.6361, allocations: 65.36 kB / 0.6144 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.6373, allocations: 283.6 kB / 0.6147 GB, free: 7.355 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.639, allocations: 1.983 MB / 0.6167 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.6397, allocations: 60.97 kB / 0.6167 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/0.6398, allocations: 43.98 kB / 0.6168 GB, free: 5.117 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.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.0005403/0.6404, allocations: 281.9 kB / 0.617 GB, free: 4.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.6406, allocations: 71.2 kB / 0.6171 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003041/0.6436, allocations: 2.22 MB / 0.6193 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.539e-05/0.6437, allocations: 31.95 kB / 0.6193 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.6437, allocations: 0 / 0.6193 GB, free: 2.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.6437, allocations: 3.984 kB / 0.6193 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/0.648, allocations: 3.283 MB / 0.6225 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.6481, allocations: 8 kB / 0.6225 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/0.649, allocations: 191.8 kB / 0.6227 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004519/0.6495, allocations: 96.61 kB / 0.6228 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.808e-05/0.6496, allocations: 16 kB / 0.6228 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.6512, allocations: 1.987 MB / 0.6247 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6512, allocations: 0 / 0.6247 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.6538, allocations: 1.985 MB / 0.6267 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/0.6544, allocations: 283.2 kB / 0.6269 GB, free: 10.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.6546, allocations: 16.16 kB / 0.627 GB, free: 10.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/0.6553, allocations: 63.8 kB / 0.627 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.6554, allocations: 36.33 kB / 0.6271 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.6555, allocations: 19.98 kB / 0.6271 GB, free: 10.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009108/0.6564, allocations: 0.5146 MB / 0.6276 GB, free: 9.75 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6564, allocations: 0 / 0.6276 GB, free: 9.75 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003922/0.6603, allocations: 1.093 MB / 0.6286 GB, free: 8.656 MB / 478.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005442/0.6658, allocations: 1.207 MB / 0.6298 GB, free: 7.539 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002304/0.6681, allocations: 0.9318 MB / 0.6307 GB, free: 6.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.6681, allocations: 7.938 kB / 0.6307 GB, free: 6.605 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.6695, allocations: 0.6795 MB / 0.6314 GB, free: 5.926 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.6719, allocations: 361.5 kB / 0.6318 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.6762, allocations: 2.788 MB / 0.6345 GB, free: 2.766 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009032/0.6772, allocations: 1.113 MB / 0.6356 GB, free: 1.625 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001081/0.6783, allocations: 449.3 kB / 0.636 GB, free: 1.184 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.6784, allocations: 63.44 kB / 0.6361 GB, free: 1.121 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6784, allocations: 0 / 0.6361 GB, free: 1.121 MB / 478.1 MB Notification: Performance of Templates: time 0.0729/0.7513, allocations: 45.08 MB / 0.6801 GB, free: 4.207 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches