Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0009245/0.0009245, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.489/1.489, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007814/0.0007815, allocations: 89.41 kB / 271.9 MB, free: 8.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003903, allocations: 15.98 kB / 328.1 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2565, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.383/1.639, allocations: 0.6389 GB / 1.006 GB, free: 144.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/1.64, allocations: 77.62 kB / 1.006 GB, free: 144.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073/2.712, allocations: 455.5 MB / 1.451 GB, free: 34.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.086e-06/2.712, allocations: 0 / 1.451 GB, free: 34.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/2.712, allocations: 8 kB / 1.451 GB, free: 34.27 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.001578/2.714, allocations: 0.7426 MB / 1.451 GB, free: 33.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/2.714, allocations: 11.97 kB / 1.451 GB, free: 33.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004945/2.715, allocations: 56.55 kB / 1.451 GB, free: 33.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/2.715, allocations: 296.2 kB / 1.452 GB, free: 33.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/2.715, allocations: 16.94 kB / 1.452 GB, free: 33.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/2.715, allocations: 28.38 kB / 1.452 GB, free: 33.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/2.715, allocations: 335.1 kB / 1.452 GB, free: 32.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/2.716, allocations: 4.094 kB / 1.452 GB, free: 32.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/2.716, allocations: 18.19 kB / 1.452 GB, free: 32.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/2.716, allocations: 8 kB / 1.452 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002711/2.716, allocations: 210 kB / 1.452 GB, free: 32.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008916/2.725, allocations: 5.478 MB / 1.458 GB, free: 26.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/2.725, allocations: 166.7 kB / 1.458 GB, free: 26.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001237/2.725, allocations: 92.83 kB / 1.458 GB, free: 26.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006847/2.732, allocations: 3.437 MB / 1.461 GB, free: 22.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/2.732, allocations: 38.56 kB / 1.461 GB, free: 22.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/2.732, allocations: 3.938 kB / 1.461 GB, free: 22.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005059/2.737, allocations: 1.385 MB / 1.463 GB, free: 20.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/2.737, allocations: 55.41 kB / 1.463 GB, free: 20.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/2.737, allocations: 258.6 kB / 1.463 GB, free: 20.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/2.737, allocations: 37.64 kB / 1.463 GB, free: 20.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.579e-05/2.738, allocations: 180.1 kB / 1.463 GB, free: 20.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/2.738, allocations: 94.64 kB / 1.463 GB, free: 20.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.411e-05/2.738, allocations: 12 kB / 1.463 GB, free: 20.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.972e-05/2.738, allocations: 330.8 kB / 1.464 GB, free: 19.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001293/2.738, allocations: 95.95 kB / 1.464 GB, free: 19.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/2.738, allocations: 182.7 kB / 1.464 GB, free: 19.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/2.738, allocations: 307.7 kB / 1.464 GB, free: 19.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/2.738, allocations: 4 kB / 1.464 GB, free: 19.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005449/2.739, allocations: 394.9 kB / 1.465 GB, free: 18.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/2.739, allocations: 12.81 kB / 1.465 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/2.739, allocations: 0 / 1.465 GB, free: 18.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/2.743, allocations: 449.3 kB / 1.465 GB, free: 18.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/2.743, allocations: 63.91 kB / 1.465 GB, free: 18.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/2.745, allocations: 1.883 MB / 1.467 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/2.745, allocations: 28.08 kB / 1.467 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.412e-05/2.745, allocations: 16 kB / 1.467 GB, free: 16.32 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.0001619/2.745, allocations: 145.8 kB / 1.467 GB, free: 16.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/2.745, allocations: 27.62 kB / 1.467 GB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/2.746, allocations: 0.4907 MB / 1.468 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/2.746, allocations: 7.938 kB / 1.468 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/2.746, allocations: 0 / 1.468 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004804/2.746, allocations: 0.7163 MB / 1.468 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009894/2.747, allocations: 0.9532 MB / 1.469 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/2.747, allocations: 0 / 1.469 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/2.747, allocations: 51.91 kB / 1.469 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/2.749, allocations: 296.4 kB / 1.47 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/2.749, allocations: 11.98 kB / 1.47 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000344/2.749, allocations: 0.6382 MB / 1.47 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.749, allocations: 3.938 kB / 1.47 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000764/2.75, allocations: 0.7124 MB / 1.471 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/2.75, allocations: 116.7 kB / 1.471 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/2.75, allocations: 8.125 kB / 1.471 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/2.75, allocations: 19.94 kB / 1.471 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-05/2.75, allocations: 15.97 kB / 1.471 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/2.75, allocations: 15.98 kB / 1.471 GB, free: 11.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001496/2.75, allocations: 181.9 kB / 1.471 GB, free: 11.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.75, allocations: 0 / 1.471 GB, free: 11.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001061/2.752, allocations: 211.8 kB / 1.471 GB, free: 11.48 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.001083/2.753, allocations: 480.5 kB / 1.472 GB, free: 11.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00066/2.753, allocations: 459.5 kB / 1.472 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/2.753, allocations: 0 / 1.472 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004825/2.754, allocations: 231.8 kB / 1.473 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/2.755, allocations: 162.5 kB / 1.473 GB, free: 10.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/2.756, allocations: 0.9921 MB / 1.474 GB, free: 9.156 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/2.756, allocations: 0.7763 MB / 1.474 GB, free: 8.352 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/2.756, allocations: 31.42 kB / 1.474 GB, free: 8.32 MB / 426.7 MB Notification: Performance of SimCode: time 5.11e-07/2.756, allocations: 0 / 1.474 GB, free: 8.32 MB / 426.7 MB Notification: Performance of Templates: time 0.2038/2.96, allocations: 9.118 MB / 1.483 GB, free: 102.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches