Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002344, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.257/2.257, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001143, allocations: 92.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.376e-05, allocations: 4 kB / 314.8 MB, free: 9.172 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.372, allocations: 47.56 MB / 362.3 MB, free: 45.82 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.093/2.465, allocations: 0.6378 GB / 0.9916 GB, free: 111.9 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/2.465, allocations: 71.61 kB / 0.9917 GB, free: 111.9 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4672/2.932, allocations: 147.4 MB / 1.136 GB, free: 16.09 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.773e-06/2.932, allocations: 0 / 1.136 GB, free: 16.09 MB / 427.1 MB Notification: Performance of Transformations before backend: time 3.047e-05/2.932, allocations: 15.91 kB / 1.136 GB, free: 16.07 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001371/2.934, allocations: 0.6568 MB / 1.136 GB, free: 15.38 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/2.934, allocations: 12.03 kB / 1.136 GB, free: 15.36 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007662/2.935, allocations: 75.44 kB / 1.136 GB, free: 15.29 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005539/2.935, allocations: 333 kB / 1.137 GB, free: 14.93 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/2.935, allocations: 12 kB / 1.137 GB, free: 14.92 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/2.935, allocations: 27.95 kB / 1.137 GB, free: 14.89 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006046/2.936, allocations: 261.4 kB / 1.137 GB, free: 14.64 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/2.937, allocations: 394.8 kB / 1.137 GB, free: 14.21 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/2.937, allocations: 4 kB / 1.137 GB, free: 14.2 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/2.937, allocations: 0 / 1.137 GB, free: 14.2 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/2.937, allocations: 12 kB / 1.137 GB, free: 14.19 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01676/2.954, allocations: 6.264 MB / 1.143 GB, free: 7.383 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005528/2.954, allocations: 246.9 kB / 1.144 GB, free: 7.133 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/2.955, allocations: 144.8 kB / 1.144 GB, free: 6.988 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/2.968, allocations: 3.499 MB / 1.147 GB, free: 3.207 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/2.968, allocations: 34.56 kB / 1.147 GB, free: 3.164 MB / 427.1 MB Notification: Performance of pre-optimization done (n=35): time 2.395e-06/2.968, allocations: 0 / 1.147 GB, free: 3.164 MB / 427.1 MB Notification: Performance of matching and sorting (n=45): time 0.008311/2.977, allocations: 1.612 MB / 1.149 GB, free: 1.488 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/2.977, allocations: 55.41 kB / 1.149 GB, free: 1.422 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/2.977, allocations: 230.2 kB / 1.149 GB, free: 1.191 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/2.977, allocations: 25.7 kB / 1.149 GB, free: 1.16 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/2.977, allocations: 278.3 kB / 1.149 GB, free: 0.8828 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/2.977, allocations: 157.7 kB / 1.15 GB, free: 0.7266 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.023e-05/2.977, allocations: 0 / 1.15 GB, free: 0.7266 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 7.695e-05/2.978, allocations: 347.2 kB / 1.15 GB, free: 388 kB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/2.978, allocations: 133.1 kB / 1.15 GB, free: 256 kB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2852/3.263, allocations: 253.2 kB / 1.15 GB, free: 91.86 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/3.265, allocations: 330.3 kB / 1.151 GB, free: 91.86 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/3.265, allocations: 0 / 1.151 GB, free: 91.86 MB / 427.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002982/3.268, allocations: 0.6548 MB / 1.151 GB, free: 91.8 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/3.268, allocations: 7.719 kB / 1.151 GB, free: 91.8 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/3.268, allocations: 6.312 kB / 1.151 GB, free: 91.8 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/3.269, allocations: 105.1 kB / 1.151 GB, free: 91.78 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/3.27, allocations: 113.8 kB / 1.151 GB, free: 91.78 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/3.273, allocations: 2.52 MB / 1.154 GB, free: 89.57 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/3.274, allocations: 27.94 kB / 1.154 GB, free: 89.57 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/3.274, allocations: 21.31 kB / 1.154 GB, free: 89.57 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001859/3.274, allocations: 115.6 kB / 1.154 GB, free: 89.46 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/3.274, allocations: 33.38 kB / 1.154 GB, free: 89.46 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002233/3.276, allocations: 0.8032 MB / 1.155 GB, free: 89.39 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/3.276, allocations: 15.56 kB / 1.155 GB, free: 89.39 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/3.276, allocations: 0 / 1.155 GB, free: 89.39 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001703/3.278, allocations: 0.9155 MB / 1.156 GB, free: 89 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/3.281, allocations: 1.39 MB / 1.157 GB, free: 88.7 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/3.281, allocations: 0 / 1.157 GB, free: 88.7 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005664/3.282, allocations: 77.28 kB / 1.157 GB, free: 88.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007862/3.283, allocations: 185.1 kB / 1.157 GB, free: 88.68 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.992e-05/3.283, allocations: 6.906 kB / 1.157 GB, free: 88.68 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/3.284, allocations: 1.35 MB / 1.159 GB, free: 87.64 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/3.284, allocations: 0 / 1.159 GB, free: 87.64 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002538/3.287, allocations: 1.175 MB / 1.16 GB, free: 87.43 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/3.287, allocations: 123.6 kB / 1.16 GB, free: 87.32 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/3.287, allocations: 3.844 kB / 1.16 GB, free: 87.32 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/3.288, allocations: 21.17 kB / 1.16 GB, free: 87.32 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/3.288, allocations: 26.91 kB / 1.16 GB, free: 87.32 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/3.288, allocations: 21.88 kB / 1.16 GB, free: 87.32 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002264/3.288, allocations: 177.9 kB / 1.16 GB, free: 87.24 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.7e-07/3.288, allocations: 0 / 1.16 GB, free: 87.24 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001325/3.289, allocations: 226 kB / 1.16 GB, free: 87.24 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 2 {2 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001727/3.291, allocations: 459.3 kB / 1.161 GB, free: 87.15 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001624/3.293, allocations: 0.6385 MB / 1.161 GB, free: 87.04 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/3.293, allocations: 3.938 kB / 1.161 GB, free: 87.04 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000865/3.294, allocations: 397.1 kB / 1.162 GB, free: 87.03 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/3.296, allocations: 180.8 kB / 1.162 GB, free: 87.03 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/3.298, allocations: 0.9728 MB / 1.163 GB, free: 86.77 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/3.298, allocations: 0.851 MB / 1.164 GB, free: 86.07 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/3.298, allocations: 39.94 kB / 1.164 GB, free: 86.07 MB / 427.1 MB Notification: Performance of SimCode: time 1.172e-06/3.298, allocations: 0 / 1.164 GB, free: 86.07 MB / 427.1 MB Notification: Performance of Templates: time 0.02743/3.326, allocations: 12.86 MB / 1.176 GB, free: 85.52 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches