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.001126/0.001126, 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.196/1.196, allocations: 227.2 MB / 245 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009664/0.0009664, allocations: 102.9 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3018/0.3018, allocations: 45.23 MB / 394.7 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002496/0.0002496, allocations: 11.98 kB / 468.4 MB, free: 7.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3404, allocations: 63.24 MB / 0.5192 GB, free: 43.43 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8964/1.237, allocations: 473.1 MB / 0.9812 GB, free: 159.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/1.237, allocations: 72.66 kB / 0.9813 GB, free: 159.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0783/1.315, allocations: 41.43 MB / 1.022 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.364e-06/1.315, allocations: 0 / 1.022 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.274e-06/1.315, allocations: 0 / 1.022 GB, free: 117.7 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.0004994/1.316, allocations: 411.1 kB / 1.022 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.316, allocations: 8.031 kB / 1.022 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/1.316, allocations: 7.906 kB / 1.022 GB, free: 117.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.076e-05/1.316, allocations: 167 kB / 1.022 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/1.316, allocations: 8 kB / 1.022 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/1.316, allocations: 8 kB / 1.022 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/1.316, allocations: 70.92 kB / 1.022 GB, free: 117 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/1.316, allocations: 0 / 1.022 GB, free: 117 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/1.316, allocations: 4 kB / 1.022 GB, free: 117 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.316, allocations: 4 kB / 1.022 GB, free: 117 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.02e-05/1.316, allocations: 47.91 kB / 1.022 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/1.317, allocations: 389.8 kB / 1.023 GB, free: 116.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.172e-05/1.317, allocations: 70.42 kB / 1.023 GB, free: 116.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000884/1.318, allocations: 0.9895 MB / 1.024 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/1.318, allocations: 38.56 kB / 1.024 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/1.318, allocations: 0 / 1.024 GB, free: 115.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.005405/1.323, allocations: 0.6531 MB / 1.025 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/1.323, allocations: 55.41 kB / 1.025 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/1.323, allocations: 100.9 kB / 1.025 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/1.323, allocations: 25.7 kB / 1.025 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.134e-05/1.323, allocations: 96.33 kB / 1.025 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/1.324, allocations: 43.3 kB / 1.025 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/1.324, allocations: 4 kB / 1.025 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/1.324, allocations: 318.8 kB / 1.025 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/1.324, allocations: 75.95 kB / 1.025 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/1.324, allocations: 99.22 kB / 1.025 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/1.324, allocations: 97.22 kB / 1.025 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.324, allocations: 0 / 1.025 GB, free: 113.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000478/1.325, allocations: 241.4 kB / 1.026 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.325, allocations: 8 kB / 1.026 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.325, allocations: 3.984 kB / 1.026 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.325, allocations: 0 / 1.026 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/1.325, allocations: 56.12 kB / 1.026 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/1.325, allocations: 4 kB / 1.026 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/1.326, allocations: 28.05 kB / 1.026 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/1.326, allocations: 11.98 kB / 1.026 GB, free: 113.2 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 () * Number of clocked 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 9.956e-05/1.326, allocations: 117.8 kB / 1.026 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/1.326, allocations: 7.953 kB / 1.026 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/1.327, allocations: 349.8 kB / 1.026 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.327, allocations: 4 kB / 1.026 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.327, allocations: 0 / 1.026 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.327, allocations: 0 / 1.026 GB, free: 112.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009003/1.328, allocations: 0.7437 MB / 1.027 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.328, allocations: 0 / 1.027 GB, free: 111.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/1.328, allocations: 47.95 kB / 1.027 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/1.328, allocations: 3.938 kB / 1.027 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/1.328, allocations: 4 kB / 1.027 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.328, allocations: 3.938 kB / 1.027 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/1.328, allocations: 0 / 1.027 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004865/1.329, allocations: 355.2 kB / 1.027 GB, free: 111.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.886e-05/1.329, allocations: 101 kB / 1.027 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/1.329, allocations: 7.953 kB / 1.027 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/1.329, allocations: 15.98 kB / 1.027 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/1.329, allocations: 11.98 kB / 1.027 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/1.329, allocations: 11.98 kB / 1.027 GB, free: 111.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.932e-05/1.329, allocations: 79.28 kB / 1.028 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.71e-07/1.329, allocations: 4 kB / 1.028 GB, free: 111.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005853/1.33, allocations: 151.8 kB / 1.028 GB, free: 111.1 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 () * Number of clocked 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.001009/1.331, allocations: 0.6392 MB / 1.028 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004543/1.331, allocations: 206 kB / 1.028 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.331, allocations: 4 kB / 1.028 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/1.332, allocations: 115.9 kB / 1.029 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.332, allocations: 27.92 kB / 1.029 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/1.332, allocations: 303 kB / 1.029 GB, free: 109.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/1.333, allocations: 0.7007 MB / 1.03 GB, free: 109 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004611/1.333, allocations: 64.75 kB / 1.03 GB, free: 109 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/1.333, allocations: 31.39 kB / 1.03 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/1.333, allocations: 4 kB / 1.03 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.01586/1.349, allocations: 12.53 MB / 1.042 GB, free: 96.39 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