Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002203/0.002203, allocations: 188.9 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.098/2.098, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2894/0.2894, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004522/0.0004523, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1218, allocations: 58.86 MB / 490.2 MB, free: 9.328 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05581/0.1776, allocations: 33.11 MB / 0.5111 GB, free: 8.121 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.3486/0.5263, allocations: 17.19 MB / 0.5279 GB, free: 12.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.5275, allocations: 23.31 kB / 0.5279 GB, free: 12.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001771/0.5293, allocations: 391.1 kB / 0.5283 GB, free: 12.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01709/0.5464, allocations: 3.994 MB / 0.5322 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009585/0.556, allocations: 2.106 MB / 0.5342 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.5589, allocations: 1.156 MB / 0.5353 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009973/0.56, allocations: 417.8 kB / 0.5357 GB, free: 11.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01943/0.5794, allocations: 6.293 MB / 0.5419 GB, free: 11.81 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0271/0.6066, allocations: 8.768 MB / 0.5505 GB, free: 9.875 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003511/0.607, allocations: 36 kB / 0.5505 GB, free: 9.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02404/0.6311, allocations: 7.179 MB / 0.5575 GB, free: 4.207 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006281/0.6318, allocations: 229.3 kB / 0.5577 GB, free: 4.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.6322, allocations: 192.5 kB / 0.5579 GB, free: 3.945 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008873/0.6411, allocations: 3.457 MB / 0.5613 GB, free: 1.004 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6411, allocations: 0 / 0.5613 GB, free: 1.004 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.6412, allocations: 0 / 0.5613 GB, free: 1.004 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.6412, allocations: 0 / 0.5613 GB, free: 1.004 MB / 362.7 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.005859/0.6471, allocations: 1.542 MB / 0.5628 GB, free: 15.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.6471, allocations: 14.09 kB / 0.5628 GB, free: 15.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.6505, allocations: 315.8 kB / 0.5631 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.652, allocations: 0.5286 MB / 0.5636 GB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.6523, allocations: 118.8 kB / 0.5637 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.6524, allocations: 62.03 kB / 0.5638 GB, free: 14.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/0.6568, allocations: 1.212 MB / 0.565 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.6569, allocations: 0 / 0.565 GB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/0.6571, allocations: 32.31 kB / 0.565 GB, free: 13.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.426e-05/0.6572, allocations: 43.64 kB / 0.565 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/0.6617, allocations: 1.056 MB / 0.5661 GB, free: 12.78 MB / 378.7 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.009949/0.6717, allocations: 5.648 MB / 0.5716 GB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.6758, allocations: 0.7918 MB / 0.5724 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0696/0.7454, allocations: 15.98 MB / 0.588 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.7455, allocations: 38.62 kB / 0.588 GB, free: 5.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 3.456e-06/0.7456, allocations: 0 / 0.588 GB, free: 5.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.01129/0.7569, allocations: 2.379 MB / 0.5903 GB, free: 3.152 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.757, allocations: 162.7 kB / 0.5905 GB, free: 2.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.7582, allocations: 0.6093 MB / 0.5911 GB, free: 2.348 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.7584, allocations: 33.7 kB / 0.5911 GB, free: 2.309 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003639/0.7587, allocations: 412.3 kB / 0.5915 GB, free: 1.906 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.759, allocations: 175.5 kB / 0.5917 GB, free: 1.738 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.164e-05/0.7591, allocations: 16 kB / 0.5917 GB, free: 1.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.7592, allocations: 342.8 kB / 0.592 GB, free: 1.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.7604, allocations: 289.8 kB / 0.5923 GB, free: 1.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.762, allocations: 0.6143 MB / 0.5929 GB, free: 344 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.7635, allocations: 379.1 kB / 0.5933 GB, free: 15.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.7635, allocations: 4 kB / 0.5933 GB, free: 15.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00332/0.7668, allocations: 0.9492 MB / 0.5942 GB, free: 15.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.7669, allocations: 15.22 kB / 0.5942 GB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.767, allocations: 12 kB / 0.5942 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/0.7674, allocations: 68.81 kB / 0.5943 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002662/0.7701, allocations: 304.2 kB / 0.5946 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.7724, allocations: 1.997 MB / 0.5965 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7739, allocations: 84.06 kB / 0.5966 GB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.774, allocations: 40 kB / 0.5966 GB, free: 12.44 MB / 410.7 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 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006097/0.7746, allocations: 276.4 kB / 0.5969 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/0.7748, allocations: 67.25 kB / 0.597 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006568/0.7814, allocations: 2.604 MB / 0.5995 GB, free: 9.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.859e-05/0.7815, allocations: 39.94 kB / 0.5995 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.7815, allocations: 0 / 0.5995 GB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.7816, allocations: 3.984 kB / 0.5995 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007827/0.7894, allocations: 3.792 MB / 0.6032 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.7895, allocations: 0 / 0.6032 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/0.7917, allocations: 247.7 kB / 0.6035 GB, free: 5.363 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006333/0.7923, allocations: 92.77 kB / 0.6036 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.325e-05/0.7924, allocations: 16 kB / 0.6036 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.7945, allocations: 1.995 MB / 0.6055 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.7945, allocations: 0 / 0.6055 GB, free: 3.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.7999, allocations: 2.402 MB / 0.6079 GB, free: 0.668 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000707/0.8006, allocations: 322.9 kB / 0.6082 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.8008, allocations: 12 kB / 0.6082 GB, free: 328 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009553/0.8018, allocations: 63.86 kB / 0.6083 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.802, allocations: 44.48 kB / 0.6083 GB, free: 220 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.036e-05/0.8021, allocations: 26.61 kB / 0.6083 GB, free: 196 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.8032, allocations: 0.5587 MB / 0.6089 GB, free: 15.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8032, allocations: 0 / 0.6089 GB, free: 15.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004379/0.8076, allocations: 1.089 MB / 0.6099 GB, free: 14.54 MB / 426.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007535/0.8152, allocations: 1.214 MB / 0.6111 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004344/0.8196, allocations: 1.099 MB / 0.6122 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.448e-06/0.8197, allocations: 0 / 0.6122 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002784/0.8225, allocations: 0.8051 MB / 0.613 GB, free: 11.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/0.8259, allocations: 375.8 kB / 0.6133 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/0.8322, allocations: 3.08 MB / 0.6164 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00103/0.8333, allocations: 1.185 MB / 0.6175 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000374/0.8337, allocations: 67.44 kB / 0.6176 GB, free: 6.781 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.8337, allocations: 0 / 0.6176 GB, free: 6.781 MB / 426.7 MB Notification: Performance of Templates: time 0.0904/0.9241, allocations: 41.8 MB / 0.6584 GB, free: 12.96 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches