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.001708/0.001708, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001213/0.001213, allocations: 169 kB / 24.14 MB, free: 360 kB / 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 0.8946/0.8946, allocations: 158.6 MB / 186 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] 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.1396/0.1396, allocations: 32.38 MB / 270.7 MB, free: 14.6 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 1.613e-06/1.613e-06, allocations: 0 / 299 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.449e-05, allocations: 2.312 kB / 299 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.246/0.246, allocations: 145.5 MB / 444.5 MB, free: 12.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.2492, allocations: 3.628 MB / 448.2 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.183e-05/0.2492, allocations: 4 kB / 448.2 MB, free: 8.719 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.2494, allocations: 31.81 kB / 448.2 MB, free: 8.688 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.867e-05/0.2495, allocations: 31.7 kB / 448.2 MB, free: 8.656 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.2506, allocations: 445.5 kB / 448.7 MB, free: 8.219 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2507, allocations: 71.55 kB / 448.7 MB, free: 8.148 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.2507, allocations: 3.984 kB / 448.7 MB, free: 8.145 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2508, allocations: 43.83 kB / 448.8 MB, free: 8.102 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.927e-05/0.2509, allocations: 27.97 kB / 448.8 MB, free: 8.074 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2509, allocations: 3.938 kB / 448.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007849/0.2517, allocations: 469.3 kB / 449.3 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.2517, allocations: 7.922 kB / 449.3 MB, free: 7.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.2517, allocations: 20 kB / 449.3 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003729/0.2521, allocations: 331 kB / 449.6 MB, free: 7.262 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2521, allocations: 0 / 449.6 MB, free: 7.262 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2521, allocations: 4 kB / 449.6 MB, free: 7.258 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.2521, allocations: 3.938 kB / 449.6 MB, free: 7.254 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.0004061/0.2525, allocations: 308 kB / 449.9 MB, free: 6.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2525, allocations: 12.03 kB / 449.9 MB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.2525, allocations: 12.92 kB / 450 MB, free: 6.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.2526, allocations: 113.7 kB / 450.1 MB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.2526, allocations: 12.56 kB / 450.1 MB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2527, allocations: 4 kB / 450.1 MB, free: 6.754 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.2527, allocations: 60.31 kB / 450.1 MB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2528, allocations: 4 kB / 450.1 MB, free: 6.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.2528, allocations: 4 kB / 450.1 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2528, allocations: 0 / 450.1 MB, free: 6.684 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.127e-05/0.2528, allocations: 19.98 kB / 450.2 MB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.2531, allocations: 209.8 kB / 450.4 MB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.226e-05/0.2531, allocations: 54.48 kB / 450.4 MB, free: 6.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.2531, allocations: 20.84 kB / 450.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.2538, allocations: 263.7 kB / 450.7 MB, free: 6.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2538, allocations: 39.42 kB / 450.7 MB, free: 6.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2538, allocations: 4 kB / 450.7 MB, free: 6.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.002462/0.2562, allocations: 0.5923 MB / 451.3 MB, free: 5.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2563, allocations: 59.34 kB / 451.4 MB, free: 5.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.648e-05/0.2563, allocations: 106.7 kB / 451.5 MB, free: 5.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.402e-05/0.2564, allocations: 33.7 kB / 451.5 MB, free: 5.219 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.684e-05/0.2564, allocations: 96.25 kB / 451.6 MB, free: 5.121 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.2564, allocations: 43.64 kB / 451.7 MB, free: 5.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.2565, allocations: 45.66 kB / 451.7 MB, free: 5.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.043e-05/0.2566, allocations: 318.8 kB / 452 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.678e-05/0.2566, allocations: 71.92 kB / 452.1 MB, free: 4.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.508e-05/0.2567, allocations: 91.78 kB / 452.2 MB, free: 4.539 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.2569, allocations: 182.4 kB / 452.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2569, allocations: 4 kB / 452.4 MB, free: 4.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001957/0.2571, allocations: 203.9 kB / 452.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2571, allocations: 8 kB / 452.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.2571, allocations: 0 / 452.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2571, allocations: 0 / 452.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.2574, allocations: 47.89 kB / 452.6 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2574, allocations: 3.938 kB / 452.6 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.2575, allocations: 19.98 kB / 452.6 MB, free: 4.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.2576, allocations: 7.984 kB / 452.7 MB, free: 4.059 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 7.555e-05/0.2576, allocations: 121.9 kB / 452.8 MB, free: 3.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.2577, allocations: 11.98 kB / 452.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.258, allocations: 290.2 kB / 453.1 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.258, allocations: 0 / 453.1 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.258, allocations: 3.938 kB / 453.1 MB, free: 3.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.258, allocations: 4 kB / 453.1 MB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005093/0.2585, allocations: 425.9 kB / 453.5 MB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.2585, allocations: 0 / 453.5 MB, free: 3.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.2588, allocations: 39.95 kB / 453.5 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.2588, allocations: 4 kB / 453.5 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2588, allocations: 11.92 kB / 453.5 MB, free: 3.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2588, allocations: 3.938 kB / 453.5 MB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.2588, allocations: 0 / 453.5 MB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.259, allocations: 299.4 kB / 453.8 MB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.2591, allocations: 19.88 kB / 453.9 MB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.2591, allocations: 7.938 kB / 453.9 MB, free: 2.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.2593, allocations: 15.98 kB / 453.9 MB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.322e-05/0.2593, allocations: 11.97 kB / 453.9 MB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.2594, allocations: 7.984 kB / 453.9 MB, free: 2.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.58e-05/0.2594, allocations: 11.17 kB / 453.9 MB, free: 2.742 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2594, allocations: 0 / 453.9 MB, free: 2.742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002981/0.2597, allocations: 107.7 kB / 454 MB, free: 2.637 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.0003632/0.26, allocations: 212 kB / 454.2 MB, free: 2.422 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.2603, allocations: 196.7 kB / 454.4 MB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2603, allocations: 128 / 454.4 MB, free: 2.227 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.2603, allocations: 112.2 kB / 454.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.2606, allocations: 34.38 kB / 454.6 MB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.2612, allocations: 247.2 kB / 454.8 MB, free: 1.816 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.391e-05/0.2613, allocations: 75.38 kB / 454.9 MB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.2615, allocations: 64.83 kB / 454.9 MB, free: 1.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002098/0.2617, allocations: 83.33 kB / 455 MB, free: 1.578 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2617, allocations: 0 / 455 MB, free: 1.578 MB / 410.7 MB Notification: Performance of Templates: time 0.1741/0.4357, allocations: 7.434 MB / 462.5 MB, free: 13.52 MB / 410.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.562667327001691]