Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00106/0.00106, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.528/1.528, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008682/0.0008684, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.61e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.684/7.79, allocations: 3.068 GB / 3.43 GB, free: 16.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/7.791, allocations: 95.56 kB / 3.43 GB, free: 16.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257/11.05, allocations: 0.9788 GB / 4.408 GB, free: 11.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/11.05, allocations: 0 / 4.408 GB, free: 11.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/11.05, allocations: 4 kB / 4.408 GB, free: 11.31 MB / 426.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.004907/11.05, allocations: 1.196 MB / 4.41 GB, free: 10.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/11.05, allocations: 8.031 kB / 4.41 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/11.05, allocations: 47.56 kB / 4.41 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/11.05, allocations: 270.5 kB / 4.41 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.369e-05/11.05, allocations: 20.56 kB / 4.41 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.755e-05/11.05, allocations: 24 kB / 4.41 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000434/11.05, allocations: 291.7 kB / 4.41 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/11.05, allocations: 4 kB / 4.41 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/11.05, allocations: 12 kB / 4.41 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/11.05, allocations: 7.938 kB / 4.41 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/11.05, allocations: 189.6 kB / 4.41 GB, free: 9.195 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/11.06, allocations: 1.435 MB / 4.412 GB, free: 7.645 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/11.06, allocations: 175.2 kB / 4.412 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/11.06, allocations: 85.23 kB / 4.412 GB, free: 7.379 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/11.06, allocations: 12.17 kB / 4.412 GB, free: 7.367 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/11.06, allocations: 30.75 kB / 4.412 GB, free: 7.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/11.06, allocations: 0 / 4.412 GB, free: 7.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002025/11.06, allocations: 0.8692 MB / 4.413 GB, free: 6.406 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/11.06, allocations: 55.41 kB / 4.413 GB, free: 6.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/11.06, allocations: 230.8 kB / 4.413 GB, free: 6.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/11.06, allocations: 29.7 kB / 4.413 GB, free: 6.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/11.06, allocations: 179.9 kB / 4.413 GB, free: 5.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/11.06, allocations: 98.64 kB / 4.414 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/11.06, allocations: 12 kB / 4.414 GB, free: 5.781 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/11.06, allocations: 338.8 kB / 4.414 GB, free: 5.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/11.06, allocations: 76 kB / 4.414 GB, free: 5.367 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/11.06, allocations: 174.9 kB / 4.414 GB, free: 5.156 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/11.06, allocations: 115.9 kB / 4.414 GB, free: 5.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/11.06, allocations: 4 kB / 4.414 GB, free: 5.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005573/11.06, allocations: 378.8 kB / 4.415 GB, free: 4.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/11.06, allocations: 4 kB / 4.415 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/11.06, allocations: 4 kB / 4.415 GB, free: 4.652 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/11.06, allocations: 57.67 kB / 4.415 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/11.06, allocations: 67.91 kB / 4.415 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001508/11.06, allocations: 2.674 MB / 4.417 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/11.06, allocations: 24.05 kB / 4.417 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.07e-05/11.06, allocations: 12 kB / 4.417 GB, free: 1.551 MB / 426.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 () * 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 7.755e-05/11.06, allocations: 124.9 kB / 4.417 GB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/11.06, allocations: 27.72 kB / 4.418 GB, free: 1.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.34e-05/11.06, allocations: 33.95 kB / 4.418 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/11.06, allocations: 4 kB / 4.418 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/11.06, allocations: 0 / 4.418 GB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005383/11.06, allocations: 0.5629 MB / 4.418 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2614/11.32, allocations: 0.6905 MB / 4.419 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/11.32, allocations: 0.7812 kB / 4.419 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/11.32, allocations: 44.48 kB / 4.419 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/11.33, allocations: 53.86 kB / 4.419 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/11.33, allocations: 10.41 kB / 4.419 GB, free: 64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/11.33, allocations: 1.381 MB / 4.42 GB, free: 62.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/11.33, allocations: 1.109 kB / 4.42 GB, free: 62.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007568/11.33, allocations: 480.1 kB / 4.421 GB, free: 62.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/11.33, allocations: 100.1 kB / 4.421 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.909e-05/11.33, allocations: 6.781 kB / 4.421 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/11.33, allocations: 13.16 kB / 4.421 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/11.33, allocations: 24.45 kB / 4.421 GB, free: 62.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.47e-05/11.33, allocations: 12.3 kB / 4.421 GB, free: 62.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002362/11.33, allocations: 180.7 kB / 4.421 GB, free: 62.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/11.33, allocations: 0 / 4.421 GB, free: 62.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007021/11.33, allocations: 120.9 kB / 4.421 GB, free: 62.41 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.T) * Number of discrete variables: 0 () * Number of discrete 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.0004976/11.33, allocations: 290.3 kB / 4.421 GB, free: 62.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008132/11.33, allocations: 465.1 kB / 4.422 GB, free: 62.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/11.33, allocations: 4.906 kB / 4.422 GB, free: 62.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003652/11.33, allocations: 230.2 kB / 4.422 GB, free: 62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009499/11.33, allocations: 151.6 kB / 4.422 GB, free: 62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/11.33, allocations: 499.1 kB / 4.423 GB, free: 61.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/11.33, allocations: 0.7705 MB / 4.423 GB, free: 61.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003056/11.33, allocations: 58.23 kB / 4.423 GB, free: 61.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.44e-05/11.33, allocations: 26.45 kB / 4.424 GB, free: 61.15 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/11.33, allocations: 0 / 4.424 GB, free: 61.15 MB / 426.7 MB Notification: Performance of Templates: time 0.01706/11.35, allocations: 8.439 MB / 4.432 GB, free: 60.95 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/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_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches