Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00218/0.00218, allocations: 172.4 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.503/1.503, 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.0008471/0.0008472, allocations: 90.64 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.249e-05/3.26e-05, allocations: 7.984 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09766/0.0977, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.158, allocations: 367.1 MB / 0.7198 GB, free: 151.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.158, allocations: 96.34 kB / 0.7199 GB, free: 151.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1376/1.296, allocations: 79.97 MB / 0.798 GB, free: 71.37 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.322e-06/1.296, allocations: 0 / 0.798 GB, free: 71.37 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/1.296, allocations: 8 kB / 0.798 GB, free: 71.36 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.0009008/1.297, allocations: 0.5934 MB / 0.7986 GB, free: 70.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/1.297, allocations: 19.97 kB / 0.7986 GB, free: 70.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/1.297, allocations: 31.72 kB / 0.7987 GB, free: 70.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/1.298, allocations: 270.5 kB / 0.7989 GB, free: 70.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/1.298, allocations: 24.52 kB / 0.7989 GB, free: 70.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.477e-05/1.298, allocations: 24 kB / 0.799 GB, free: 70.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/1.298, allocations: 295.7 kB / 0.7992 GB, free: 70 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.298, allocations: 4 kB / 0.7992 GB, free: 70 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/1.298, allocations: 15.98 kB / 0.7993 GB, free: 69.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/1.298, allocations: 4 kB / 0.7993 GB, free: 69.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/1.299, allocations: 193.6 kB / 0.7995 GB, free: 69.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/1.3, allocations: 1.436 MB / 0.8009 GB, free: 68.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002601/1.3, allocations: 163.2 kB / 0.801 GB, free: 68.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/1.3, allocations: 85.23 kB / 0.8011 GB, free: 67.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/1.3, allocations: 16.12 kB / 0.8011 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.3, allocations: 34.75 kB / 0.8011 GB, free: 67.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.483e-06/1.3, allocations: 0 / 0.8011 GB, free: 67.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002049/1.303, allocations: 0.8583 MB / 0.802 GB, free: 67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/1.303, allocations: 59.41 kB / 0.802 GB, free: 66.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/1.303, allocations: 230.9 kB / 0.8023 GB, free: 66.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/1.303, allocations: 29.7 kB / 0.8023 GB, free: 66.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.552e-05/1.303, allocations: 179.9 kB / 0.8025 GB, free: 66.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.555e-05/1.303, allocations: 90.66 kB / 0.8025 GB, free: 66.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/1.303, allocations: 12 kB / 0.8026 GB, free: 66.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/1.303, allocations: 338.8 kB / 0.8029 GB, free: 66.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/1.303, allocations: 80 kB / 0.803 GB, free: 65.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/1.303, allocations: 182.9 kB / 0.8031 GB, free: 65.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/1.304, allocations: 104.5 kB / 0.8032 GB, free: 65.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.304, allocations: 4 kB / 0.8032 GB, free: 65.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005806/1.304, allocations: 379 kB / 0.8036 GB, free: 65.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.304, allocations: 4 kB / 0.8036 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.304, allocations: 4 kB / 0.8036 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000269/1.304, allocations: 65.61 kB / 0.8037 GB, free: 65.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/1.305, allocations: 67.91 kB / 0.8037 GB, free: 65.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/1.306, allocations: 2.67 MB / 0.8063 GB, free: 62.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.306, allocations: 15.98 kB / 0.8063 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/1.307, allocations: 20.06 kB / 0.8064 GB, free: 62.14 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 9.838e-05/1.307, allocations: 124.8 kB / 0.8065 GB, free: 62.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/1.307, allocations: 31.62 kB / 0.8065 GB, free: 61.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-05/1.307, allocations: 37.95 kB / 0.8066 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/1.307, allocations: 4 kB / 0.8066 GB, free: 61.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.307, allocations: 3.938 kB / 0.8066 GB, free: 61.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004546/1.307, allocations: 0.5592 MB / 0.8071 GB, free: 61.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008552/1.308, allocations: 0.695 MB / 0.8078 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.308, allocations: 0 / 0.8078 GB, free: 60.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000186/1.308, allocations: 51.91 kB / 0.8078 GB, free: 60.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/1.309, allocations: 56.95 kB / 0.8079 GB, free: 60.42 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/1.309, allocations: 8 kB / 0.8079 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007758/1.309, allocations: 1.378 MB / 0.8092 GB, free: 58.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.309, allocations: 0 / 0.8092 GB, free: 58.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005403/1.31, allocations: 479.9 kB / 0.8097 GB, free: 58.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.526e-05/1.31, allocations: 96.86 kB / 0.8098 GB, free: 58.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/1.31, allocations: 8 kB / 0.8098 GB, free: 58.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/1.31, allocations: 19.89 kB / 0.8098 GB, free: 58.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/1.31, allocations: 23.92 kB / 0.8098 GB, free: 58.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/1.31, allocations: 8 kB / 0.8099 GB, free: 58.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001432/1.31, allocations: 179.1 kB / 0.81 GB, free: 58.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.263e-06/1.31, allocations: 8.062 kB / 0.81 GB, free: 58.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004365/1.311, allocations: 103.9 kB / 0.8101 GB, free: 57.95 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.0002433/1.311, allocations: 157.7 kB / 0.8103 GB, free: 57.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006535/1.312, allocations: 466.4 kB / 0.8107 GB, free: 57.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/1.312, allocations: 0 / 0.8107 GB, free: 57.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/1.312, allocations: 230.5 kB / 0.8109 GB, free: 57.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/1.313, allocations: 161.9 kB / 0.8111 GB, free: 56.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/1.314, allocations: 493.6 kB / 0.8116 GB, free: 56.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/1.314, allocations: 0.7764 MB / 0.8123 GB, free: 55.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002638/1.314, allocations: 46.95 kB / 0.8124 GB, free: 55.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/1.314, allocations: 27.44 kB / 0.8124 GB, free: 55.52 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/1.314, allocations: 0 / 0.8124 GB, free: 55.52 MB / 426.7 MB Notification: Performance of Templates: time 0.009782/1.324, allocations: 5.963 MB / 0.8182 GB, free: 49.56 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_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/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches