Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001071, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.2/1.2, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00074/0.00074, allocations: 93.73 kB / 292.1 MB, free: 5.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1721/0.1721, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.126e-05, allocations: 3.984 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09707, allocations: 63.24 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.292, allocations: 473 MB / 0.9733 GB, free: 173.9 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.293, allocations: 67.09 kB / 0.9734 GB, free: 173.9 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.07995/1.373, allocations: 41.31 MB / 1.014 GB, free: 162.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.053e-06/1.373, allocations: 0 / 1.014 GB, free: 162.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.373, allocations: 4 kB / 1.014 GB, free: 162.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005553/1.373, allocations: 400.4 kB / 1.014 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/1.373, allocations: 11.69 kB / 1.014 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/1.373, allocations: 11.72 kB / 1.014 GB, free: 161.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.495e-05/1.373, allocations: 166.9 kB / 1.014 GB, free: 161.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/1.373, allocations: 0 / 1.014 GB, free: 161.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/1.373, allocations: 7.188 kB / 1.014 GB, free: 161.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/1.374, allocations: 72.05 kB / 1.014 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.374, allocations: 0 / 1.014 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.374, allocations: 7.938 kB / 1.014 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/1.374, allocations: 3.875 kB / 1.014 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.417e-05/1.374, allocations: 48.59 kB / 1.014 GB, free: 161.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/1.374, allocations: 383.8 kB / 1.015 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.058e-05/1.374, allocations: 66.61 kB / 1.015 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.311e-05/1.374, allocations: 28.19 kB / 1.015 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000915/1.375, allocations: 0.9863 MB / 1.016 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/1.375, allocations: 34.38 kB / 1.016 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/1.375, allocations: 0 / 1.016 GB, free: 160.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.004941/1.38, allocations: 0.6151 MB / 1.016 GB, free: 159.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/1.38, allocations: 51.41 kB / 1.017 GB, free: 159.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.869e-05/1.38, allocations: 100 kB / 1.017 GB, free: 159.7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/1.38, allocations: 29.39 kB / 1.017 GB, free: 159.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/1.38, allocations: 88.31 kB / 1.017 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.38, allocations: 57.41 kB / 1.017 GB, free: 159.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/1.38, allocations: 4 kB / 1.017 GB, free: 159.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6e-05/1.381, allocations: 318 kB / 1.017 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/1.381, allocations: 75.36 kB / 1.017 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/1.381, allocations: 93.67 kB / 1.017 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/1.381, allocations: 83.98 kB / 1.017 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.381, allocations: 3.953 kB / 1.017 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003919/1.381, allocations: 234.5 kB / 1.018 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/1.381, allocations: 7.688 kB / 1.018 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.381, allocations: 288 / 1.018 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.381, allocations: 0 / 1.018 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005243/1.382, allocations: 54.81 kB / 1.018 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.382, allocations: 7.875 kB / 1.018 GB, free: 159 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/1.382, allocations: 19.52 kB / 1.018 GB, free: 159 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/1.382, allocations: 11.83 kB / 1.018 GB, free: 159 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.312e-05/1.383, allocations: 112.9 kB / 1.018 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/1.383, allocations: 7.828 kB / 1.018 GB, free: 158.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/1.383, allocations: 338.9 kB / 1.018 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.383, allocations: 3.984 kB / 1.018 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/1.383, allocations: 4.219 kB / 1.018 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/1.383, allocations: 0 / 1.018 GB, free: 158.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/1.384, allocations: 0.7298 MB / 1.019 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/1.384, allocations: 0 / 1.019 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004457/1.385, allocations: 40.03 kB / 1.019 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/1.385, allocations: 0 / 1.019 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/1.385, allocations: 9.297 kB / 1.019 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.385, allocations: 2.469 kB / 1.019 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.385, allocations: 0 / 1.019 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/1.385, allocations: 335.3 kB / 1.019 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/1.385, allocations: 112.1 kB / 1.019 GB, free: 157.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/1.385, allocations: 0 / 1.019 GB, free: 157.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/1.386, allocations: 13.2 kB / 1.019 GB, free: 157.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/1.386, allocations: 11.39 kB / 1.019 GB, free: 157.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/1.386, allocations: 13.27 kB / 1.019 GB, free: 157.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.882e-05/1.386, allocations: 83.66 kB / 1.019 GB, free: 157.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.3e-07/1.386, allocations: 0 / 1.019 GB, free: 157.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006238/1.386, allocations: 153.2 kB / 1.02 GB, free: 157.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/1.387, allocations: 0.6409 MB / 1.02 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003878/1.388, allocations: 191.4 kB / 1.02 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.388, allocations: 0 / 1.02 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/1.388, allocations: 112.5 kB / 1.02 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.388, allocations: 27.5 kB / 1.02 GB, free: 157.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004261/1.389, allocations: 163.4 kB / 1.021 GB, free: 157.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/1.389, allocations: 0.7003 MB / 1.021 GB, free: 156.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004522/1.389, allocations: 59.55 kB / 1.021 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/1.39, allocations: 36.89 kB / 1.021 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/1.39, allocations: 0 / 1.021 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.01549/1.405, allocations: 14.16 MB / 1.035 GB, free: 142.4 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches