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.001572/0.001572, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00128/0.00128, allocations: 168.7 kB / 24.91 MB, free: 9.195 MB / 18.57 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 0.9428/0.9428, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2405/0.2405, allocations: 34.26 MB / 296.1 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] 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 1.172e-06/1.172e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.844e-05, allocations: 5.656 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2898/0.2898, allocations: 146.8 MB / 472.1 MB, free: 16.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009326/0.2907, allocations: 1.191 MB / 473.3 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.2908, allocations: 0 / 473.3 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.2909, allocations: 34.56 kB / 473.4 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.2909, allocations: 31.66 kB / 473.4 MB, free: 16.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000949/0.2919, allocations: 436.1 kB / 473.8 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.559e-05/0.292, allocations: 76.41 kB / 473.9 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.292, allocations: 6.641 kB / 473.9 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2921, allocations: 36.84 kB / 473.9 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.043e-05/0.2922, allocations: 26.44 kB / 474 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.2922, allocations: 0 / 474 MB, free: 16.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000694/0.2929, allocations: 0.491 MB / 474.4 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.2929, allocations: 5.422 kB / 474.4 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.2929, allocations: 27.27 kB / 474.5 MB, free: 16.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.2932, allocations: 330.4 kB / 474.8 MB, free: 16.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2932, allocations: 0 / 474.8 MB, free: 16.27 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2932, allocations: 0 / 474.8 MB, free: 16.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.2932, allocations: 0 / 474.8 MB, free: 16.27 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.0003365/0.2936, allocations: 314.9 kB / 475.1 MB, free: 16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.2936, allocations: 8.688 kB / 475.1 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.2936, allocations: 17.34 kB / 475.1 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.31e-05/0.2937, allocations: 115.3 kB / 475.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2937, allocations: 4.172 kB / 475.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2937, allocations: 12.42 kB / 475.3 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.226e-05/0.2938, allocations: 59.78 kB / 475.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2938, allocations: 3.125 kB / 475.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.2938, allocations: 6 kB / 475.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2938, allocations: 0 / 475.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.2938, allocations: 20.14 kB / 475.3 MB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.2941, allocations: 200.5 kB / 475.5 MB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.529e-05/0.2941, allocations: 47.5 kB / 475.6 MB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.2942, allocations: 17.17 kB / 475.6 MB, free: 15.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005912/0.2947, allocations: 258 kB / 475.9 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.2948, allocations: 42.11 kB / 475.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.262e-06/0.2948, allocations: 0 / 475.9 MB, free: 15.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0026/0.2974, allocations: 0.5996 MB / 476.5 MB, free: 15.51 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.747e-05/0.2974, allocations: 58 kB / 476.6 MB, free: 15.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.767e-05/0.2974, allocations: 107.7 kB / 476.7 MB, free: 15.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.2974, allocations: 28.45 kB / 476.7 MB, free: 15.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.403e-05/0.2975, allocations: 96.47 kB / 476.8 MB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.733e-05/0.2975, allocations: 49.59 kB / 476.8 MB, free: 15.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.2975, allocations: 46.41 kB / 476.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.527e-05/0.2976, allocations: 317.6 kB / 477.2 MB, free: 14.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.167e-05/0.2976, allocations: 67.97 kB / 477.3 MB, free: 14.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.982e-05/0.2977, allocations: 89.97 kB / 477.3 MB, free: 14.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/0.2979, allocations: 186.9 kB / 477.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.2979, allocations: 0 / 477.5 MB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000189/0.2981, allocations: 203.5 kB / 477.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.2981, allocations: 9.406 kB / 477.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.2981, allocations: 1.203 kB / 477.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.2981, allocations: 2.656 kB / 477.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.2984, allocations: 57.95 kB / 477.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2984, allocations: 5.812 kB / 477.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.2986, allocations: 12.12 kB / 477.8 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.2986, allocations: 11.41 kB / 477.8 MB, free: 14.77 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 6.006e-05/0.2987, allocations: 115.9 kB / 477.9 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.2987, allocations: 18.39 kB / 478 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.299, allocations: 288.3 kB / 478.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.299, allocations: 2.969 kB / 478.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.299, allocations: 3.938 kB / 478.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.299, allocations: 3.672 kB / 478.2 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.2994, allocations: 416.3 kB / 478.6 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2994, allocations: 4 kB / 478.7 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.2997, allocations: 50.27 kB / 478.7 MB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.2997, allocations: 3.938 kB / 478.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2997, allocations: 7.891 kB / 478.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2997, allocations: 0 / 478.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2997, allocations: 0 / 478.7 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002055/0.2999, allocations: 305.6 kB / 479 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.2999, allocations: 18.52 kB / 479 MB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3, allocations: 5.031 kB / 479 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3002, allocations: 10.7 kB / 479 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3002, allocations: 21.58 kB / 479.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.3002, allocations: 5.109 kB / 479.1 MB, free: 14.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.064e-05/0.3002, allocations: 17.03 kB / 479.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3002, allocations: 0 / 479.1 MB, free: 14.24 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.3005, allocations: 105.2 kB / 479.2 MB, free: 14.23 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.0003128/0.3008, allocations: 223.2 kB / 479.4 MB, free: 14.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.301, allocations: 189.6 kB / 479.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.301, allocations: 2.219 kB / 479.6 MB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.3011, allocations: 113.1 kB / 479.7 MB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.3013, allocations: 39.53 kB / 479.7 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005388/0.3018, allocations: 241.4 kB / 480 MB, free: 13.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.746e-05/0.3018, allocations: 68.27 kB / 480 MB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000196/0.302, allocations: 66.88 kB / 480.1 MB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/0.3022, allocations: 87.27 kB / 480.2 MB, free: 13.79 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.3022, allocations: 0 / 480.2 MB, free: 13.79 MB / 410.7 MB Notification: Performance of Templates: time 0.007679/0.3099, allocations: 7.449 MB / 487.6 MB, free: 12.64 MB / 410.7 MB " [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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",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.2912620180286467]