Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002813/0.002812, allocations: 188.5 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.846/2.846, allocations: 205.4 MB / 222.5 MB, free: 13.86 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.001611/0.001611, allocations: 98.83 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000626/0.0006264, allocations: 11.98 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.114, allocations: 47.59 MB / 374.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3032/0.4173, allocations: 30.63 MB / 405.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003058/0.4205, allocations: 1.503 MB / 406.7 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004585/0.421, allocations: 10.34 kB / 406.7 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007333/0.4217, allocations: 144.9 kB / 406.8 MB, free: 4.684 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006927/0.4224, allocations: 202.5 kB / 407 MB, free: 4.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.4234, allocations: 221.6 kB / 407.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008723/0.4243, allocations: 467.3 kB / 407.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.4245, allocations: 73.83 kB / 407.8 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2223/0.6468, allocations: 72.08 MB / 479.9 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005662/0.6475, allocations: 163.4 kB / 480 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.572e-05/0.6476, allocations: 12 kB / 480 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001905/0.6478, allocations: 23.98 kB / 480.1 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.6479, allocations: 75.78 kB / 480.1 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.6481, allocations: 93.52 kB / 480.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000564/0.6486, allocations: 327.1 kB / 480.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6486, allocations: 0 / 480.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6487, allocations: 0 / 480.5 MB, free: 2.406 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.6487, allocations: 0 / 480.5 MB, free: 2.406 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001217/0.6499, allocations: 0.5262 MB / 481.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.65, allocations: 8.031 kB / 481.1 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.6503, allocations: 39.7 kB / 481.1 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.6508, allocations: 274.5 kB / 481.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.099e-05/0.6509, allocations: 16.56 kB / 481.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.651, allocations: 27.94 kB / 481.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007244/0.6517, allocations: 303.7 kB / 481.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.6517, allocations: 3.938 kB / 481.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.6518, allocations: 12 kB / 481.7 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.6518, allocations: 4 kB / 481.7 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.6524, allocations: 193.6 kB / 481.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002551/0.6549, allocations: 1.432 MB / 483.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005023/0.6555, allocations: 184.1 kB / 483.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.294e-05/0.6555, allocations: 4.188 kB / 483.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.6556, allocations: 30.75 kB / 483.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.885e-06/0.6556, allocations: 0 / 483.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.004104/0.6597, allocations: 1.004 MB / 484.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/0.6598, allocations: 59.36 kB / 484.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000449/0.6603, allocations: 262.5 kB / 484.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.6603, allocations: 33.7 kB / 484.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.6605, allocations: 230.6 kB / 485.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6606, allocations: 102.6 kB / 485.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.6607, allocations: 8 kB / 485.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6608, allocations: 322.8 kB / 485.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.6611, allocations: 87.75 kB / 485.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/0.6614, allocations: 178.8 kB / 485.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.6618, allocations: 119.9 kB / 486 MB, free: 12.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.6618, allocations: 0 / 486 MB, free: 12.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001144/0.663, allocations: 371.3 kB / 486.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.663, allocations: 11.95 kB / 486.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.663, allocations: 4 kB / 486.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/0.6635, allocations: 61.67 kB / 486.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.664, allocations: 68.28 kB / 486.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.6671, allocations: 2.692 MB / 489.2 MB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.6676, allocations: 23.95 kB / 489.2 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.548e-05/0.6676, allocations: 16 kB / 489.2 MB, free: 9.074 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002471/0.6679, allocations: 145.8 kB / 489.3 MB, free: 8.922 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/0.668, allocations: 35.61 kB / 489.4 MB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.941e-05/0.6681, allocations: 34.17 kB / 489.4 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.6681, allocations: 4 kB / 489.4 MB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6681, allocations: 4 kB / 489.4 MB, free: 8.844 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009695/0.6691, allocations: 0.5695 MB / 490 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.6708, allocations: 0.6995 MB / 490.7 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.6708, allocations: 4.031 kB / 490.7 MB, free: 7.422 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.6712, allocations: 43.97 kB / 490.7 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.6717, allocations: 56.75 kB / 490.8 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.6717, allocations: 7.984 kB / 490.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001717/0.6735, allocations: 1.401 MB / 492.2 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6735, allocations: 4.031 kB / 492.2 MB, free: 5.773 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.6748, allocations: 478.4 kB / 492.7 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.6749, allocations: 104.8 kB / 492.8 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.675, allocations: 4 kB / 492.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.6754, allocations: 20.88 kB / 492.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.6755, allocations: 23.91 kB / 492.8 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.813e-05/0.6756, allocations: 11.98 kB / 492.8 MB, free: 5.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002962/0.6759, allocations: 182 kB / 493 MB, free: 4.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6759, allocations: 0 / 493 MB, free: 4.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006398/0.6765, allocations: 88 kB / 493.1 MB, free: 4.836 MB / 362.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.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001911/0.6767, allocations: 111.1 kB / 493.2 MB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001202/0.678, allocations: 461.8 kB / 493.7 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.678, allocations: 4 kB / 493.7 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006349/0.6786, allocations: 243.2 kB / 493.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6802, allocations: 152.3 kB / 494 MB, free: 3.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.6828, allocations: 0.8622 MB / 494.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.6837, allocations: 0.7684 MB / 495.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.684, allocations: 31.42 kB / 495.7 MB, free: 2.125 MB / 362.7 MB Notification: Performance of SimCode: time 1.833e-06/0.684, allocations: 0 / 495.7 MB, free: 2.125 MB / 362.7 MB Notification: Performance of Templates: time 0.8329/1.517, allocations: 5.729 MB / 0.4897 GB, free: 12.39 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches