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.001092/0.001092, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.635/1.635, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001003/0.001003, allocations: 93.09 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 8 kB / 328.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3282, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.095/7.423, allocations: 3.068 GB / 3.435 GB, free: 133.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/7.423, allocations: 102 kB / 3.435 GB, free: 133.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915/10.34, allocations: 0.9795 GB / 4.415 GB, free: 61.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.094e-06/10.34, allocations: 0 / 4.415 GB, free: 61.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/10.34, allocations: 6.875 kB / 4.415 GB, free: 61.75 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.004581/10.34, allocations: 1.225 MB / 4.416 GB, free: 61.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/10.34, allocations: 6.812 kB / 4.416 GB, free: 61.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002905/10.34, allocations: 42.77 kB / 4.416 GB, free: 61.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/10.34, allocations: 277.6 kB / 4.416 GB, free: 61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/10.34, allocations: 21.53 kB / 4.416 GB, free: 61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/10.34, allocations: 20.31 kB / 4.416 GB, free: 61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/10.34, allocations: 299.2 kB / 4.417 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/10.34, allocations: 5.562 kB / 4.417 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/10.34, allocations: 11.28 kB / 4.417 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/10.34, allocations: 3.969 kB / 4.417 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/10.34, allocations: 193.9 kB / 4.417 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/10.35, allocations: 1.442 MB / 4.418 GB, free: 59.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/10.35, allocations: 175.3 kB / 4.419 GB, free: 59.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/10.35, allocations: 7.781 kB / 4.419 GB, free: 59.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/10.35, allocations: 37.97 kB / 4.419 GB, free: 59.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/10.35, allocations: 3.969 kB / 4.419 GB, free: 59.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002172/10.35, allocations: 1.007 MB / 4.42 GB, free: 59.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/10.35, allocations: 59.3 kB / 4.42 GB, free: 59.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/10.35, allocations: 234.4 kB / 4.42 GB, free: 59.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/10.35, allocations: 31.33 kB / 4.42 GB, free: 59.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/10.35, allocations: 174.4 kB / 4.42 GB, free: 59.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/10.35, allocations: 92.94 kB / 4.42 GB, free: 59.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/10.35, allocations: 5.312 kB / 4.42 GB, free: 59.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.679e-05/10.35, allocations: 334.9 kB / 4.42 GB, free: 58.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/10.35, allocations: 91.67 kB / 4.421 GB, free: 58.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/10.35, allocations: 172.6 kB / 4.421 GB, free: 58.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/10.35, allocations: 115.5 kB / 4.421 GB, free: 58.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/10.35, allocations: 3.75 kB / 4.421 GB, free: 58.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005614/10.35, allocations: 380.4 kB / 4.421 GB, free: 58.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/10.35, allocations: 7.766 kB / 4.421 GB, free: 58.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/10.35, allocations: 5.719 kB / 4.421 GB, free: 58.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002462/10.35, allocations: 65.86 kB / 4.421 GB, free: 58.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/10.35, allocations: 69.19 kB / 4.421 GB, free: 58.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/10.35, allocations: 2.685 MB / 4.424 GB, free: 56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002461/10.35, allocations: 26.66 kB / 4.424 GB, free: 55.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/10.35, allocations: 12.72 kB / 4.424 GB, free: 55.99 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 () * 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.000151/10.35, allocations: 153.4 kB / 4.424 GB, free: 55.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.676e-05/10.35, allocations: 41.41 kB / 4.424 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/10.35, allocations: 30.56 kB / 4.424 GB, free: 55.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/10.35, allocations: 3.281 kB / 4.424 GB, free: 55.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/10.35, allocations: 0 / 4.424 GB, free: 55.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004912/10.35, allocations: 0.5665 MB / 4.425 GB, free: 55.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008775/10.35, allocations: 0.6989 MB / 4.425 GB, free: 55.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/10.35, allocations: 6.031 kB / 4.425 GB, free: 55.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/10.35, allocations: 46.09 kB / 4.425 GB, free: 55.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002529/10.35, allocations: 64.52 kB / 4.426 GB, free: 55.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/10.35, allocations: 10.62 kB / 4.426 GB, free: 55.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008168/10.36, allocations: 1.398 MB / 4.427 GB, free: 53.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/10.36, allocations: 0 / 4.427 GB, free: 53.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005745/10.36, allocations: 480.9 kB / 4.427 GB, free: 53.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/10.36, allocations: 96.23 kB / 4.427 GB, free: 53.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/10.36, allocations: 7.906 kB / 4.427 GB, free: 53.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/10.36, allocations: 22.55 kB / 4.428 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/10.36, allocations: 18.77 kB / 4.428 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/10.36, allocations: 7.75 kB / 4.428 GB, free: 53.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001358/10.36, allocations: 183.7 kB / 4.428 GB, free: 53.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/10.36, allocations: 0 / 4.428 GB, free: 53.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005548/10.36, allocations: 123.7 kB / 4.428 GB, free: 53.45 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 () * 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.000386/10.36, allocations: 290.8 kB / 4.428 GB, free: 53.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006347/10.36, allocations: 476.7 kB / 4.429 GB, free: 53.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/10.36, allocations: 0 / 4.429 GB, free: 53.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/10.36, allocations: 232 kB / 4.429 GB, free: 53.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007307/10.36, allocations: 154.7 kB / 4.429 GB, free: 53.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/10.36, allocations: 0.8204 MB / 4.43 GB, free: 52.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/10.36, allocations: 0.7671 MB / 4.43 GB, free: 51.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000275/10.36, allocations: 51.48 kB / 4.431 GB, free: 51.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/10.36, allocations: 31.14 kB / 4.431 GB, free: 51.96 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/10.36, allocations: 0 / 4.431 GB, free: 51.96 MB / 426.7 MB Notification: Performance of Templates: time 0.01228/10.37, allocations: 7.924 MB / 4.438 GB, free: 51.76 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