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.001733/0.001733, allocations: 183.9 kB / 18.04 MB, free: 3.777 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.407/1.407, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007901/0.0007901, allocations: 82.42 kB / 272.5 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005105/0.0005106, allocations: 12 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.251, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.413, allocations: 0.6389 GB / 1.007 GB, free: 144.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.414, allocations: 81.67 kB / 1.007 GB, free: 144.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.027/2.441, allocations: 455.5 MB / 1.452 GB, free: 34.01 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/2.441, allocations: 0 / 1.452 GB, free: 34.01 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.55e-05/2.441, allocations: 8 kB / 1.452 GB, free: 34 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.001397/2.442, allocations: 0.7451 MB / 1.453 GB, free: 33.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/2.442, allocations: 8.031 kB / 1.453 GB, free: 33.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005011/2.443, allocations: 52.55 kB / 1.453 GB, free: 33.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/2.443, allocations: 285.2 kB / 1.453 GB, free: 32.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/2.443, allocations: 24.94 kB / 1.453 GB, free: 32.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/2.443, allocations: 24.38 kB / 1.453 GB, free: 32.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/2.444, allocations: 339 kB / 1.453 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/2.444, allocations: 4.094 kB / 1.453 GB, free: 32.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/2.444, allocations: 15.94 kB / 1.453 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/2.444, allocations: 8 kB / 1.453 GB, free: 32.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/2.444, allocations: 210 kB / 1.454 GB, free: 32.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009258/2.453, allocations: 5.477 MB / 1.459 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/2.454, allocations: 178.4 kB / 1.459 GB, free: 26.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/2.454, allocations: 92.86 kB / 1.459 GB, free: 25.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006841/2.461, allocations: 3.437 MB / 1.463 GB, free: 22.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/2.461, allocations: 38.55 kB / 1.463 GB, free: 22.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.216e-06/2.461, allocations: 0 / 1.463 GB, free: 22.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005234/2.466, allocations: 1.383 MB / 1.464 GB, free: 20.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/2.466, allocations: 55.41 kB / 1.464 GB, free: 20.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002453/2.466, allocations: 258.6 kB / 1.464 GB, free: 20.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/2.466, allocations: 29.7 kB / 1.464 GB, free: 20.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/2.466, allocations: 188.1 kB / 1.465 GB, free: 20.15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/2.466, allocations: 94.64 kB / 1.465 GB, free: 20.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.22e-05/2.466, allocations: 4 kB / 1.465 GB, free: 20.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/2.467, allocations: 342.8 kB / 1.465 GB, free: 19.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/2.467, allocations: 87.97 kB / 1.465 GB, free: 19.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/2.467, allocations: 194.6 kB / 1.465 GB, free: 19.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/2.467, allocations: 299.7 kB / 1.465 GB, free: 19.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/2.467, allocations: 3.938 kB / 1.465 GB, free: 19.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005771/2.468, allocations: 390.7 kB / 1.466 GB, free: 18.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/2.468, allocations: 4 kB / 1.466 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/2.468, allocations: 4.375 kB / 1.466 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003851/2.472, allocations: 457.2 kB / 1.466 GB, free: 18.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/2.472, allocations: 71.91 kB / 1.466 GB, free: 18.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/2.473, allocations: 1.875 MB / 1.468 GB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002566/2.473, allocations: 28.08 kB / 1.468 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/2.473, allocations: 12 kB / 1.468 GB, free: 16.06 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 () * 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.0001567/2.473, allocations: 157.7 kB / 1.468 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/2.474, allocations: 31.62 kB / 1.468 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/2.474, allocations: 490.6 kB / 1.469 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/2.474, allocations: 11.92 kB / 1.469 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/2.474, allocations: 0 / 1.469 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000443/2.475, allocations: 0.7171 MB / 1.47 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/2.476, allocations: 0.9493 MB / 1.471 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/2.476, allocations: 8.016 kB / 1.471 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/2.476, allocations: 43.92 kB / 1.471 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001421/2.477, allocations: 308.4 kB / 1.471 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/2.477, allocations: 8 kB / 1.471 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003231/2.478, allocations: 0.6344 MB / 1.471 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/2.478, allocations: 3.938 kB / 1.471 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007224/2.478, allocations: 0.7125 MB / 1.472 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/2.478, allocations: 112.7 kB / 1.472 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/2.479, allocations: 11.94 kB / 1.472 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/2.479, allocations: 15.98 kB / 1.472 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.25e-05/2.479, allocations: 19.98 kB / 1.472 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/2.479, allocations: 7.984 kB / 1.472 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001596/2.479, allocations: 186 kB / 1.473 GB, free: 11.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.479, allocations: 0 / 1.473 GB, free: 11.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009152/2.48, allocations: 203.8 kB / 1.473 GB, free: 11.22 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 () * 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.001351/2.481, allocations: 489.3 kB / 1.473 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007652/2.482, allocations: 455.7 kB / 1.474 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.482, allocations: 4.062 kB / 1.474 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000499/2.483, allocations: 235.8 kB / 1.474 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009061/2.483, allocations: 164 kB / 1.474 GB, free: 9.895 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/2.485, allocations: 0.958 MB / 1.475 GB, free: 8.918 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/2.485, allocations: 0.7763 MB / 1.476 GB, free: 8.113 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002419/2.485, allocations: 46.95 kB / 1.476 GB, free: 8.066 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/2.485, allocations: 31.44 kB / 1.476 GB, free: 8.035 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/2.485, allocations: 0 / 1.476 GB, free: 8.035 MB / 426.7 MB Notification: Performance of Templates: time 0.1872/2.672, allocations: 11.01 MB / 1.487 GB, free: 102.6 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/jenkins1/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