Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.00139/0.00139, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 14.72 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.001506/0.001506, allocations: 167.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 177.2 MB / 204.9 MB, free: 9.074 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 34.26 MB / 295.5 MB, free: 14.62 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 63.89 kB / 443.1 MB, free: 6.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2912, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.158/0.4492, allocations: 133.3 MB / 0.6274 GB, free: 76 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.001681/0.4509, allocations: 1.063 MB / 0.6284 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.4509, allocations: 7.938 kB / 0.6284 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.4511, allocations: 31.83 kB / 0.6284 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.428e-05/0.4511, allocations: 23.78 kB / 0.6285 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.4524, allocations: 433.9 kB / 0.6289 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4526, allocations: 71.53 kB / 0.629 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.4526, allocations: 0 / 0.629 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.4527, allocations: 39.91 kB / 0.629 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.985e-05/0.4528, allocations: 23.92 kB / 0.629 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.4528, allocations: 0 / 0.629 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.4538, allocations: 466.8 kB / 0.6295 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.4539, allocations: 15.91 kB / 0.6295 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.4539, allocations: 19.94 kB / 0.6295 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005402/0.4544, allocations: 310.7 kB / 0.6298 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4544, allocations: 0 / 0.6298 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4544, allocations: 0 / 0.6298 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.4544, allocations: 0 / 0.6298 GB, free: 13.6 MB / 0.5294 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.000584/0.455, allocations: 329.7 kB / 0.6301 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.4551, allocations: 15.97 kB / 0.6301 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.4551, allocations: 4.938 kB / 0.6301 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4552, allocations: 121 kB / 0.6302 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4552, allocations: 8 kB / 0.6302 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4552, allocations: 4 kB / 0.6302 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.4554, allocations: 65.67 kB / 0.6303 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.4554, allocations: 4 kB / 0.6303 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.4554, allocations: 4 kB / 0.6303 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.4554, allocations: 3.938 kB / 0.6303 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.375e-05/0.4555, allocations: 47.97 kB / 0.6304 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.4559, allocations: 260.3 kB / 0.6306 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.4561, allocations: 66.53 kB / 0.6307 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.45e-05/0.4561, allocations: 16.86 kB / 0.6307 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00147/0.4576, allocations: 251.8 kB / 0.6309 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.4576, allocations: 38.73 kB / 0.631 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.4576, allocations: 3.938 kB / 0.631 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.007376/0.465, allocations: 0.6497 MB / 0.6316 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.465, allocations: 59.41 kB / 0.6317 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/0.4651, allocations: 101.8 kB / 0.6318 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.4652, allocations: 33.7 kB / 0.6318 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.4652, allocations: 92.27 kB / 0.6319 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.4653, allocations: 51.56 kB / 0.6319 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.4654, allocations: 45.67 kB / 0.632 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4656, allocations: 318.8 kB / 0.6323 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/0.4658, allocations: 83.95 kB / 0.6324 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.466, allocations: 110.4 kB / 0.6325 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.4665, allocations: 190.5 kB / 0.6326 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4665, allocations: 0 / 0.6326 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000607/0.4671, allocations: 256.3 kB / 0.6329 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4672, allocations: 8 kB / 0.6329 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4672, allocations: 8 kB / 0.6329 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4672, allocations: 0 / 0.6329 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007567/0.4679, allocations: 55.88 kB / 0.633 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.4679, allocations: 0 / 0.633 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005944/0.4685, allocations: 16.56 kB / 0.633 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.661e-05/0.4686, allocations: 15.97 kB / 0.633 GB, free: 10.12 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.4687, allocations: 122.4 kB / 0.6331 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.4688, allocations: 11.94 kB / 0.6331 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008497/0.4696, allocations: 343.8 kB / 0.6334 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4696, allocations: 4 kB / 0.6335 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4696, allocations: 0 / 0.6335 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.4696, allocations: 3.984 kB / 0.6335 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.4708, allocations: 0.6851 MB / 0.6341 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4708, allocations: 4 kB / 0.6341 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.4715, allocations: 51.89 kB / 0.6342 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.4715, allocations: 0 / 0.6342 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.079e-05/0.4716, allocations: 4 kB / 0.6342 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4716, allocations: 0 / 0.6342 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4716, allocations: 0 / 0.6342 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006493/0.4722, allocations: 361.7 kB / 0.6345 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.4723, allocations: 19.92 kB / 0.6345 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.4724, allocations: 12.23 kB / 0.6346 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006018/0.473, allocations: 11.94 kB / 0.6346 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.473, allocations: 23.97 kB / 0.6346 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.4731, allocations: 7.984 kB / 0.6346 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.412e-05/0.4731, allocations: 87.22 kB / 0.6347 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4731, allocations: 0 / 0.6347 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004758/0.4736, allocations: 103.7 kB / 0.6348 GB, free: 8.188 MB / 0.5294 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 (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.0004303/0.474, allocations: 226.8 kB / 0.635 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000562/0.4746, allocations: 203.8 kB / 0.6352 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4746, allocations: 0 / 0.6352 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.4748, allocations: 111.8 kB / 0.6353 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.4753, allocations: 29.19 kB / 0.6353 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006115/0.4759, allocations: 252.5 kB / 0.6356 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.924e-05/0.476, allocations: 83.5 kB / 0.6356 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003325/0.4763, allocations: 64.84 kB / 0.6357 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.4765, allocations: 40.39 kB / 0.6357 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.4765, allocations: 0 / 0.6357 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of Templates: time 0.01186/0.4884, allocations: 6.752 MB / 0.6423 GB, free: 432 kB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.335645794053562]