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.001515/0.001515, 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.974/1.974, 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.00102/0.00102, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.338e-05/3.341e-05, allocations: 4 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 47.58 MB / 370 MB, free: 1.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9532/1.087, allocations: 338 MB / 0.6914 GB, free: 2.391 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.088, allocations: 90.81 kB / 0.6915 GB, free: 2.336 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4681/1.556, allocations: 86.01 MB / 0.7755 GB, free: 94.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.514e-06/1.556, allocations: 0 / 0.7755 GB, free: 94.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.383e-05/1.556, allocations: 8 kB / 0.7755 GB, free: 94.61 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.001044/1.557, allocations: 0.5313 MB / 0.776 GB, free: 94.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/1.557, allocations: 8.031 kB / 0.776 GB, free: 94.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/1.558, allocations: 47.7 kB / 0.7761 GB, free: 93.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000496/1.558, allocations: 278.5 kB / 0.7763 GB, free: 93.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/1.558, allocations: 20.56 kB / 0.7764 GB, free: 93.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/1.558, allocations: 24 kB / 0.7764 GB, free: 93.63 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/1.559, allocations: 285.4 kB / 0.7766 GB, free: 93.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.559, allocations: 0 / 0.7766 GB, free: 93.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.441e-05/1.559, allocations: 12 kB / 0.7767 GB, free: 93.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.559, allocations: 12 kB / 0.7767 GB, free: 93.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/1.559, allocations: 190.1 kB / 0.7769 GB, free: 93.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/1.561, allocations: 1.289 MB / 0.7781 GB, free: 91.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/1.561, allocations: 187.2 kB / 0.7783 GB, free: 91.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/1.562, allocations: 85.19 kB / 0.7784 GB, free: 91.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/1.562, allocations: 174.4 kB / 0.7785 GB, free: 91.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/1.562, allocations: 30.75 kB / 0.7786 GB, free: 91.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.766e-06/1.562, allocations: 0 / 0.7786 GB, free: 91.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002386/1.564, allocations: 0.914 MB / 0.7795 GB, free: 90.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/1.564, allocations: 51.41 kB / 0.7795 GB, free: 90.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/1.565, allocations: 230.9 kB / 0.7797 GB, free: 89.89 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/1.565, allocations: 33.7 kB / 0.7798 GB, free: 89.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/1.565, allocations: 175.9 kB / 0.7799 GB, free: 89.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/1.565, allocations: 98.64 kB / 0.78 GB, free: 89.58 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/1.565, allocations: 4 kB / 0.78 GB, free: 89.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.801e-05/1.565, allocations: 338.8 kB / 0.7803 GB, free: 89.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/1.565, allocations: 72 kB / 0.7804 GB, free: 89.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/1.565, allocations: 187.7 kB / 0.7806 GB, free: 88.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/1.565, allocations: 100.5 kB / 0.7807 GB, free: 88.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.565, allocations: 0 / 0.7807 GB, free: 88.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005965/1.566, allocations: 444 kB / 0.7811 GB, free: 88.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/1.566, allocations: 4 kB / 0.7811 GB, free: 88.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.566, allocations: 11.89 kB / 0.7811 GB, free: 88.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/1.566, allocations: 41.7 kB / 0.7812 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/1.566, allocations: 79.89 kB / 0.7812 GB, free: 88.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/1.568, allocations: 2.56 MB / 0.7837 GB, free: 85.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/1.568, allocations: 24.14 kB / 0.7838 GB, free: 85.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/1.568, allocations: 16 kB / 0.7838 GB, free: 85.37 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 () * 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.0001119/1.569, allocations: 120.9 kB / 0.7839 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.852e-05/1.569, allocations: 31.67 kB / 0.7839 GB, free: 85.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/1.569, allocations: 366.5 kB / 0.7843 GB, free: 84.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.569, allocations: 4 kB / 0.7843 GB, free: 84.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.569, allocations: 0 / 0.7843 GB, free: 84.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000433/1.57, allocations: 0.607 MB / 0.7849 GB, free: 84.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009547/1.571, allocations: 0.747 MB / 0.7856 GB, free: 83.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.571, allocations: 0 / 0.7856 GB, free: 83.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/1.571, allocations: 59.91 kB / 0.7857 GB, free: 83.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.771e-05/1.571, allocations: 20.8 kB / 0.7857 GB, free: 83.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/1.571, allocations: 8 kB / 0.7857 GB, free: 83.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006573/1.572, allocations: 1.288 MB / 0.7869 GB, free: 81.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.572, allocations: 0 / 0.7869 GB, free: 81.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/1.572, allocations: 0.5212 MB / 0.7875 GB, free: 81.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/1.572, allocations: 104.8 kB / 0.7876 GB, free: 81.08 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/1.572, allocations: 4 kB / 0.7876 GB, free: 81.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/1.573, allocations: 23.89 kB / 0.7876 GB, free: 81.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/1.573, allocations: 20.05 kB / 0.7876 GB, free: 81.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.679e-05/1.573, allocations: 15.98 kB / 0.7876 GB, free: 81.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001587/1.573, allocations: 183.1 kB / 0.7878 GB, free: 80.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.573, allocations: 0 / 0.7878 GB, free: 80.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005548/1.574, allocations: 119.9 kB / 0.7879 GB, free: 80.73 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 (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.0004971/1.574, allocations: 245.8 kB / 0.7881 GB, free: 80.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006624/1.575, allocations: 437.6 kB / 0.7886 GB, free: 80.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.575, allocations: 4.25 kB / 0.7886 GB, free: 80.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/1.575, allocations: 210.6 kB / 0.7888 GB, free: 79.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/1.576, allocations: 161.7 kB / 0.7889 GB, free: 79.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/1.577, allocations: 477.7 kB / 0.7894 GB, free: 79.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/1.577, allocations: 0.78 MB / 0.7901 GB, free: 78.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003157/1.577, allocations: 62.94 kB / 0.7902 GB, free: 78.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.804e-05/1.577, allocations: 35.36 kB / 0.7902 GB, free: 78.25 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/1.577, allocations: 0 / 0.7902 GB, free: 78.25 MB / 426.7 MB Notification: Performance of Templates: time 0.01326/1.591, allocations: 7.461 MB / 0.7975 GB, free: 70.79 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