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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00195/0.00195, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002037/0.002037, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.68/1.68, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3895/0.3895, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.305e-05/3.474e-05, allocations: 4.141 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.395/0.395, allocations: 147.1 MB / 0.512 GB, free: 16.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.3965, allocations: 1.176 MB / 0.5132 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.3965, allocations: 0 / 0.5132 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.3967, allocations: 34.27 kB / 0.5132 GB, free: 15.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.206e-05/0.3968, allocations: 34.47 kB / 0.5132 GB, free: 15.55 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.3982, allocations: 439.9 kB / 0.5137 GB, free: 15.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.3983, allocations: 76.44 kB / 0.5137 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.731e-05/0.3984, allocations: 11.66 kB / 0.5137 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.3985, allocations: 37.84 kB / 0.5138 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.476e-05/0.3985, allocations: 22.47 kB / 0.5138 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.3986, allocations: 0 / 0.5138 GB, free: 15.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.3997, allocations: 474.2 kB / 0.5142 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.478e-05/0.3997, allocations: 4.094 kB / 0.5143 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.3997, allocations: 34.89 kB / 0.5143 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005619/0.4003, allocations: 333.5 kB / 0.5146 GB, free: 15.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4003, allocations: 0.75 kB / 0.5146 GB, free: 15.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4003, allocations: 0 / 0.5146 GB, free: 15.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4003, allocations: 0 / 0.5146 GB, free: 15.01 MB / 410.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.0005388/0.4008, allocations: 436.7 kB / 0.515 GB, free: 14.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4009, allocations: 11.06 kB / 0.515 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.4009, allocations: 12.55 kB / 0.515 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.692e-05/0.401, allocations: 116.8 kB / 0.5152 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.401, allocations: 6.109 kB / 0.5152 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.401, allocations: 6.781 kB / 0.5152 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4012, allocations: 70.53 kB / 0.5152 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4012, allocations: 0.6094 kB / 0.5152 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4012, allocations: 3.125 kB / 0.5152 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4012, allocations: 0 / 0.5152 GB, free: 14.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/0.4013, allocations: 31.52 kB / 0.5153 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.4017, allocations: 313.9 kB / 0.5156 GB, free: 14.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.4018, allocations: 66.33 kB / 0.5156 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.4018, allocations: 22.36 kB / 0.5156 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001347/0.4032, allocations: 252.4 kB / 0.5159 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.4032, allocations: 36.48 kB / 0.5159 GB, free: 13.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.4032, allocations: 0 / 0.5159 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.006924/0.4101, allocations: 0.7792 MB / 0.5167 GB, free: 13.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.4101, allocations: 54.34 kB / 0.5167 GB, free: 13.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.4102, allocations: 166.2 kB / 0.5169 GB, free: 13.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4102, allocations: 29.7 kB / 0.5169 GB, free: 13.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.4103, allocations: 138.1 kB / 0.5171 GB, free: 13.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.4103, allocations: 57.33 kB / 0.5171 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.4104, allocations: 49.16 kB / 0.5172 GB, free: 13.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.4105, allocations: 0.4894 MB / 0.5176 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.4107, allocations: 129 kB / 0.5178 GB, free: 12.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.4109, allocations: 162 kB / 0.5179 GB, free: 12.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.4114, allocations: 303 kB / 0.5182 GB, free: 12.63 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4114, allocations: 0 / 0.5182 GB, free: 12.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005633/0.4119, allocations: 355.8 kB / 0.5185 GB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4119, allocations: 5.625 kB / 0.5185 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4119, allocations: 7.875 kB / 0.5186 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.412, allocations: 0 / 0.5186 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.4127, allocations: 55.25 kB / 0.5186 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.4127, allocations: 2.906 kB / 0.5186 GB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.4132, allocations: 18.05 kB / 0.5186 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.4133, allocations: 10.14 kB / 0.5186 GB, free: 12.5 MB / 410.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.031e-05/0.4134, allocations: 162.2 kB / 0.5188 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.4134, allocations: 16.42 kB / 0.5188 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007815/0.4142, allocations: 431 kB / 0.5192 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4142, allocations: 2.281 kB / 0.5192 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4142, allocations: 2.438 kB / 0.5192 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4142, allocations: 3.219 kB / 0.5192 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.4152, allocations: 0.8172 MB / 0.52 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4152, allocations: 1.875 kB / 0.52 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.4159, allocations: 43.47 kB / 0.5201 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.4159, allocations: 0 / 0.5201 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.4159, allocations: 9.812 kB / 0.5201 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4159, allocations: 0 / 0.5201 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4159, allocations: 4 kB / 0.5201 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005929/0.4165, allocations: 0.4909 MB / 0.5206 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-05/0.4166, allocations: 26.17 kB / 0.5206 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.647e-05/0.4166, allocations: 2.531 kB / 0.5206 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005626/0.4172, allocations: 9.469 kB / 0.5206 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.565e-05/0.4173, allocations: 12.83 kB / 0.5206 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.4173, allocations: 14.67 kB / 0.5206 GB, free: 11.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.4173, allocations: 122.2 kB / 0.5207 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4173, allocations: 2.406 kB / 0.5207 GB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004889/0.4178, allocations: 103.1 kB / 0.5208 GB, free: 11.17 MB / 410.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.0004229/0.4182, allocations: 239.9 kB / 0.5211 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005405/0.4188, allocations: 314.1 kB / 0.5214 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4188, allocations: 4.125 kB / 0.5214 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.419, allocations: 172.7 kB / 0.5215 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4194, allocations: 39.41 kB / 0.5216 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.42, allocations: 251.3 kB / 0.5218 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.781e-05/0.42, allocations: 79.56 kB / 0.5219 GB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003134/0.4203, allocations: 66.92 kB / 0.522 GB, free: 10.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.4206, allocations: 43.22 kB / 0.522 GB, free: 10.62 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.4206, allocations: 0 / 0.522 GB, free: 10.62 MB / 410.7 MB Notification: Performance of Templates: time 0.01057/0.4311, allocations: 6.834 MB / 0.5287 GB, free: 9.707 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.778603701037355]