Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 88.23 kB / 20.2 MB, free: 4.23 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 157.7 kB / 23.51 MB, free: 0.9258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 158.6 MB / 185.3 MB, free: 2.879 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.215/0.215, allocations: 32.37 MB / 270 MB, free: 14.79 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 346.9 MB, free: 9.832 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.673e-05, allocations: 2.312 kB / 346.9 MB, free: 9.828 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3363/0.3364, allocations: 131.8 MB / 478.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.3398, allocations: 3.301 MB / 482 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.3399, allocations: 0 / 482 MB, free: 10.59 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.3401, allocations: 33.72 kB / 482.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 5.022e-05/0.3401, allocations: 30.02 kB / 482.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.3414, allocations: 448.3 kB / 482.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3415, allocations: 74.11 kB / 482.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.3415, allocations: 2.406 kB / 482.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3416, allocations: 45.89 kB / 482.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.605e-05/0.3417, allocations: 17.17 kB / 482.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3417, allocations: 3.672 kB / 482.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009363/0.3426, allocations: 463.5 kB / 483.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.3426, allocations: 8.938 kB / 483.1 MB, free: 10.22 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3427, allocations: 27.47 kB / 483.2 MB, free: 10.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.3431, allocations: 334.1 kB / 483.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3431, allocations: 0 / 483.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3431, allocations: 0 / 483.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3431, allocations: 0 / 483.5 MB, free: 10.1 MB / 362.7 MB 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.0004861/0.3436, allocations: 336.2 kB / 483.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.3436, allocations: 10.34 kB / 483.8 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.3437, allocations: 10.42 kB / 483.8 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.53e-05/0.3438, allocations: 112.1 kB / 484 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3438, allocations: 10.19 kB / 484 MB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3438, allocations: 9.922 kB / 484 MB, free: 9.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.3439, allocations: 73.2 kB / 484 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3439, allocations: 10.66 kB / 484.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3439, allocations: 0 / 484.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.344, allocations: 2.875 kB / 484.1 MB, free: 9.598 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.344, allocations: 47.81 kB / 484.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.3444, allocations: 256.4 kB / 484.4 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.3445, allocations: 56.69 kB / 484.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.053e-05/0.3445, allocations: 20.06 kB / 484.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.3458, allocations: 268.9 kB / 484.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3459, allocations: 34.19 kB / 484.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3459, allocations: 0 / 484.7 MB, free: 9.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.006626/0.3525, allocations: 0.6782 MB / 485.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.3525, allocations: 58.16 kB / 485.5 MB, free: 8.926 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.3526, allocations: 102.9 kB / 485.6 MB, free: 8.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3526, allocations: 28.7 kB / 485.6 MB, free: 8.793 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.864e-05/0.3526, allocations: 97.14 kB / 485.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.811e-05/0.3527, allocations: 43.97 kB / 485.7 MB, free: 8.668 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.3528, allocations: 44.61 kB / 485.8 MB, free: 8.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.3529, allocations: 321.2 kB / 486.1 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.3531, allocations: 79.17 kB / 486.2 MB, free: 8.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.3532, allocations: 116.5 kB / 486.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.3536, allocations: 199.1 kB / 486.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3537, allocations: 0 / 486.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005249/0.3542, allocations: 247.7 kB / 486.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3542, allocations: 5.031 kB / 486.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3542, allocations: 6.781 kB / 486.7 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/0.3542, allocations: 3.938 kB / 486.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.3549, allocations: 54.34 kB / 486.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3549, allocations: 6.656 kB / 486.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005115/0.3554, allocations: 10.44 kB / 486.8 MB, free: 8.121 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.092e-05/0.3554, allocations: 23.34 kB / 486.8 MB, free: 8.109 MB / 362.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.22e-05/0.3555, allocations: 112.2 kB / 486.9 MB, free: 7.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.3556, allocations: 12.33 kB / 486.9 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007389/0.3563, allocations: 345.2 kB / 487.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3563, allocations: 3.938 kB / 487.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.3563, allocations: 2.844 kB / 487.3 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3564, allocations: 7.922 kB / 487.3 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/0.3573, allocations: 0.6727 MB / 488 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3573, allocations: 7.938 kB / 488 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.3578, allocations: 51.02 kB / 488 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.3579, allocations: 3.984 kB / 488 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.3579, allocations: 6.188 kB / 488 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3579, allocations: 3.125 kB / 488 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3579, allocations: 3.312 kB / 488 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.3584, allocations: 357.6 kB / 488.4 MB, free: 7.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.3585, allocations: 32.38 kB / 488.4 MB, free: 7.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.3586, allocations: 10.39 kB / 488.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.3591, allocations: 9.188 kB / 488.4 MB, free: 7.156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.3591, allocations: 16.03 kB / 488.5 MB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.3592, allocations: 12.08 kB / 488.5 MB, free: 7.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.245e-05/0.3592, allocations: 80.97 kB / 488.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3592, allocations: 0 / 488.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004377/0.3596, allocations: 104.6 kB / 488.7 MB, free: 7.051 MB / 362.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000399/0.36, allocations: 220.2 kB / 488.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.3605, allocations: 204.3 kB / 489.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3605, allocations: 0 / 489.1 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.3607, allocations: 111.4 kB / 489.2 MB, free: 6.863 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.3612, allocations: 42.2 kB / 489.2 MB, free: 6.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.3618, allocations: 252.4 kB / 489.5 MB, free: 6.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.3618, allocations: 86.08 kB / 489.5 MB, free: 6.594 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.3621, allocations: 76.66 kB / 489.6 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.3624, allocations: 37.36 kB / 489.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3624, allocations: 0 / 489.7 MB, free: 6.516 MB / 362.7 MB Notification: Performance of Templates: time 0.009561/0.3719, allocations: 6.764 MB / 496.4 MB, free: 2.941 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.478416690952145]