Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 85.77 kB / 281.2 MB, free: 5.316 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.589e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 50.42 MB / 387.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.782/1.918, allocations: 0.536 GB / 0.9143 GB, free: 152.9 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/1.918, allocations: 71.72 kB / 0.9144 GB, free: 152.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2897/2.208, allocations: 146.7 MB / 1.058 GB, free: 6.164 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.384e-06/2.208, allocations: 0 / 1.058 GB, free: 6.164 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.663e-05/2.208, allocations: 12 kB / 1.058 GB, free: 6.152 MB / 442.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.002058/2.21, allocations: 0.6708 MB / 1.058 GB, free: 5.438 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/2.21, allocations: 8.031 kB / 1.058 GB, free: 5.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008148/2.211, allocations: 75.5 kB / 1.058 GB, free: 5.355 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/2.211, allocations: 338.2 kB / 1.059 GB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/2.212, allocations: 12 kB / 1.059 GB, free: 4.973 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/2.212, allocations: 20 kB / 1.059 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005099/2.212, allocations: 261.5 kB / 1.059 GB, free: 4.699 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005938/2.213, allocations: 398.7 kB / 1.059 GB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/2.213, allocations: 0 / 1.059 GB, free: 4.262 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/2.213, allocations: 7.953 kB / 1.059 GB, free: 4.254 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/2.213, allocations: 8 kB / 1.059 GB, free: 4.246 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3619/2.575, allocations: 6.247 MB / 1.065 GB, free: 91.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000499/2.575, allocations: 262.5 kB / 1.066 GB, free: 91.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/2.576, allocations: 137.9 kB / 1.066 GB, free: 91.53 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008485/2.584, allocations: 3.492 MB / 1.069 GB, free: 90.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/2.584, allocations: 36 kB / 1.069 GB, free: 89.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.166e-06/2.584, allocations: 2.625 kB / 1.069 GB, free: 89.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.006074/2.59, allocations: 1.614 MB / 1.071 GB, free: 89.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/2.59, allocations: 55.53 kB / 1.071 GB, free: 89.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002944/2.591, allocations: 229.9 kB / 1.071 GB, free: 89.48 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/2.591, allocations: 28.33 kB / 1.071 GB, free: 89.45 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/2.591, allocations: 225.7 kB / 1.071 GB, free: 89.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/2.591, allocations: 157.4 kB / 1.072 GB, free: 89.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.785e-05/2.591, allocations: 0 / 1.072 GB, free: 89.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/2.591, allocations: 343.5 kB / 1.072 GB, free: 88.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/2.591, allocations: 134.8 kB / 1.072 GB, free: 88.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/2.592, allocations: 253.7 kB / 1.072 GB, free: 88.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/2.593, allocations: 325.4 kB / 1.073 GB, free: 88.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/2.593, allocations: 5.359 kB / 1.073 GB, free: 88.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001937/2.595, allocations: 0.6725 MB / 1.073 GB, free: 88.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/2.595, allocations: 7.875 kB / 1.073 GB, free: 88.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/2.595, allocations: 3.875 kB / 1.073 GB, free: 88.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/2.595, allocations: 109 kB / 1.073 GB, free: 88.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/2.596, allocations: 109.8 kB / 1.073 GB, free: 88.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/2.598, allocations: 2.526 MB / 1.076 GB, free: 86.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003425/2.598, allocations: 27.7 kB / 1.076 GB, free: 86.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/2.598, allocations: 27.31 kB / 1.076 GB, free: 86.46 MB / 442.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.000127/2.598, allocations: 117.1 kB / 1.076 GB, free: 86.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.422e-05/2.598, allocations: 35.28 kB / 1.076 GB, free: 86.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/2.6, allocations: 0.8035 MB / 1.077 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/2.6, allocations: 8.078 kB / 1.077 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/2.6, allocations: 1.031 kB / 1.077 GB, free: 86.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001226/2.601, allocations: 0.9218 MB / 1.078 GB, free: 85.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/2.603, allocations: 1.38 MB / 1.079 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/2.603, allocations: 1 kB / 1.079 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/2.604, allocations: 74.81 kB / 1.079 GB, free: 85.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/2.604, allocations: 185.6 kB / 1.079 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/2.604, allocations: 14.03 kB / 1.079 GB, free: 85.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/2.605, allocations: 1.351 MB / 1.081 GB, free: 84.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/2.605, allocations: 0 / 1.081 GB, free: 84.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/2.607, allocations: 1.172 MB / 1.082 GB, free: 84.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/2.608, allocations: 120.3 kB / 1.082 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/2.608, allocations: 2.25 kB / 1.082 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/2.608, allocations: 20.31 kB / 1.082 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.834e-05/2.608, allocations: 33.19 kB / 1.082 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.897e-05/2.608, allocations: 22.16 kB / 1.082 GB, free: 84.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002663/2.608, allocations: 176.2 kB / 1.082 GB, free: 84.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.608, allocations: 0 / 1.082 GB, free: 84.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002227/2.611, allocations: 235.2 kB / 1.082 GB, free: 84.05 MB / 442.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.002473/2.613, allocations: 451.3 kB / 1.083 GB, free: 83.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/2.615, allocations: 0.6375 MB / 1.083 GB, free: 83.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/2.615, allocations: 6.031 kB / 1.084 GB, free: 83.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/2.616, allocations: 392.2 kB / 1.084 GB, free: 83.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/2.619, allocations: 188.2 kB / 1.084 GB, free: 83.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/2.621, allocations: 0.9363 MB / 1.085 GB, free: 83.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/2.622, allocations: 0.8499 MB / 1.086 GB, free: 82.84 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005633/2.622, allocations: 65.61 kB / 1.086 GB, free: 82.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/2.623, allocations: 35.97 kB / 1.086 GB, free: 82.82 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/2.623, allocations: 0 / 1.086 GB, free: 82.82 MB / 442.7 MB Notification: Performance of Templates: time 0.03399/2.657, allocations: 10.97 MB / 1.097 GB, free: 82.21 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches