Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,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.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,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.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002067/0.002068, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.841/1.841, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0009086/0.0009086, allocations: 88.16 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003014, allocations: 8 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3203, allocations: 47.57 MB / 375.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9374/1.258, allocations: 338.1 MB / 0.6971 GB, free: 127.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/1.258, allocations: 97.39 kB / 0.6972 GB, free: 127.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1746/1.433, allocations: 86.37 MB / 0.7816 GB, free: 40.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.433, allocations: 0 / 0.7816 GB, free: 40.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.096e-05/1.433, allocations: 15.98 kB / 0.7816 GB, free: 40.13 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.001089/1.434, allocations: 0.5505 MB / 0.7821 GB, free: 39.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/1.434, allocations: 8.031 kB / 0.7822 GB, free: 39.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003785/1.435, allocations: 47.55 kB / 0.7822 GB, free: 39.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004879/1.435, allocations: 286.9 kB / 0.7825 GB, free: 39.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/1.435, allocations: 20.56 kB / 0.7825 GB, free: 39.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/1.435, allocations: 35.92 kB / 0.7825 GB, free: 39.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005071/1.436, allocations: 285.4 kB / 0.7828 GB, free: 38.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/1.436, allocations: 0 / 0.7828 GB, free: 38.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/1.436, allocations: 12 kB / 0.7828 GB, free: 38.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.436, allocations: 4 kB / 0.7828 GB, free: 38.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003016/1.436, allocations: 202.1 kB / 0.783 GB, free: 38.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/1.438, allocations: 1.286 MB / 0.7843 GB, free: 37.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/1.438, allocations: 183.2 kB / 0.7844 GB, free: 36.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/1.438, allocations: 178.3 kB / 0.7846 GB, free: 36.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/1.438, allocations: 38.75 kB / 0.7846 GB, free: 36.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.673e-06/1.438, allocations: 0 / 0.7846 GB, free: 36.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002425/1.441, allocations: 1.033 MB / 0.7857 GB, free: 35.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/1.441, allocations: 59.41 kB / 0.7857 GB, free: 35.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/1.441, allocations: 237.6 kB / 0.7859 GB, free: 35.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.403e-05/1.441, allocations: 29.7 kB / 0.786 GB, free: 35.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/1.441, allocations: 176.2 kB / 0.7861 GB, free: 35.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.924e-05/1.441, allocations: 94.62 kB / 0.7862 GB, free: 34.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/1.441, allocations: 12 kB / 0.7862 GB, free: 34.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/1.441, allocations: 340.2 kB / 0.7866 GB, free: 34.64 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/1.441, allocations: 79.97 kB / 0.7866 GB, free: 34.56 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/1.442, allocations: 179.7 kB / 0.7868 GB, free: 34.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/1.442, allocations: 111.9 kB / 0.7869 GB, free: 34.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/1.442, allocations: 0 / 0.7869 GB, free: 34.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005255/1.442, allocations: 436.3 kB / 0.7873 GB, free: 33.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/1.442, allocations: 9.094 kB / 0.7873 GB, free: 33.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/1.442, allocations: 4 kB / 0.7873 GB, free: 33.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/1.443, allocations: 50.09 kB / 0.7874 GB, free: 33.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003056/1.443, allocations: 71.91 kB / 0.7875 GB, free: 33.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/1.444, allocations: 2.576 MB / 0.79 GB, free: 30.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/1.445, allocations: 27.91 kB / 0.79 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.983e-05/1.445, allocations: 15.98 kB / 0.79 GB, free: 30.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001792/1.445, allocations: 157 kB / 0.7902 GB, free: 30.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/1.445, allocations: 27.72 kB / 0.7902 GB, free: 30.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/1.445, allocations: 362.9 kB / 0.7905 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/1.445, allocations: 7.953 kB / 0.7905 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.445, allocations: 0 / 0.7905 GB, free: 30.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004342/1.446, allocations: 0.6109 MB / 0.7911 GB, free: 29.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008854/1.447, allocations: 0.7547 MB / 0.7919 GB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.447, allocations: 0 / 0.7919 GB, free: 28.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/1.447, allocations: 59.89 kB / 0.7919 GB, free: 28.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.827e-05/1.447, allocations: 20.84 kB / 0.792 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.447, allocations: 4 kB / 0.792 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006182/1.448, allocations: 1.295 MB / 0.7932 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.448, allocations: 256 / 0.7932 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/1.448, allocations: 0.524 MB / 0.7937 GB, free: 26.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.403e-05/1.449, allocations: 104.8 kB / 0.7938 GB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/1.449, allocations: 4 kB / 0.7938 GB, free: 26.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/1.449, allocations: 24.02 kB / 0.7939 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/1.449, allocations: 15.97 kB / 0.7939 GB, free: 26.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/1.449, allocations: 15.98 kB / 0.7939 GB, free: 26.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001661/1.449, allocations: 186 kB / 0.7941 GB, free: 26.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.21e-07/1.449, allocations: 0 / 0.7941 GB, free: 26.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005623/1.45, allocations: 116 kB / 0.7942 GB, free: 26.06 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 (25): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004174/1.45, allocations: 243.9 kB / 0.7944 GB, free: 25.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006322/1.451, allocations: 461.2 kB / 0.7949 GB, free: 25.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.451, allocations: 0 / 0.7949 GB, free: 25.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/1.451, allocations: 218.6 kB / 0.7951 GB, free: 25.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/1.452, allocations: 153.3 kB / 0.7952 GB, free: 24.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/1.453, allocations: 0.8024 MB / 0.796 GB, free: 24.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/1.453, allocations: 0.7763 MB / 0.7967 GB, free: 23.33 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003602/1.454, allocations: 54.94 kB / 0.7968 GB, free: 23.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/1.454, allocations: 27.44 kB / 0.7968 GB, free: 23.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/1.454, allocations: 0 / 0.7968 GB, free: 23.25 MB / 426.7 MB Notification: Performance of Templates: time 0.01331/1.467, allocations: 7.192 MB / 0.8039 GB, free: 16.07 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches