Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 196.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007821/0.0007821, allocations: 91.22 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002084/0.0002084, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1998, allocations: 51.3 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9532/1.153, allocations: 0.5376 GB / 0.9374 GB, free: 95.19 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.153, allocations: 81.45 kB / 0.9375 GB, free: 95.11 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013/2.166, allocations: 455.9 MB / 1.383 GB, free: 9.637 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/2.166, allocations: 0 / 1.383 GB, free: 9.637 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.052e-05/2.166, allocations: 8 kB / 1.383 GB, free: 9.629 MB / 458.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.001059/2.167, allocations: 0.7418 MB / 1.383 GB, free: 8.832 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/2.167, allocations: 8.031 kB / 1.383 GB, free: 8.824 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000419/2.168, allocations: 56.55 kB / 1.383 GB, free: 8.77 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/2.168, allocations: 292 kB / 1.384 GB, free: 8.445 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/2.168, allocations: 16.94 kB / 1.384 GB, free: 8.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/2.168, allocations: 28.38 kB / 1.384 GB, free: 8.402 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004096/2.168, allocations: 335.1 kB / 1.384 GB, free: 8.043 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/2.169, allocations: 4.094 kB / 1.384 GB, free: 8.039 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/2.169, allocations: 15.94 kB / 1.384 GB, free: 8.023 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/2.169, allocations: 8 kB / 1.384 GB, free: 8.016 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/2.169, allocations: 214 kB / 1.384 GB, free: 7.809 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008508/2.177, allocations: 5.475 MB / 1.39 GB, free: 1.832 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/2.178, allocations: 166.7 kB / 1.39 GB, free: 1.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/2.178, allocations: 96.14 kB / 1.39 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1904/2.368, allocations: 3.448 MB / 1.393 GB, free: 117.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/2.368, allocations: 37.22 kB / 1.393 GB, free: 117.6 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/2.368, allocations: 0 / 1.393 GB, free: 117.6 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.005116/2.373, allocations: 1.378 MB / 1.395 GB, free: 117.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/2.373, allocations: 53.81 kB / 1.395 GB, free: 117.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/2.374, allocations: 259.2 kB / 1.395 GB, free: 117 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/2.374, allocations: 32.64 kB / 1.395 GB, free: 117 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/2.374, allocations: 192.8 kB / 1.395 GB, free: 116.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/2.374, allocations: 89.98 kB / 1.395 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/2.374, allocations: 12.3 kB / 1.395 GB, free: 116.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.151e-05/2.374, allocations: 335.7 kB / 1.396 GB, free: 116.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/2.374, allocations: 85.97 kB / 1.396 GB, free: 116.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/2.374, allocations: 186.2 kB / 1.396 GB, free: 116.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/2.375, allocations: 294.8 kB / 1.396 GB, free: 116.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.375, allocations: 3.969 kB / 1.396 GB, free: 116.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006669/2.375, allocations: 393.6 kB / 1.397 GB, free: 116.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/2.375, allocations: 5.5 kB / 1.397 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.375, allocations: 4.125 kB / 1.397 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003985/2.379, allocations: 456.9 kB / 1.397 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/2.38, allocations: 71.52 kB / 1.397 GB, free: 116.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/2.381, allocations: 1.87 MB / 1.399 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/2.381, allocations: 21.64 kB / 1.399 GB, free: 114.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/2.381, allocations: 19.88 kB / 1.399 GB, free: 114.5 MB / 458.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 () * Number of clocked 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.0001444/2.381, allocations: 152.1 kB / 1.399 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/2.381, allocations: 25.78 kB / 1.399 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006593/2.382, allocations: 495.3 kB / 1.4 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/2.382, allocations: 7.203 kB / 1.4 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/2.382, allocations: 0 / 1.4 GB, free: 114.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004683/2.382, allocations: 0.7352 MB / 1.4 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/2.383, allocations: 0.9315 MB / 1.401 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/2.383, allocations: 4.625 kB / 1.401 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/2.384, allocations: 45.98 kB / 1.401 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/2.385, allocations: 308.9 kB / 1.402 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/2.385, allocations: 11.58 kB / 1.402 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003191/2.385, allocations: 0.6424 MB / 1.402 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/2.385, allocations: 0 / 1.402 GB, free: 112.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/2.386, allocations: 0.7261 MB / 1.403 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.128e-05/2.386, allocations: 105.8 kB / 1.403 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/2.386, allocations: 4.812 kB / 1.403 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/2.387, allocations: 14.94 kB / 1.403 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/2.387, allocations: 20.42 kB / 1.403 GB, free: 112.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/2.387, allocations: 14.56 kB / 1.403 GB, free: 112.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001566/2.387, allocations: 185.2 kB / 1.403 GB, free: 112.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/2.387, allocations: 1.125 kB / 1.403 GB, free: 112.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007815/2.388, allocations: 210.3 kB / 1.403 GB, free: 112.6 MB / 458.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 () * Number of clocked 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/2.389, allocations: 465.2 kB / 1.404 GB, free: 112.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006575/2.389, allocations: 462.4 kB / 1.404 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/2.389, allocations: 3.156 kB / 1.404 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/2.39, allocations: 227.7 kB / 1.405 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009381/2.391, allocations: 165.4 kB / 1.405 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/2.392, allocations: 0.9646 MB / 1.406 GB, free: 111.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/2.392, allocations: 0.7753 MB / 1.406 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002578/2.393, allocations: 54.86 kB / 1.406 GB, free: 111.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.683e-05/2.393, allocations: 29.94 kB / 1.406 GB, free: 111.2 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/2.393, allocations: 0 / 1.406 GB, free: 111.2 MB / 458.7 MB Notification: Performance of Templates: time 0.01419/2.407, allocations: 11.03 MB / 1.417 GB, free: 110.9 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches