Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001549/0.00155, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.934/1.934, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001111/0.00111, allocations: 97.98 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003779, allocations: 12 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 47.57 MB / 374.5 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9842/1.304, allocations: 338.1 MB / 0.6959 GB, free: 108.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/1.305, allocations: 99.3 kB / 0.696 GB, free: 108.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2709/1.576, allocations: 86.39 MB / 0.7804 GB, free: 29.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.266e-06/1.576, allocations: 0 / 0.7804 GB, free: 29.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.135e-05/1.576, allocations: 4.375 kB / 0.7804 GB, free: 29.99 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.0009291/1.577, allocations: 0.5505 MB / 0.7809 GB, free: 29.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.577, allocations: 15.97 kB / 0.7809 GB, free: 29.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003593/1.577, allocations: 47.55 kB / 0.781 GB, free: 29.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/1.578, allocations: 290.5 kB / 0.7812 GB, free: 29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.578, allocations: 12.56 kB / 0.7813 GB, free: 28.99 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.373e-05/1.578, allocations: 24 kB / 0.7813 GB, free: 28.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/1.578, allocations: 297.3 kB / 0.7816 GB, free: 28.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.578, allocations: 4 kB / 0.7816 GB, free: 28.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.408e-05/1.578, allocations: 12 kB / 0.7816 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.578, allocations: 4 kB / 0.7816 GB, free: 28.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/1.579, allocations: 202.1 kB / 0.7818 GB, free: 28.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/1.581, allocations: 1.282 MB / 0.783 GB, free: 27.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005272/1.582, allocations: 191.2 kB / 0.7832 GB, free: 26.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.582, allocations: 170.4 kB / 0.7834 GB, free: 26.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.582, allocations: 38.73 kB / 0.7834 GB, free: 26.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.915e-06/1.582, allocations: 0 / 0.7834 GB, free: 26.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003687/1.586, allocations: 1.037 MB / 0.7844 GB, free: 25.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/1.586, allocations: 55.41 kB / 0.7845 GB, free: 25.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/1.586, allocations: 233.6 kB / 0.7847 GB, free: 25.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/1.586, allocations: 33.7 kB / 0.7847 GB, free: 25.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/1.586, allocations: 234.6 kB / 0.7849 GB, free: 24.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.159e-05/1.586, allocations: 90.66 kB / 0.785 GB, free: 24.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/1.586, allocations: 4 kB / 0.785 GB, free: 24.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.839e-05/1.586, allocations: 336.3 kB / 0.7854 GB, free: 24.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/1.587, allocations: 75.97 kB / 0.7854 GB, free: 24.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/1.587, allocations: 179.8 kB / 0.7856 GB, free: 24.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/1.587, allocations: 111.9 kB / 0.7857 GB, free: 24.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.587, allocations: 0 / 0.7857 GB, free: 24.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008646/1.588, allocations: 420.9 kB / 0.7861 GB, free: 23.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.588, allocations: 8.062 kB / 0.7861 GB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.588, allocations: 4 kB / 0.7861 GB, free: 23.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/1.588, allocations: 41.7 kB / 0.7862 GB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005589/1.589, allocations: 79.83 kB / 0.7862 GB, free: 23.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001873/1.591, allocations: 2.587 MB / 0.7888 GB, free: 20.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004357/1.591, allocations: 23.92 kB / 0.7888 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/1.591, allocations: 16 kB / 0.7888 GB, free: 20.58 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.0002297/1.592, allocations: 157.9 kB / 0.789 GB, free: 20.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/1.592, allocations: 23.72 kB / 0.789 GB, free: 20.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007493/1.592, allocations: 362.7 kB / 0.7893 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/1.592, allocations: 7.953 kB / 0.7893 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/1.592, allocations: 0 / 0.7893 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005928/1.593, allocations: 0.6187 MB / 0.7899 GB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/1.594, allocations: 0.747 MB / 0.7907 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.594, allocations: 0 / 0.7907 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005034/1.595, allocations: 63.89 kB / 0.7907 GB, free: 18.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000103/1.595, allocations: 20.88 kB / 0.7907 GB, free: 18.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/1.595, allocations: 11.94 kB / 0.7908 GB, free: 18.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008213/1.596, allocations: 1.292 MB / 0.792 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.596, allocations: 0 / 0.792 GB, free: 16.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008583/1.597, allocations: 0.5165 MB / 0.7925 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.761e-05/1.597, allocations: 100.9 kB / 0.7926 GB, free: 16.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/1.597, allocations: 8 kB / 0.7926 GB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/1.597, allocations: 23.84 kB / 0.7926 GB, free: 16.22 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/1.597, allocations: 19.91 kB / 0.7927 GB, free: 16.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/1.597, allocations: 15.98 kB / 0.7927 GB, free: 16.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002287/1.598, allocations: 182 kB / 0.7929 GB, free: 16 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.598, allocations: 4 kB / 0.7929 GB, free: 16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006731/1.598, allocations: 124 kB / 0.793 GB, free: 15.88 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.0004268/1.599, allocations: 238.5 kB / 0.7932 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008471/1.6, allocations: 453 kB / 0.7936 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.6, allocations: 0 / 0.7936 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/1.6, allocations: 219.4 kB / 0.7938 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/1.602, allocations: 163.5 kB / 0.794 GB, free: 14.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/1.603, allocations: 0.8253 MB / 0.7948 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/1.603, allocations: 0.7724 MB / 0.7956 GB, free: 13.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.603, allocations: 31.44 kB / 0.7956 GB, free: 13.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.604, allocations: 0 / 0.7956 GB, free: 13.1 MB / 426.7 MB Notification: Performance of Templates: time 0.01295/1.616, allocations: 7.029 MB / 0.8025 GB, free: 6.07 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches