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.001039/0.001039, allocations: 182.7 kB / 18.04 MB, free: 3.781 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.343/1.343, allocations: 205.4 MB / 224.2 MB, free: 9.008 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.0007333/0.0007333, allocations: 102.2 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 16 kB / 329.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2217, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6043/0.826, allocations: 338.1 MB / 0.6984 GB, free: 127.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.8263, allocations: 97.3 kB / 0.6985 GB, free: 127.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1534/0.9797, allocations: 85.4 MB / 0.7819 GB, free: 40.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.9797, allocations: 0 / 0.7819 GB, free: 40.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.045e-05/0.9797, allocations: 7.984 kB / 0.7819 GB, free: 40.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.0007304/0.9805, allocations: 0.5506 MB / 0.7824 GB, free: 40.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.9805, allocations: 12.03 kB / 0.7824 GB, free: 40.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.9808, allocations: 48.55 kB / 0.7825 GB, free: 40.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.9812, allocations: 280.1 kB / 0.7828 GB, free: 39.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.9813, allocations: 20.92 kB / 0.7828 GB, free: 39.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.9813, allocations: 24.38 kB / 0.7828 GB, free: 39.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.9817, allocations: 301.9 kB / 0.7831 GB, free: 39.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.9818, allocations: 192 / 0.7831 GB, free: 39.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.527e-05/0.9818, allocations: 15.94 kB / 0.7831 GB, free: 39.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.9818, allocations: 8 kB / 0.7831 GB, free: 39.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.9821, allocations: 198.1 kB / 0.7833 GB, free: 39.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.9835, allocations: 1.282 MB / 0.7846 GB, free: 37.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000316/0.9838, allocations: 195 kB / 0.7847 GB, free: 37.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.9839, allocations: 84.78 kB / 0.7848 GB, free: 37.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001049/0.9841, allocations: 170.2 kB / 0.785 GB, free: 37.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.9841, allocations: 34.56 kB / 0.785 GB, free: 37.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.254e-06/0.9841, allocations: 0 / 0.785 GB, free: 37.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002033/0.9861, allocations: 1.047 MB / 0.786 GB, free: 36.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.962e-05/0.9862, allocations: 55.41 kB / 0.7861 GB, free: 36.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.9864, allocations: 258.6 kB / 0.7863 GB, free: 35.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.9864, allocations: 33.7 kB / 0.7864 GB, free: 35.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.9865, allocations: 176.2 kB / 0.7865 GB, free: 35.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.9865, allocations: 94.64 kB / 0.7866 GB, free: 35.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/0.9865, allocations: 8 kB / 0.7866 GB, free: 35.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.613e-05/0.9866, allocations: 334.8 kB / 0.787 GB, free: 35.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.9867, allocations: 83.95 kB / 0.787 GB, free: 35.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.9869, allocations: 183.7 kB / 0.7872 GB, free: 34.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.9872, allocations: 284.3 kB / 0.7875 GB, free: 34.51 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9872, allocations: 4 kB / 0.7875 GB, free: 34.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005183/0.9877, allocations: 436.1 kB / 0.7879 GB, free: 34.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9877, allocations: 8 kB / 0.7879 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.9877, allocations: 4 kB / 0.7879 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.9879, allocations: 37.7 kB / 0.7879 GB, free: 34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.9882, allocations: 79.89 kB / 0.788 GB, free: 33.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.9894, allocations: 2.576 MB / 0.7905 GB, free: 31.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.9896, allocations: 16.14 kB / 0.7906 GB, free: 31.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.9896, allocations: 20 kB / 0.7906 GB, free: 31.04 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.0001214/0.9898, allocations: 153.7 kB / 0.7907 GB, free: 30.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.9898, allocations: 27.72 kB / 0.7907 GB, free: 30.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004056/0.9902, allocations: 357.2 kB / 0.7911 GB, free: 30.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.9902, allocations: 8 kB / 0.7911 GB, free: 30.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.9903, allocations: 0 / 0.7911 GB, free: 30.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003685/0.9906, allocations: 0.6226 MB / 0.7917 GB, free: 29.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.9914, allocations: 0.747 MB / 0.7924 GB, free: 28.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9914, allocations: 4.031 kB / 0.7924 GB, free: 28.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.9917, allocations: 59.89 kB / 0.7925 GB, free: 28.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.558e-05/0.9917, allocations: 20.84 kB / 0.7925 GB, free: 28.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.9918, allocations: 8 kB / 0.7925 GB, free: 28.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005203/0.9923, allocations: 1.284 MB / 0.7938 GB, free: 27.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.9923, allocations: 0 / 0.7938 GB, free: 27.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.9928, allocations: 0.5146 MB / 0.7943 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.9928, allocations: 104.8 kB / 0.7944 GB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.9929, allocations: 8 kB / 0.7944 GB, free: 26.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.9931, allocations: 19.92 kB / 0.7944 GB, free: 26.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.9932, allocations: 19.97 kB / 0.7944 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.9932, allocations: 15.98 kB / 0.7944 GB, free: 26.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.9933, allocations: 182 kB / 0.7946 GB, free: 26.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.9933, allocations: 0 / 0.7946 GB, free: 26.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004648/0.9938, allocations: 120 kB / 0.7947 GB, free: 26.37 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.0003107/0.9941, allocations: 245.6 kB / 0.795 GB, free: 26.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005929/0.9947, allocations: 449 kB / 0.7954 GB, free: 25.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9947, allocations: 4.812 kB / 0.7954 GB, free: 25.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.995, allocations: 218.7 kB / 0.7956 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.9961, allocations: 158.4 kB / 0.7958 GB, free: 25.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009658/0.9971, allocations: 0.8031 MB / 0.7965 GB, free: 24.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.9973, allocations: 0.7684 MB / 0.7973 GB, free: 23.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002799/0.9976, allocations: 58.92 kB / 0.7973 GB, free: 23.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.363e-05/0.9977, allocations: 31.44 kB / 0.7974 GB, free: 23.56 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.9977, allocations: 0 / 0.7974 GB, free: 23.56 MB / 426.7 MB Notification: Performance of Templates: time 0.01044/1.008, allocations: 7.311 MB / 0.8045 GB, free: 16.26 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/jenkins1/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