Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.WaterIF97OnePhase_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.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_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001606, allocations: 182.2 kB / 16.4 MB, free: 5.75 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.013/2.013, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001154/0.001154, allocations: 92.36 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5493/0.5493, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004906, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1301, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.4386/0.5688, allocations: 33.11 MB / 0.5111 GB, free: 27.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04254/0.6114, allocations: 17.2 MB / 0.5279 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.613, allocations: 24.69 kB / 0.5279 GB, free: 15.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002726/0.6158, allocations: 400.5 kB / 0.5283 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02563/0.6415, allocations: 3.986 MB / 0.5322 GB, free: 13.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01324/0.6548, allocations: 2.108 MB / 0.5342 GB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003691/0.6585, allocations: 1.161 MB / 0.5354 GB, free: 11.35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.66, allocations: 427.5 kB / 0.5358 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02474/0.6848, allocations: 6.296 MB / 0.5419 GB, free: 10.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03661/0.7215, allocations: 8.759 MB / 0.5505 GB, free: 9.445 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003868/0.7219, allocations: 36.88 kB / 0.5505 GB, free: 9.445 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03015/0.7521, allocations: 7.182 MB / 0.5575 GB, free: 5.734 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007908/0.7529, allocations: 231.3 kB / 0.5578 GB, free: 5.508 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005366/0.7535, allocations: 189.3 kB / 0.5579 GB, free: 5.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.7661, allocations: 3.457 MB / 0.5613 GB, free: 1.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.7661, allocations: 0 / 0.5613 GB, free: 1.852 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.7662, allocations: 0 / 0.5613 GB, free: 1.852 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.414e-05/0.7662, allocations: 0 / 0.5613 GB, free: 1.852 MB / 378.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.007535/0.7738, allocations: 1.5 MB / 0.5628 GB, free: 308 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.7738, allocations: 12.02 kB / 0.5628 GB, free: 296 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005524/0.7794, allocations: 318.8 kB / 0.5631 GB, free: 15.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.7816, allocations: 0.5356 MB / 0.5636 GB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000278/0.782, allocations: 112.7 kB / 0.5637 GB, free: 15.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002941/0.7823, allocations: 70.97 kB / 0.5638 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006495/0.7888, allocations: 1.162 MB / 0.5649 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.642e-05/0.7889, allocations: 7.938 kB / 0.5649 GB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.7892, allocations: 31.97 kB / 0.565 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.7894, allocations: 41.3 kB / 0.565 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005056/0.7944, allocations: 0.844 MB / 0.5658 GB, free: 13.02 MB / 394.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.01601/0.8105, allocations: 5.505 MB / 0.5712 GB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003335/0.8139, allocations: 0.5764 MB / 0.5718 GB, free: 6.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2641/1.078, allocations: 46.6 MB / 0.6173 GB, free: 2.637 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.156e-05/1.078, allocations: 42.56 kB / 0.6173 GB, free: 2.586 MB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 7.755e-06/1.078, allocations: 0 / 0.6173 GB, free: 2.586 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.01335/1.092, allocations: 1.955 MB / 0.6192 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/1.092, allocations: 162.2 kB / 0.6194 GB, free: 392 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.094, allocations: 0.6132 MB / 0.62 GB, free: 15.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001864/1.094, allocations: 41.64 kB / 0.62 GB, free: 15.71 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005427/1.094, allocations: 417.7 kB / 0.6204 GB, free: 15.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003478/1.095, allocations: 169.6 kB / 0.6206 GB, free: 15.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/1.095, allocations: 16 kB / 0.6206 GB, free: 15.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/1.095, allocations: 346.8 kB / 0.6209 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/1.096, allocations: 221.9 kB / 0.6211 GB, free: 14.56 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/1.098, allocations: 0.5639 MB / 0.6217 GB, free: 13.83 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/1.099, allocations: 328.5 kB / 0.622 GB, free: 13.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/1.1, allocations: 4 kB / 0.622 GB, free: 13.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003812/1.103, allocations: 0.8243 MB / 0.6228 GB, free: 12.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/1.103, allocations: 12 kB / 0.6228 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/1.104, allocations: 12.84 kB / 0.6228 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006808/1.104, allocations: 68.77 kB / 0.6229 GB, free: 12.58 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003786/1.108, allocations: 285.4 kB / 0.6232 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003276/1.111, allocations: 1.968 MB / 0.6251 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/1.113, allocations: 64.16 kB / 0.6251 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/1.113, allocations: 43.98 kB / 0.6252 GB, free: 10.07 MB / 458.7 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 (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.0009329/1.114, allocations: 281.4 kB / 0.6255 GB, free: 9.789 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003441/1.115, allocations: 75.11 kB / 0.6255 GB, free: 9.715 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006518/1.121, allocations: 2.222 MB / 0.6277 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.531e-05/1.121, allocations: 31.95 kB / 0.6277 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.121, allocations: 0 / 0.6277 GB, free: 7.449 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.13e-05/1.121, allocations: 3.984 kB / 0.6277 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009512/1.131, allocations: 3.288 MB / 0.6309 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/1.131, allocations: 0 / 0.6309 GB, free: 4.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/1.134, allocations: 187.8 kB / 0.6311 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001012/1.135, allocations: 92.77 kB / 0.6312 GB, free: 3.801 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/1.135, allocations: 12.88 kB / 0.6312 GB, free: 3.789 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003132/1.138, allocations: 2.014 MB / 0.6332 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.138, allocations: 0 / 0.6332 GB, free: 1.617 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/1.144, allocations: 1.995 MB / 0.6351 GB, free: 15.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009836/1.145, allocations: 279.3 kB / 0.6354 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/1.146, allocations: 15.95 kB / 0.6354 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.147, allocations: 63.86 kB / 0.6355 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/1.148, allocations: 36.33 kB / 0.6355 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.148, allocations: 19.98 kB / 0.6355 GB, free: 15.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001631/1.15, allocations: 0.5068 MB / 0.636 GB, free: 14.66 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.15, allocations: 0 / 0.636 GB, free: 14.66 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006668/1.156, allocations: 1.085 MB / 0.6371 GB, free: 13.57 MB / 474.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: 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 (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.01162/1.168, allocations: 1.225 MB / 0.6383 GB, free: 12.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005081/1.173, allocations: 0.9159 MB / 0.6392 GB, free: 11.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-05/1.173, allocations: 4.375 kB / 0.6392 GB, free: 11.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00356/1.177, allocations: 0.6677 MB / 0.6398 GB, free: 10.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00509/1.182, allocations: 361 kB / 0.6402 GB, free: 10.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008718/1.191, allocations: 2.747 MB / 0.6429 GB, free: 7.629 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.192, allocations: 1.129 MB / 0.644 GB, free: 6.473 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005117/1.193, allocations: 67.42 kB / 0.644 GB, free: 6.406 MB / 474.7 MB Notification: Performance of SimCode: time 1.924e-06/1.193, allocations: 3.938 kB / 0.644 GB, free: 6.402 MB / 474.7 MB Notification: Performance of Templates: time 0.4135/1.606, allocations: 40.27 MB / 0.6834 GB, free: 158.9 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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/WaterIF97OnePhase_ph/WaterIF97OnePhase_ph.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches