Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 108.2 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002841/0.0002842, allocations: 12 kB / 357.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2279, allocations: 51.49 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9435/1.171, allocations: 0.5375 GB / 0.9373 GB, free: 74.18 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.172, allocations: 74.03 kB / 0.9374 GB, free: 74.14 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4092/1.581, allocations: 148.2 MB / 1.082 GB, free: 115.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.074e-06/1.581, allocations: 0 / 1.082 GB, free: 115.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.105e-05/1.581, allocations: 16 kB / 1.082 GB, free: 115.8 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001092/1.582, allocations: 0.6868 MB / 1.083 GB, free: 115.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/1.582, allocations: 12.03 kB / 1.083 GB, free: 115.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/1.583, allocations: 79.41 kB / 1.083 GB, free: 115 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/1.583, allocations: 334.1 kB / 1.083 GB, free: 114.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/1.583, allocations: 33 kB / 1.083 GB, free: 114.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/1.583, allocations: 43.95 kB / 1.083 GB, free: 114.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/1.584, allocations: 459.6 kB / 1.084 GB, free: 114 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/1.584, allocations: 7.844 kB / 1.084 GB, free: 114 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/1.584, allocations: 20 kB / 1.084 GB, free: 114 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.584, allocations: 8 kB / 1.084 GB, free: 114 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/1.584, allocations: 303.7 kB / 1.084 GB, free: 113.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009626/1.594, allocations: 6.288 MB / 1.09 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/1.594, allocations: 280 kB / 1.09 GB, free: 106.6 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007615/1.602, allocations: 3.462 MB / 1.094 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/1.602, allocations: 38.56 kB / 1.094 GB, free: 102.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 3.136e-06/1.602, allocations: 0 / 1.094 GB, free: 102.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.009308/1.611, allocations: 2.41 MB / 1.096 GB, free: 100.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/1.611, allocations: 55.41 kB / 1.096 GB, free: 100.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/1.611, allocations: 262.5 kB / 1.096 GB, free: 99.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/1.611, allocations: 37.7 kB / 1.096 GB, free: 99.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/1.612, allocations: 223.8 kB / 1.097 GB, free: 99.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.802e-05/1.612, allocations: 157.7 kB / 1.097 GB, free: 99.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/1.612, allocations: 15.94 kB / 1.097 GB, free: 99.55 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/1.612, allocations: 350.8 kB / 1.097 GB, free: 99.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/1.612, allocations: 153.1 kB / 1.097 GB, free: 99.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/1.612, allocations: 271.6 kB / 1.098 GB, free: 98.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/1.612, allocations: 200.7 kB / 1.098 GB, free: 98.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.612, allocations: 0 / 1.098 GB, free: 98.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000852/1.613, allocations: 0.5839 MB / 1.098 GB, free: 97.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.613, allocations: 8 kB / 1.098 GB, free: 97.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.613, allocations: 4 kB / 1.098 GB, free: 97.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008418/1.622, allocations: 0.8652 MB / 1.099 GB, free: 97.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/1.622, allocations: 107.8 kB / 1.099 GB, free: 96.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/1.623, allocations: 2.467 MB / 1.102 GB, free: 94.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/1.624, allocations: 40 kB / 1.102 GB, free: 94.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/1.624, allocations: 20 kB / 1.102 GB, free: 94.24 MB / 458.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 () * Number of clocked 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.0001584/1.624, allocations: 177.7 kB / 1.102 GB, free: 94.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/1.624, allocations: 47.55 kB / 1.102 GB, free: 94.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000868/1.625, allocations: 0.8475 MB / 1.103 GB, free: 93.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.625, allocations: 15.98 kB / 1.103 GB, free: 93.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/1.625, allocations: 0 / 1.103 GB, free: 93.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006886/1.625, allocations: 0.965 MB / 1.104 GB, free: 92.09 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/1.627, allocations: 1.487 MB / 1.105 GB, free: 90.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.627, allocations: 4 kB / 1.105 GB, free: 90.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/1.627, allocations: 83.92 kB / 1.105 GB, free: 90.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002934/1.63, allocations: 0.5867 MB / 1.106 GB, free: 89.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/1.63, allocations: 12 kB / 1.106 GB, free: 89.87 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005893/1.631, allocations: 1.288 MB / 1.107 GB, free: 88.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.631, allocations: 0 / 1.107 GB, free: 88.53 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/1.632, allocations: 1.225 MB / 1.108 GB, free: 87.27 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.007e-05/1.632, allocations: 120.5 kB / 1.108 GB, free: 87.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.816e-05/1.632, allocations: 12.06 kB / 1.108 GB, free: 87.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/1.632, allocations: 31.83 kB / 1.109 GB, free: 87.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/1.632, allocations: 35.91 kB / 1.109 GB, free: 87.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/1.632, allocations: 15.98 kB / 1.109 GB, free: 87.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001441/1.633, allocations: 206 kB / 1.109 GB, free: 86.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.633, allocations: 4 kB / 1.109 GB, free: 86.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008207/1.633, allocations: 251.8 kB / 1.109 GB, free: 86.59 MB / 458.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 () * Number of clocked 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000887/1.634, allocations: 446.1 kB / 1.109 GB, free: 86.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008952/1.635, allocations: 0.6866 MB / 1.11 GB, free: 85.48 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.635, allocations: 0 / 1.11 GB, free: 85.48 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000872/1.636, allocations: 436.5 kB / 1.111 GB, free: 85.05 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/1.637, allocations: 227.3 kB / 1.111 GB, free: 84.84 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/1.638, allocations: 1.471 MB / 1.112 GB, free: 83.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/1.639, allocations: 0.8443 MB / 1.113 GB, free: 82.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002874/1.639, allocations: 76.27 kB / 1.113 GB, free: 82.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.3e-05/1.639, allocations: 43.44 kB / 1.113 GB, free: 82.35 MB / 458.7 MB Notification: Performance of SimCode: time 3.41e-07/1.639, allocations: 0 / 1.113 GB, free: 82.35 MB / 458.7 MB Notification: Performance of Templates: time 0.01473/1.654, allocations: 12.74 MB / 1.126 GB, free: 69.68 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches