Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001374/0.001374, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.001191/0.001191, allocations: 94.3 kB / 269.9 MB, free: 8.441 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.3269/0.3269, allocations: 43.49 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009789/0.0009789, allocations: 63.89 kB / 429.3 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1068, allocations: 57.76 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2066/0.3134, allocations: 40.26 MB / 0.5149 GB, free: 37.23 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01731/0.3308, allocations: 21.25 MB / 0.5357 GB, free: 27.32 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.3316, allocations: 28.62 kB / 0.5357 GB, free: 27.31 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009913/0.3327, allocations: 398.1 kB / 0.5361 GB, free: 27.1 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.3431, allocations: 4.155 MB / 0.5401 GB, free: 25.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005253/0.3484, allocations: 2.245 MB / 0.5423 GB, free: 23.95 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003024/0.3514, allocations: 2.851 MB / 0.5451 GB, free: 22.99 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005683/0.352, allocations: 425 kB / 0.5455 GB, free: 22.83 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008465/0.3605, allocations: 4.046 MB / 0.5495 GB, free: 21.01 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01043/0.371, allocations: 5.451 MB / 0.5548 GB, free: 18.59 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002107/0.3712, allocations: 39.69 kB / 0.5548 GB, free: 18.58 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0143/0.3855, allocations: 7.265 MB / 0.5619 GB, free: 16.71 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.3861, allocations: 254.4 kB / 0.5622 GB, free: 16.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007541/0.3869, allocations: 422 kB / 0.5626 GB, free: 16.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01031/0.3972, allocations: 5.083 MB / 0.5675 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3972, allocations: 0 / 0.5675 GB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3972, allocations: 4 kB / 0.5675 GB, free: 13.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.3972, allocations: 1.156 kB / 0.5675 GB, free: 13.75 MB / 394.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.004072/0.4013, allocations: 1.678 MB / 0.5692 GB, free: 12.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.4014, allocations: 13.22 kB / 0.5692 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.4033, allocations: 298 kB / 0.5695 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.404, allocations: 0.5662 MB / 0.57 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.4041, allocations: 115.3 kB / 0.5701 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.4042, allocations: 60.2 kB / 0.5702 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.4064, allocations: 1.201 MB / 0.5714 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4064, allocations: 8.438 kB / 0.5714 GB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/0.4065, allocations: 25.62 kB / 0.5714 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.337e-05/0.4066, allocations: 42.3 kB / 0.5714 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.4088, allocations: 1.024 MB / 0.5724 GB, free: 10.5 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.004661/0.4134, allocations: 5.607 MB / 0.5779 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/0.4154, allocations: 0.7641 MB / 0.5787 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.4159, allocations: 296.9 kB / 0.5789 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03124/0.4472, allocations: 15.86 MB / 0.5944 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.4473, allocations: 42.56 kB / 0.5945 GB, free: 5.793 MB / 410.7 MB Notification: Performance of pre-optimization done (n=45): time 2.184e-06/0.4473, allocations: 0 / 0.5945 GB, free: 5.793 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.006432/0.4537, allocations: 2.272 MB / 0.5967 GB, free: 3.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.4538, allocations: 162.7 kB / 0.5968 GB, free: 3.273 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007045/0.4545, allocations: 0.6093 MB / 0.5974 GB, free: 2.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.4546, allocations: 37.73 kB / 0.5975 GB, free: 2.613 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4548, allocations: 387.3 kB / 0.5978 GB, free: 2.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.455, allocations: 177.5 kB / 0.598 GB, free: 2.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002233/0.4552, allocations: 154.6 kB / 0.5982 GB, free: 1.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4554, allocations: 382.8 kB / 0.5985 GB, free: 1.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.4559, allocations: 273.8 kB / 0.5988 GB, free: 1.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007571/0.4567, allocations: 0.6083 MB / 0.5994 GB, free: 492 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.4581, allocations: 0.9064 MB / 0.6003 GB, free: 15.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4581, allocations: 4 kB / 0.6003 GB, free: 15.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001658/0.4597, allocations: 0.9524 MB / 0.6012 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4598, allocations: 9 kB / 0.6012 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.4598, allocations: 12 kB / 0.6012 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.46, allocations: 76.69 kB / 0.6013 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4612, allocations: 295.6 kB / 0.6016 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.4626, allocations: 1.983 MB / 0.6035 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.4632, allocations: 79.86 kB / 0.6036 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.4633, allocations: 43.98 kB / 0.6036 GB, free: 11.82 MB / 426.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 (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.0003377/0.4636, allocations: 273.5 kB / 0.6039 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.4638, allocations: 71.16 kB / 0.604 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/0.4666, allocations: 2.557 MB / 0.6065 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.4666, allocations: 39.89 kB / 0.6065 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.4667, allocations: 48 / 0.6065 GB, free: 8.859 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.4667, allocations: 9.594 kB / 0.6065 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004264/0.4709, allocations: 3.764 MB / 0.6102 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.471, allocations: 0 / 0.6102 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.472, allocations: 231.7 kB / 0.6104 GB, free: 4.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.4724, allocations: 80.78 kB / 0.6105 GB, free: 4.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.4724, allocations: 12 kB / 0.6105 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001301/0.4737, allocations: 1.995 MB / 0.6124 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4737, allocations: 0 / 0.6124 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2123/0.6861, allocations: 80.65 MB / 0.6912 GB, free: 280 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.6865, allocations: 255.6 kB / 0.6914 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2022/0.8887, allocations: 30.02 kB / 0.6915 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/0.8896, allocations: 52.62 kB / 0.6915 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.8897, allocations: 51.16 kB / 0.6916 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.8898, allocations: 23.05 kB / 0.6916 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007749/0.8906, allocations: 0.5569 MB / 0.6921 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8906, allocations: 1.031 kB / 0.6921 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01291/0.9035, allocations: 3.859 MB / 0.6959 GB, free: 139.7 MB / 0.4948 GB 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.02352/0.927, allocations: 2.79 MB / 0.6986 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002552/0.9296, allocations: 1.107 MB / 0.6997 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.9296, allocations: 0 / 0.6997 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.9311, allocations: 0.8222 MB / 0.7005 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.9333, allocations: 376 kB / 0.7009 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.9379, allocations: 4.306 MB / 0.7051 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.9385, allocations: 1.246 MB / 0.7063 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009314/0.9395, allocations: 475.2 kB / 0.7067 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.9397, allocations: 80.34 kB / 0.7068 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/0.9397, allocations: 0 / 0.7068 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.1992/1.139, allocations: 169.9 MB / 0.8728 GB, free: 11.41 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches