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.001525/0.001525, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.531/1.531, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009152/0.0009152, allocations: 93.41 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.0002789, allocations: 11.98 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3003, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.551/1.851, allocations: 0.6386 GB / 1.006 GB, free: 99.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.851, allocations: 77.92 kB / 1.006 GB, free: 99.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.421/3.272, allocations: 471.8 MB / 1.466 GB, free: 107.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/3.272, allocations: 0 / 1.466 GB, free: 107.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.985e-05/3.272, allocations: 7.812 kB / 1.466 GB, free: 107.9 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.001349/3.273, allocations: 0.7412 MB / 1.467 GB, free: 107.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/3.273, allocations: 7.125 kB / 1.467 GB, free: 107.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/3.274, allocations: 55.91 kB / 1.467 GB, free: 107.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/3.274, allocations: 280.1 kB / 1.467 GB, free: 107.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/3.274, allocations: 22.16 kB / 1.467 GB, free: 107.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/3.274, allocations: 30.33 kB / 1.468 GB, free: 107.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/3.275, allocations: 337.3 kB / 1.468 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/3.275, allocations: 1.125 kB / 1.468 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/3.275, allocations: 15.94 kB / 1.468 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/3.275, allocations: 12.09 kB / 1.468 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/3.275, allocations: 207.1 kB / 1.468 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01086/3.286, allocations: 5.47 MB / 1.473 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/3.287, allocations: 179.1 kB / 1.474 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008357/3.295, allocations: 3.446 MB / 1.477 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/3.295, allocations: 33.44 kB / 1.477 GB, free: 102.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.926e-06/3.295, allocations: 0 / 1.477 GB, free: 102.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.005551/3.301, allocations: 1.371 MB / 1.478 GB, free: 101.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/3.301, allocations: 54.69 kB / 1.478 GB, free: 101.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/3.301, allocations: 244.6 kB / 1.479 GB, free: 101.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/3.301, allocations: 30.45 kB / 1.479 GB, free: 101.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/3.301, allocations: 184 kB / 1.479 GB, free: 101.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.206e-05/3.301, allocations: 93.58 kB / 1.479 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/3.301, allocations: 8.688 kB / 1.479 GB, free: 101.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/3.301, allocations: 336.3 kB / 1.479 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/3.301, allocations: 90.16 kB / 1.479 GB, free: 101.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/3.302, allocations: 186.9 kB / 1.479 GB, free: 101 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002099/3.302, allocations: 126 kB / 1.48 GB, free: 101 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/3.302, allocations: 1.5 kB / 1.48 GB, free: 101 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006814/3.303, allocations: 398.6 kB / 1.48 GB, free: 100.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/3.303, allocations: 6.094 kB / 1.48 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/3.303, allocations: 3.125 kB / 1.48 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/3.307, allocations: 448.8 kB / 1.48 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/3.307, allocations: 67.39 kB / 1.48 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/3.309, allocations: 1.897 MB / 1.482 GB, free: 99.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003344/3.309, allocations: 23.89 kB / 1.482 GB, free: 99.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/3.309, allocations: 12.5 kB / 1.482 GB, free: 99.12 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.0002074/3.309, allocations: 161.7 kB / 1.483 GB, free: 99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.647e-05/3.309, allocations: 26.22 kB / 1.483 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006863/3.31, allocations: 494.7 kB / 1.483 GB, free: 98.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/3.31, allocations: 11.22 kB / 1.483 GB, free: 98.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/3.31, allocations: 0 / 1.483 GB, free: 98.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005088/3.311, allocations: 0.7216 MB / 1.484 GB, free: 98.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/3.312, allocations: 0.9517 MB / 1.485 GB, free: 98.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/3.312, allocations: 0 / 1.485 GB, free: 98.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/3.312, allocations: 44.83 kB / 1.485 GB, free: 98.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/3.314, allocations: 305.7 kB / 1.485 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/3.314, allocations: 10.03 kB / 1.485 GB, free: 98.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003772/3.314, allocations: 0.6402 MB / 1.486 GB, free: 97.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/3.314, allocations: 3.875 kB / 1.486 GB, free: 97.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/3.315, allocations: 0.731 MB / 1.486 GB, free: 97.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/3.315, allocations: 111.1 kB / 1.486 GB, free: 97.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/3.315, allocations: 6.406 kB / 1.486 GB, free: 97.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/3.315, allocations: 7.281 kB / 1.486 GB, free: 97.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/3.315, allocations: 33.06 kB / 1.487 GB, free: 97.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/3.315, allocations: 14.78 kB / 1.487 GB, free: 97.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001546/3.315, allocations: 185.4 kB / 1.487 GB, free: 97.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/3.315, allocations: 0 / 1.487 GB, free: 97.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001031/3.317, allocations: 202.1 kB / 1.487 GB, free: 97.16 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.001179/3.318, allocations: 475 kB / 1.487 GB, free: 97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007737/3.318, allocations: 452 kB / 1.488 GB, free: 96.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/3.319, allocations: 0 / 1.488 GB, free: 96.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005289/3.319, allocations: 242.9 kB / 1.488 GB, free: 96.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008152/3.32, allocations: 160.5 kB / 1.488 GB, free: 96.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/3.321, allocations: 0.9509 MB / 1.489 GB, free: 96.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/3.321, allocations: 0.7878 MB / 1.49 GB, free: 95.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002195/3.322, allocations: 51.89 kB / 1.49 GB, free: 95.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/3.322, allocations: 30.78 kB / 1.49 GB, free: 95.67 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/3.322, allocations: 0 / 1.49 GB, free: 95.67 MB / 426.7 MB Notification: Performance of Templates: time 0.01634/3.338, allocations: 10.78 MB / 1.5 GB, free: 95.03 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