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.00172/0.001719, allocations: 187.2 kB / 16.41 MB, free: 5.723 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.904/1.904, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001124/0.001124, allocations: 86.88 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3373, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.917/2.255, allocations: 0.6385 GB / 1.004 GB, free: 99.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002804/2.255, allocations: 73.34 kB / 1.004 GB, free: 99.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7247/2.98, allocations: 148.8 MB / 1.15 GB, free: 101.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.246e-06/2.98, allocations: 0 / 1.15 GB, free: 101.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.692e-05/2.98, allocations: 11.38 kB / 1.15 GB, free: 101.7 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.001531/2.981, allocations: 0.69 MB / 1.15 GB, free: 101.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/2.981, allocations: 7.344 kB / 1.15 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/2.982, allocations: 84.41 kB / 1.15 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/2.983, allocations: 339.7 kB / 1.151 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.255e-05/2.983, allocations: 28.25 kB / 1.151 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/2.983, allocations: 45.17 kB / 1.151 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000911/2.984, allocations: 461.5 kB / 1.151 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/2.984, allocations: 5.547 kB / 1.151 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.525e-05/2.984, allocations: 19.66 kB / 1.151 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/2.984, allocations: 7.531 kB / 1.151 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/2.984, allocations: 309.2 kB / 1.152 GB, free: 100.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/3.001, allocations: 6.293 MB / 1.158 GB, free: 97.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000635/3.002, allocations: 284.8 kB / 1.158 GB, free: 97.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/3.016, allocations: 3.448 MB / 1.161 GB, free: 95.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/3.016, allocations: 41.42 kB / 1.161 GB, free: 95.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.867e-06/3.016, allocations: 0 / 1.161 GB, free: 95.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.0163/3.032, allocations: 2.39 MB / 1.164 GB, free: 94.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/3.032, allocations: 55.28 kB / 1.164 GB, free: 94.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003946/3.033, allocations: 264.7 kB / 1.164 GB, free: 94.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/3.033, allocations: 38.61 kB / 1.164 GB, free: 94.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/3.033, allocations: 277.2 kB / 1.164 GB, free: 94.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/3.033, allocations: 161 kB / 1.164 GB, free: 94.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/3.033, allocations: 16.16 kB / 1.164 GB, free: 94.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.531e-05/3.033, allocations: 335.6 kB / 1.165 GB, free: 94.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/3.033, allocations: 149 kB / 1.165 GB, free: 94.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/3.034, allocations: 276.9 kB / 1.165 GB, free: 94.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004468/3.034, allocations: 193.3 kB / 1.165 GB, free: 94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/3.034, allocations: 0 / 1.165 GB, free: 94 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001532/3.036, allocations: 0.5797 MB / 1.166 GB, free: 93.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.019e-05/3.036, allocations: 3.969 kB / 1.166 GB, free: 93.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/3.036, allocations: 3.75 kB / 1.166 GB, free: 93.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/3.051, allocations: 0.8605 MB / 1.167 GB, free: 93.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/3.052, allocations: 113.9 kB / 1.167 GB, free: 93.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/3.054, allocations: 2.461 MB / 1.169 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006533/3.055, allocations: 44.89 kB / 1.169 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-05/3.055, allocations: 23.42 kB / 1.169 GB, free: 91.57 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.0003103/3.055, allocations: 179.7 kB / 1.17 GB, free: 91.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/3.055, allocations: 38.84 kB / 1.17 GB, free: 91.42 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001673/3.057, allocations: 0.8547 MB / 1.17 GB, free: 91.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/3.057, allocations: 15.3 kB / 1.17 GB, free: 91.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/3.057, allocations: 3.312 kB / 1.17 GB, free: 91.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001245/3.058, allocations: 0.9545 MB / 1.171 GB, free: 90.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/3.061, allocations: 1.491 MB / 1.173 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/3.061, allocations: 0 / 1.173 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/3.062, allocations: 77.66 kB / 1.173 GB, free: 90.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005293/3.067, allocations: 0.5959 MB / 1.174 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/3.067, allocations: 14.7 kB / 1.174 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/3.068, allocations: 1.282 MB / 1.175 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/3.068, allocations: 0 / 1.175 GB, free: 89.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/3.071, allocations: 1.231 MB / 1.176 GB, free: 89.27 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002267/3.071, allocations: 124.9 kB / 1.176 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.737e-05/3.071, allocations: 9 kB / 1.176 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/3.072, allocations: 17.11 kB / 1.176 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/3.072, allocations: 34.09 kB / 1.176 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/3.072, allocations: 19.16 kB / 1.176 GB, free: 89.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003095/3.072, allocations: 212.3 kB / 1.176 GB, free: 89.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/3.072, allocations: 0 / 1.176 GB, free: 89.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001331/3.073, allocations: 250.8 kB / 1.177 GB, free: 89.02 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.001926/3.075, allocations: 445 kB / 1.177 GB, free: 88.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001968/3.077, allocations: 0.6943 MB / 1.178 GB, free: 88.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/3.077, allocations: 0 / 1.178 GB, free: 88.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001669/3.079, allocations: 442.6 kB / 1.178 GB, free: 88.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/3.081, allocations: 228.5 kB / 1.178 GB, free: 88.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/3.084, allocations: 1.499 MB / 1.18 GB, free: 87.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/3.084, allocations: 0.8474 MB / 1.181 GB, free: 87.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/3.084, allocations: 44.98 kB / 1.181 GB, free: 87.19 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/3.084, allocations: 0 / 1.181 GB, free: 87.19 MB / 426.7 MB Notification: Performance of Templates: time 0.02089/3.105, allocations: 13.16 MB / 1.194 GB, free: 86.39 MB / 426.7 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