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.001641/0.00164, allocations: 208.3 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.657/1.657, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008265/0.0008269, allocations: 93.06 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4596/0.4596, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003822, allocations: 4 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/0.5297, allocations: 62.96 MB / 0.5184 GB, free: 37.43 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.855, allocations: 473 MB / 0.9804 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/1.855, allocations: 71.95 kB / 0.9804 GB, free: 145.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.08414/1.94, allocations: 41.36 MB / 1.021 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.586e-06/1.94, allocations: 0 / 1.021 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.036e-05/1.94, allocations: 4 kB / 1.021 GB, free: 103.6 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.0006176/1.94, allocations: 411.2 kB / 1.021 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.94, allocations: 12.88 kB / 1.021 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/1.94, allocations: 8.844 kB / 1.021 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.824e-05/1.94, allocations: 164.3 kB / 1.021 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.94, allocations: 8.375 kB / 1.021 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/1.941, allocations: 4.375 kB / 1.021 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/1.941, allocations: 78.2 kB / 1.021 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/1.941, allocations: 8.094 kB / 1.021 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/1.941, allocations: 11.88 kB / 1.021 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.941, allocations: 0 / 1.021 GB, free: 102.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/1.941, allocations: 51.91 kB / 1.022 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004329/1.941, allocations: 377.9 kB / 1.022 GB, free: 102.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.435e-05/1.941, allocations: 62.55 kB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/1.941, allocations: 24.86 kB / 1.022 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.943, allocations: 1.209 MB / 1.023 GB, free: 100.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/1.943, allocations: 38.56 kB / 1.023 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/1.943, allocations: 0 / 1.023 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.004736/1.947, allocations: 0.6486 MB / 1.024 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/1.947, allocations: 55.41 kB / 1.024 GB, free: 100 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/1.948, allocations: 101.8 kB / 1.024 GB, free: 99.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/1.948, allocations: 33.7 kB / 1.024 GB, free: 99.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/1.948, allocations: 96.25 kB / 1.024 GB, free: 99.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.273e-05/1.948, allocations: 51.23 kB / 1.024 GB, free: 99.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/1.948, allocations: 4 kB / 1.024 GB, free: 99.69 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.788e-05/1.948, allocations: 322.8 kB / 1.024 GB, free: 99.37 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.948, allocations: 75.95 kB / 1.025 GB, free: 99.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/1.948, allocations: 105 kB / 1.025 GB, free: 99.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/1.949, allocations: 202.6 kB / 1.025 GB, free: 98.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.949, allocations: 3.938 kB / 1.025 GB, free: 98.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004743/1.949, allocations: 237.4 kB / 1.025 GB, free: 98.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.949, allocations: 8 kB / 1.025 GB, free: 98.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/1.949, allocations: 0 / 1.025 GB, free: 98.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.949, allocations: 0 / 1.025 GB, free: 98.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/1.95, allocations: 55.94 kB / 1.025 GB, free: 98.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.95, allocations: 12.61 kB / 1.025 GB, free: 98.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/1.95, allocations: 19.92 kB / 1.025 GB, free: 98.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/1.95, allocations: 15.98 kB / 1.025 GB, free: 98.62 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.779e-05/1.95, allocations: 117.8 kB / 1.025 GB, free: 98.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/1.95, allocations: 7.906 kB / 1.025 GB, free: 98.49 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/1.951, allocations: 343.9 kB / 1.026 GB, free: 98.15 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.951, allocations: 4 kB / 1.026 GB, free: 98.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.951, allocations: 4 kB / 1.026 GB, free: 98.14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/1.951, allocations: 3.938 kB / 1.026 GB, free: 98.14 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/1.952, allocations: 0.735 MB / 1.026 GB, free: 97.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.952, allocations: 0 / 1.026 GB, free: 97.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004142/1.952, allocations: 47.91 kB / 1.026 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/1.952, allocations: 3.938 kB / 1.026 GB, free: 97.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/1.952, allocations: 11.92 kB / 1.026 GB, free: 97.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/1.952, allocations: 0 / 1.026 GB, free: 97.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.952, allocations: 4 kB / 1.026 GB, free: 97.25 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/1.953, allocations: 343.3 kB / 1.027 GB, free: 96.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/1.953, allocations: 104.9 kB / 1.027 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/1.953, allocations: 8 kB / 1.027 GB, free: 96.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/1.953, allocations: 7.984 kB / 1.027 GB, free: 96.77 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/1.953, allocations: 15.98 kB / 1.027 GB, free: 96.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/1.954, allocations: 7.984 kB / 1.027 GB, free: 96.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.106e-05/1.954, allocations: 95.41 kB / 1.027 GB, free: 96.65 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/1.954, allocations: 0 / 1.027 GB, free: 96.65 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006453/1.954, allocations: 155.8 kB / 1.027 GB, free: 96.5 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.001047/1.955, allocations: 0.6151 MB / 1.028 GB, free: 95.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004625/1.956, allocations: 201 kB / 1.028 GB, free: 95.68 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.956, allocations: 4 kB / 1.028 GB, free: 95.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002075/1.956, allocations: 115.9 kB / 1.028 GB, free: 95.56 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/1.956, allocations: 34.88 kB / 1.028 GB, free: 95.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006083/1.957, allocations: 314 kB / 1.028 GB, free: 95.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/1.957, allocations: 0.7006 MB / 1.029 GB, free: 94.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005011/1.958, allocations: 72.72 kB / 1.029 GB, free: 94.39 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.958, allocations: 35.41 kB / 1.029 GB, free: 94.36 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/1.958, allocations: 0 / 1.029 GB, free: 94.36 MB / 0.5417 GB Notification: Performance of Templates: time 0.01696/1.975, allocations: 12.6 MB / 1.041 GB, free: 81.75 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/jenkins1/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