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.001722/0.001722, allocations: 177.9 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008896/0.0008896, allocations: 82.72 kB / 262.4 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.23e-05/2.223e-05, allocations: 7.984 kB / 315.5 MB, free: 22.72 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1324, allocations: 47.58 MB / 363.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.032/2.165, allocations: 0.638 GB / 0.9926 GB, free: 43.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/2.165, allocations: 74.12 kB / 0.9926 GB, free: 43.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6026/2.768, allocations: 147.3 MB / 1.137 GB, free: 72.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.454e-06/2.768, allocations: 0 / 1.137 GB, free: 72.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.483e-05/2.768, allocations: 16 kB / 1.137 GB, free: 72.42 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.00192/2.77, allocations: 0.6624 MB / 1.137 GB, free: 71.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/2.77, allocations: 12.03 kB / 1.137 GB, free: 71.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008008/2.771, allocations: 71.5 kB / 1.137 GB, free: 71.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006323/2.771, allocations: 333.8 kB / 1.138 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/2.771, allocations: 12 kB / 1.138 GB, free: 71.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/2.771, allocations: 27.95 kB / 1.138 GB, free: 71.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005007/2.772, allocations: 257.4 kB / 1.138 GB, free: 70.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/2.773, allocations: 394.8 kB / 1.138 GB, free: 70.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/2.773, allocations: 8 kB / 1.138 GB, free: 70.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.59e-05/2.773, allocations: 0 / 1.138 GB, free: 70.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/2.773, allocations: 12 kB / 1.138 GB, free: 70.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/2.784, allocations: 6.263 MB / 1.144 GB, free: 63.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/2.785, allocations: 270.3 kB / 1.145 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/2.785, allocations: 128.9 kB / 1.145 GB, free: 63.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0078/2.793, allocations: 3.491 MB / 1.148 GB, free: 59.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.4e-05/2.793, allocations: 42.55 kB / 1.148 GB, free: 59.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 5.34e-06/2.793, allocations: 0 / 1.148 GB, free: 59.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.006847/2.8, allocations: 1.6 MB / 1.15 GB, free: 57.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/2.8, allocations: 55.41 kB / 1.15 GB, free: 57.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000295/2.8, allocations: 230.2 kB / 1.15 GB, free: 57.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/2.8, allocations: 25.7 kB / 1.15 GB, free: 57.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/2.801, allocations: 235.8 kB / 1.15 GB, free: 57.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.55e-05/2.801, allocations: 153.7 kB / 1.15 GB, free: 57.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.998e-05/2.801, allocations: 4 kB / 1.15 GB, free: 57.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/2.801, allocations: 346.8 kB / 1.151 GB, free: 56.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/2.801, allocations: 141 kB / 1.151 GB, free: 56.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/2.801, allocations: 250.7 kB / 1.151 GB, free: 56.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/2.802, allocations: 324.6 kB / 1.151 GB, free: 56.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.802, allocations: 4 kB / 1.151 GB, free: 56.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001859/2.804, allocations: 0.662 MB / 1.152 GB, free: 55.33 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/2.804, allocations: 11.94 kB / 1.152 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/2.804, allocations: 4 kB / 1.152 GB, free: 55.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003725/2.805, allocations: 115.1 kB / 1.152 GB, free: 55.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/2.805, allocations: 111.8 kB / 1.152 GB, free: 55.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/2.807, allocations: 2.517 MB / 1.155 GB, free: 52.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/2.808, allocations: 32.02 kB / 1.155 GB, free: 52.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/2.808, allocations: 20 kB / 1.155 GB, free: 52.35 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 () * 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.0001373/2.808, allocations: 120.8 kB / 1.155 GB, free: 52.22 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/2.808, allocations: 39.53 kB / 1.155 GB, free: 52.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/2.81, allocations: 0.8045 MB / 1.156 GB, free: 51.37 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/2.81, allocations: 15.97 kB / 1.156 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/2.81, allocations: 0 / 1.156 GB, free: 51.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/2.811, allocations: 0.9107 MB / 1.157 GB, free: 50.37 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/2.813, allocations: 1.383 MB / 1.158 GB, free: 48.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/2.813, allocations: 0 / 1.158 GB, free: 48.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/2.813, allocations: 79.89 kB / 1.158 GB, free: 48.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004582/2.814, allocations: 181.3 kB / 1.158 GB, free: 48.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/2.814, allocations: 16.02 kB / 1.158 GB, free: 48.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008888/2.814, allocations: 1.346 MB / 1.16 GB, free: 47.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/2.815, allocations: 0 / 1.16 GB, free: 47.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/2.816, allocations: 1.178 MB / 1.161 GB, free: 46.06 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/2.816, allocations: 116.6 kB / 1.161 GB, free: 45.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/2.816, allocations: 3.953 kB / 1.161 GB, free: 45.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/2.817, allocations: 27.94 kB / 1.161 GB, free: 45.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/2.817, allocations: 31.89 kB / 1.161 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/2.817, allocations: 19.98 kB / 1.161 GB, free: 45.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001642/2.817, allocations: 170 kB / 1.161 GB, free: 45.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/2.817, allocations: 4 kB / 1.161 GB, free: 45.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001202/2.818, allocations: 235.8 kB / 1.161 GB, free: 45.44 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 () * 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.001593/2.82, allocations: 452.7 kB / 1.162 GB, free: 45.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/2.821, allocations: 0.6421 MB / 1.162 GB, free: 44.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/2.821, allocations: 8.188 kB / 1.162 GB, free: 44.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/2.821, allocations: 384 kB / 1.163 GB, free: 43.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/2.822, allocations: 185.1 kB / 1.163 GB, free: 43.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/2.824, allocations: 0.9387 MB / 1.164 GB, free: 42.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/2.824, allocations: 0.8478 MB / 1.165 GB, free: 41.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003322/2.825, allocations: 71.34 kB / 1.165 GB, free: 41.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/2.825, allocations: 35.44 kB / 1.165 GB, free: 41.86 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/2.825, allocations: 0 / 1.165 GB, free: 41.86 MB / 426.7 MB Notification: Performance of Templates: time 0.01776/2.843, allocations: 10.96 MB / 1.175 GB, free: 30.9 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/jenkins/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