Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001179, allocations: 179.1 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.3 MB / 214.4 MB, free: 1.664 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.001071/0.001072, allocations: 82.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.606e-05/1.61e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.008/2.13, allocations: 0.6381 GB / 0.9926 GB, free: 29.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004157/2.13, allocations: 75.44 kB / 0.9927 GB, free: 29.26 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.597/3.728, allocations: 459.4 MB / 1.441 GB, free: 97.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.645e-06/3.728, allocations: 0 / 1.441 GB, free: 97.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.976e-05/3.728, allocations: 8 kB / 1.441 GB, free: 97.71 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.002028/3.73, allocations: 0.7138 MB / 1.442 GB, free: 97.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.102e-05/3.73, allocations: 8.031 kB / 1.442 GB, free: 97.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006188/3.73, allocations: 51.56 kB / 1.442 GB, free: 96.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005579/3.731, allocations: 282.8 kB / 1.442 GB, free: 96.69 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/3.731, allocations: 8 kB / 1.442 GB, free: 96.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/3.731, allocations: 23.95 kB / 1.442 GB, free: 96.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003487/3.731, allocations: 180.3 kB / 1.443 GB, free: 96.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/3.732, allocations: 281.4 kB / 1.443 GB, free: 96.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/3.732, allocations: 4 kB / 1.443 GB, free: 96.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/3.732, allocations: 4 kB / 1.443 GB, free: 96.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/3.732, allocations: 9.859 kB / 1.443 GB, free: 96.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009789/3.742, allocations: 5.455 MB / 1.448 GB, free: 91.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/3.742, allocations: 164.7 kB / 1.448 GB, free: 90.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/3.742, allocations: 84.89 kB / 1.448 GB, free: 90.87 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007422/3.75, allocations: 3.497 MB / 1.452 GB, free: 87.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/3.75, allocations: 38.12 kB / 1.452 GB, free: 87.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.745e-06/3.75, allocations: 0 / 1.452 GB, free: 87.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003497/3.753, allocations: 0.9801 MB / 1.453 GB, free: 86.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/3.753, allocations: 59.41 kB / 1.453 GB, free: 86.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/3.753, allocations: 188.8 kB / 1.453 GB, free: 86.53 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/3.754, allocations: 30.05 kB / 1.453 GB, free: 86.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/3.754, allocations: 187.1 kB / 1.453 GB, free: 86.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/3.754, allocations: 93.75 kB / 1.453 GB, free: 86.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.205e-05/3.754, allocations: 0 / 1.453 GB, free: 86.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.734e-05/3.754, allocations: 338 kB / 1.454 GB, free: 85.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/3.754, allocations: 80 kB / 1.454 GB, free: 85.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/3.754, allocations: 175.1 kB / 1.454 GB, free: 85.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/3.755, allocations: 195.6 kB / 1.454 GB, free: 85.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/3.755, allocations: 0 / 1.454 GB, free: 85.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001118/3.756, allocations: 436 kB / 1.455 GB, free: 85.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/3.756, allocations: 8 kB / 1.455 GB, free: 85.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/3.756, allocations: 4 kB / 1.455 GB, free: 85.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/3.756, allocations: 61.06 kB / 1.455 GB, free: 85.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002543/3.757, allocations: 75.89 kB / 1.455 GB, free: 84.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/3.758, allocations: 1.89 MB / 1.457 GB, free: 82.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/3.758, allocations: 23.69 kB / 1.457 GB, free: 82.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/3.758, allocations: 12 kB / 1.457 GB, free: 82.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001069/3.759, allocations: 114.2 kB / 1.457 GB, free: 82.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/3.759, allocations: 23.72 kB / 1.457 GB, free: 82.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008728/3.759, allocations: 474.7 kB / 1.457 GB, free: 82.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/3.759, allocations: 4 kB / 1.457 GB, free: 82.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/3.759, allocations: 4 kB / 1.457 GB, free: 82.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007045/3.76, allocations: 0.7025 MB / 1.458 GB, free: 81.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/3.761, allocations: 0.8694 MB / 1.459 GB, free: 80.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/3.761, allocations: 0 / 1.459 GB, free: 80.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/3.762, allocations: 46.75 kB / 1.459 GB, free: 80.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/3.762, allocations: 92.05 kB / 1.459 GB, free: 80.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/3.762, allocations: 4 kB / 1.459 GB, free: 80.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004617/3.762, allocations: 0.6757 MB / 1.459 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/3.762, allocations: 4.062 kB / 1.459 GB, free: 80.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008862/3.763, allocations: 0.7082 MB / 1.46 GB, free: 79.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/3.763, allocations: 104.7 kB / 1.46 GB, free: 79.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.514e-05/3.763, allocations: 0 / 1.46 GB, free: 79.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/3.764, allocations: 19.72 kB / 1.46 GB, free: 79.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/3.764, allocations: 19.41 kB / 1.46 GB, free: 79.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-05/3.764, allocations: 11 kB / 1.46 GB, free: 79.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000131/3.764, allocations: 153.1 kB / 1.46 GB, free: 79.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/3.764, allocations: 0 / 1.46 GB, free: 79.09 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001087/3.765, allocations: 195.3 kB / 1.461 GB, free: 78.9 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/3.766, allocations: 0.4893 MB / 1.461 GB, free: 78.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006921/3.767, allocations: 420.6 kB / 1.462 GB, free: 78.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/3.767, allocations: 4.188 kB / 1.462 GB, free: 78.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/3.767, allocations: 206.7 kB / 1.462 GB, free: 77.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007727/3.768, allocations: 120.3 kB / 1.462 GB, free: 77.83 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009123/3.769, allocations: 0.5531 MB / 1.462 GB, free: 77.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/3.769, allocations: 0.7857 MB / 1.463 GB, free: 76.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/3.769, allocations: 47.31 kB / 1.463 GB, free: 76.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/3.769, allocations: 23.44 kB / 1.463 GB, free: 76.48 MB / 426.7 MB Notification: Performance of SimCode: time 4.21e-07/3.769, allocations: 0 / 1.463 GB, free: 76.48 MB / 426.7 MB Notification: Performance of Templates: time 0.01422/3.784, allocations: 8.909 MB / 1.472 GB, free: 69.09 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches