Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009608/0.0009607, allocations: 92.36 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 7.938 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2687, allocations: 50.42 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.338, allocations: 0.5367 GB / 0.9288 GB, free: 114.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.338, allocations: 80.98 kB / 0.9289 GB, free: 114.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9987/2.337, allocations: 472.2 MB / 1.39 GB, free: 20.35 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.916e-06/2.337, allocations: 0 / 1.39 GB, free: 20.35 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/2.337, allocations: 8 kB / 1.39 GB, free: 20.34 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001031/2.338, allocations: 0.7415 MB / 1.391 GB, free: 19.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/2.338, allocations: 12.03 kB / 1.391 GB, free: 19.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004008/2.338, allocations: 51.61 kB / 1.391 GB, free: 19.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/2.339, allocations: 298.7 kB / 1.391 GB, free: 19.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/2.339, allocations: 20.56 kB / 1.391 GB, free: 19.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/2.339, allocations: 24 kB / 1.391 GB, free: 19.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/2.339, allocations: 334.5 kB / 1.391 GB, free: 18.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/2.339, allocations: 0 / 1.391 GB, free: 18.75 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/2.339, allocations: 12 kB / 1.391 GB, free: 18.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/2.339, allocations: 11.95 kB / 1.391 GB, free: 18.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002621/2.339, allocations: 206 kB / 1.392 GB, free: 18.53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009221/2.349, allocations: 5.464 MB / 1.397 GB, free: 12.56 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/2.349, allocations: 175.2 kB / 1.397 GB, free: 12.38 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007344/2.356, allocations: 3.442 MB / 1.401 GB, free: 8.645 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/2.356, allocations: 42.69 kB / 1.401 GB, free: 8.594 MB / 458.7 MB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/2.356, allocations: 0 / 1.401 GB, free: 8.594 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.005025/2.361, allocations: 1.375 MB / 1.402 GB, free: 7.148 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/2.361, allocations: 59.34 kB / 1.402 GB, free: 7.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/2.362, allocations: 245.5 kB / 1.402 GB, free: 6.832 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/2.362, allocations: 29.7 kB / 1.402 GB, free: 6.797 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/2.362, allocations: 184.1 kB / 1.402 GB, free: 6.613 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/2.362, allocations: 98.64 kB / 1.402 GB, free: 6.516 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/2.362, allocations: 4 kB / 1.403 GB, free: 6.512 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.264e-05/2.362, allocations: 338.8 kB / 1.403 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/2.362, allocations: 91.73 kB / 1.403 GB, free: 6.082 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/2.362, allocations: 179.1 kB / 1.403 GB, free: 5.867 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/2.362, allocations: 128.7 kB / 1.403 GB, free: 5.742 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/2.362, allocations: 0 / 1.403 GB, free: 5.742 MB / 458.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005402/2.363, allocations: 388 kB / 1.404 GB, free: 5.352 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/2.363, allocations: 8 kB / 1.404 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/2.363, allocations: 0 / 1.404 GB, free: 5.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004316/2.367, allocations: 453.6 kB / 1.404 GB, free: 4.895 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/2.368, allocations: 71.91 kB / 1.404 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/2.369, allocations: 1.884 MB / 1.406 GB, free: 2.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/2.369, allocations: 19.94 kB / 1.406 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/2.369, allocations: 23.92 kB / 1.406 GB, free: 2.738 MB / 458.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.000144/2.369, allocations: 154.5 kB / 1.406 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/2.369, allocations: 23.72 kB / 1.406 GB, free: 2.555 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005571/2.37, allocations: 495.7 kB / 1.407 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/2.37, allocations: 8 kB / 1.407 GB, free: 2.043 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/2.37, allocations: 7.938 kB / 1.407 GB, free: 2.035 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000435/2.37, allocations: 0.7136 MB / 1.407 GB, free: 1.234 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/2.371, allocations: 0.9453 MB / 1.408 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/2.371, allocations: 0 / 1.408 GB, free: 232 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/2.371, allocations: 51.91 kB / 1.408 GB, free: 180 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2082/2.579, allocations: 295.5 kB / 1.409 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.806e-05/2.58, allocations: 8.5 kB / 1.409 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004919/2.58, allocations: 0.6458 MB / 1.409 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/2.58, allocations: 4.547 kB / 1.409 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/2.581, allocations: 0.735 MB / 1.41 GB, free: 121.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/2.581, allocations: 106.7 kB / 1.41 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/2.581, allocations: 5.922 kB / 1.41 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/2.581, allocations: 16.67 kB / 1.41 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/2.582, allocations: 17.94 kB / 1.41 GB, free: 121.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/2.582, allocations: 14.19 kB / 1.41 GB, free: 121.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0002137/2.582, allocations: 184.1 kB / 1.41 GB, free: 121.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.582, allocations: 0.6875 kB / 1.41 GB, free: 121.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001022/2.583, allocations: 207.4 kB / 1.41 GB, free: 121.2 MB / 458.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.001088/2.584, allocations: 481.3 kB / 1.411 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0006771/2.585, allocations: 441 kB / 1.411 GB, free: 121 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.585, allocations: 0 / 1.411 GB, free: 121 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005089/2.585, allocations: 242.4 kB / 1.412 GB, free: 121 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007918/2.586, allocations: 163.9 kB / 1.412 GB, free: 121 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/2.587, allocations: 0.9605 MB / 1.413 GB, free: 120.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/2.587, allocations: 0.7835 MB / 1.413 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001993/2.587, allocations: 50.19 kB / 1.413 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.279e-05/2.587, allocations: 32.55 kB / 1.414 GB, free: 119.9 MB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/2.587, allocations: 1.281 kB / 1.414 GB, free: 119.9 MB / 458.7 MB Notification: Performance of Templates: time 0.01531/2.603, allocations: 10.79 MB / 1.424 GB, free: 119.7 MB / 458.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches