Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.00106/0.00106, allocations: 183.3 kB / 18.04 MB, free: 3.785 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.408/1.408, allocations: 205.4 MB / 224.2 MB, free: 9.047 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.0007913/0.0007913, allocations: 91.91 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003204, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2198, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.411, allocations: 0.6388 GB / 1.007 GB, free: 144.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/1.412, allocations: 78.61 kB / 1.007 GB, free: 144.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.429/1.841, allocations: 148.6 MB / 1.152 GB, free: 89.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.841, allocations: 1.859 kB / 1.152 GB, free: 89.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.199e-05/1.841, allocations: 18.62 kB / 1.152 GB, free: 89.67 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00142/1.842, allocations: 0.6886 MB / 1.153 GB, free: 89.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.842, allocations: 15.44 kB / 1.153 GB, free: 89.29 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006608/1.843, allocations: 73.45 kB / 1.153 GB, free: 89.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/1.843, allocations: 344.8 kB / 1.153 GB, free: 89.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/1.843, allocations: 28.12 kB / 1.153 GB, free: 89.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.523e-05/1.843, allocations: 42.72 kB / 1.153 GB, free: 89.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006974/1.844, allocations: 472.8 kB / 1.154 GB, free: 88.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.844, allocations: 1.688 kB / 1.154 GB, free: 88.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/1.844, allocations: 18.53 kB / 1.154 GB, free: 88.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.844, allocations: 10.66 kB / 1.154 GB, free: 88.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004672/1.845, allocations: 303.7 kB / 1.154 GB, free: 88.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009684/1.854, allocations: 6.302 MB / 1.16 GB, free: 85.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/1.855, allocations: 280.7 kB / 1.161 GB, free: 85.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002085/1.855, allocations: 156.5 kB / 1.161 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006827/1.862, allocations: 3.448 MB / 1.164 GB, free: 83.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.862, allocations: 45.11 kB / 1.164 GB, free: 83.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.725e-06/1.862, allocations: 2.438 kB / 1.164 GB, free: 83.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.009574/1.872, allocations: 2.383 MB / 1.166 GB, free: 83.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/1.872, allocations: 62.69 kB / 1.167 GB, free: 83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/1.872, allocations: 294.7 kB / 1.167 GB, free: 82.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/1.872, allocations: 37.08 kB / 1.167 GB, free: 82.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.846e-05/1.872, allocations: 232.7 kB / 1.167 GB, free: 82.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/1.872, allocations: 159.5 kB / 1.167 GB, free: 82.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/1.872, allocations: 10.25 kB / 1.167 GB, free: 82.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/1.872, allocations: 349.1 kB / 1.168 GB, free: 82.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/1.873, allocations: 147.3 kB / 1.168 GB, free: 82.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/1.873, allocations: 275.5 kB / 1.168 GB, free: 82.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/1.873, allocations: 474.1 kB / 1.168 GB, free: 82.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.873, allocations: 2.812 kB / 1.168 GB, free: 82.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00101/1.874, allocations: 0.586 MB / 1.169 GB, free: 81.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/1.874, allocations: 10.38 kB / 1.169 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.874, allocations: 3.469 kB / 1.169 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007765/1.882, allocations: 0.8628 MB / 1.17 GB, free: 81.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/1.883, allocations: 107.7 kB / 1.17 GB, free: 81.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/1.884, allocations: 2.465 MB / 1.172 GB, free: 79.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/1.885, allocations: 38.81 kB / 1.172 GB, free: 79.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/1.885, allocations: 26.44 kB / 1.172 GB, free: 79.6 MB / 426.7 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 () * Number of clocked 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.0002368/1.885, allocations: 164.5 kB / 1.173 GB, free: 79.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/1.885, allocations: 45.22 kB / 1.173 GB, free: 79.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/1.886, allocations: 0.8549 MB / 1.173 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/1.886, allocations: 11.38 kB / 1.173 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/1.886, allocations: 0 / 1.173 GB, free: 79.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000795/1.887, allocations: 0.9636 MB / 1.174 GB, free: 78.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/1.889, allocations: 1.483 MB / 1.176 GB, free: 78.62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.889, allocations: 1.188 kB / 1.176 GB, free: 78.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/1.889, allocations: 81.23 kB / 1.176 GB, free: 78.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/1.892, allocations: 0.5889 MB / 1.176 GB, free: 78.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/1.892, allocations: 15.58 kB / 1.176 GB, free: 78.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007041/1.893, allocations: 1.285 MB / 1.178 GB, free: 77.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/1.893, allocations: 1.375 kB / 1.178 GB, free: 77.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/1.894, allocations: 1.227 MB / 1.179 GB, free: 77.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/1.894, allocations: 112.9 kB / 1.179 GB, free: 77.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/1.894, allocations: 13.41 kB / 1.179 GB, free: 77.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/1.895, allocations: 28.47 kB / 1.179 GB, free: 77.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/1.895, allocations: 33.36 kB / 1.179 GB, free: 77.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/1.895, allocations: 17.91 kB / 1.179 GB, free: 77.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002219/1.895, allocations: 210.3 kB / 1.179 GB, free: 77.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.895, allocations: 0 / 1.179 GB, free: 77.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009875/1.896, allocations: 248.5 kB / 1.18 GB, free: 77.09 MB / 426.7 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 () * Number of clocked 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001309/1.897, allocations: 442.1 kB / 1.18 GB, free: 76.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001161/1.898, allocations: 0.6889 MB / 1.181 GB, free: 76.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.898, allocations: 1.062 kB / 1.181 GB, free: 76.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.9, allocations: 445.2 kB / 1.181 GB, free: 76.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/1.901, allocations: 226.4 kB / 1.181 GB, free: 76.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001884/1.903, allocations: 1.481 MB / 1.183 GB, free: 76.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/1.903, allocations: 0.8348 MB / 1.184 GB, free: 75.38 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003655/1.903, allocations: 67.59 kB / 1.184 GB, free: 75.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/1.903, allocations: 38.5 kB / 1.184 GB, free: 75.36 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/1.903, allocations: 4.625 kB / 1.184 GB, free: 75.36 MB / 426.7 MB Notification: Performance of Templates: time 0.01815/1.922, allocations: 13.03 MB / 1.196 GB, free: 74.62 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches