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.001027/0.001027, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001107/0.001107, allocations: 162.9 kB / 24.99 MB, free: 9.273 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.3326/0.3326, allocations: 34.26 MB / 296 MB, free: 0.7539 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.423e-06/1.423e-06, allocations: 3.938 kB / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.662e-05/2.804e-05, allocations: 2.312 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3025/0.3026, allocations: 147.1 MB / 0.5128 GB, free: 16.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.3036, allocations: 1.18 MB / 0.514 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.3036, allocations: 3 kB / 0.514 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.3038, allocations: 25.81 kB / 0.514 GB, free: 15.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.529e-05/0.3039, allocations: 40.44 kB / 0.5141 GB, free: 15.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.3052, allocations: 444.7 kB / 0.5145 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3053, allocations: 76.55 kB / 0.5146 GB, free: 15.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.3053, allocations: 4.641 kB / 0.5146 GB, free: 15.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3055, allocations: 45.19 kB / 0.5146 GB, free: 15.31 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.608e-05/0.3055, allocations: 26.78 kB / 0.5146 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.3055, allocations: 2.656 kB / 0.5146 GB, free: 15.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008734/0.3064, allocations: 468 kB / 0.5151 GB, free: 15.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.3064, allocations: 7.609 kB / 0.5151 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.3065, allocations: 19.69 kB / 0.5151 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.3069, allocations: 341.3 kB / 0.5154 GB, free: 15.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3069, allocations: 0 / 0.5154 GB, free: 15.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3069, allocations: 3.062 kB / 0.5154 GB, free: 15.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3069, allocations: 0.9844 kB / 0.5154 GB, free: 15.03 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.0004499/0.3074, allocations: 436.3 kB / 0.5159 GB, free: 14.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.3074, allocations: 9.375 kB / 0.5159 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.3075, allocations: 15.94 kB / 0.5159 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.3075, allocations: 111.1 kB / 0.516 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3076, allocations: 3.031 kB / 0.516 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.3076, allocations: 11.23 kB / 0.516 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3077, allocations: 66.75 kB / 0.5161 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.3077, allocations: 0.9375 kB / 0.5161 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.3077, allocations: 2.938 kB / 0.5161 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3077, allocations: 0 / 0.5161 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.902e-05/0.3078, allocations: 28.06 kB / 0.5161 GB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.3081, allocations: 301.8 kB / 0.5164 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.965e-05/0.3082, allocations: 62.75 kB / 0.5164 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.3082, allocations: 22.92 kB / 0.5165 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006959/0.3089, allocations: 252.2 kB / 0.5167 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.3089, allocations: 38.08 kB / 0.5167 GB, free: 13.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.3089, allocations: 0 / 0.5167 GB, free: 13.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.00338/0.3123, allocations: 0.725 MB / 0.5174 GB, free: 13.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.3123, allocations: 57.88 kB / 0.5175 GB, free: 13.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.3124, allocations: 165.9 kB / 0.5177 GB, free: 13.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3124, allocations: 29.7 kB / 0.5177 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.615e-05/0.3124, allocations: 140.5 kB / 0.5178 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.3124, allocations: 47.75 kB / 0.5179 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.677e-05/0.3125, allocations: 47.09 kB / 0.5179 GB, free: 13.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.3126, allocations: 0.4931 MB / 0.5184 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.3127, allocations: 104.1 kB / 0.5185 GB, free: 12.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3128, allocations: 138 kB / 0.5186 GB, free: 12.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.313, allocations: 255.6 kB / 0.5189 GB, free: 12.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.313, allocations: 0 / 0.5189 GB, free: 12.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000324/0.3134, allocations: 303.9 kB / 0.5192 GB, free: 12.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3134, allocations: 4.406 kB / 0.5192 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3134, allocations: 8 kB / 0.5192 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3134, allocations: 2.219 kB / 0.5192 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.3137, allocations: 54.73 kB / 0.5192 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3137, allocations: 1.719 kB / 0.5192 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3139, allocations: 14.33 kB / 0.5192 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.314, allocations: 9.109 kB / 0.5192 GB, free: 12.62 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.983e-05/0.314, allocations: 167.8 kB / 0.5194 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.3141, allocations: 13.44 kB / 0.5194 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.3145, allocations: 382.8 kB / 0.5198 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.3145, allocations: 2.688 kB / 0.5198 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.3145, allocations: 0 / 0.5198 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3145, allocations: 0 / 0.5198 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.3151, allocations: 0.7593 MB / 0.5205 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3151, allocations: 0 / 0.5205 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.3154, allocations: 44.33 kB / 0.5206 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3154, allocations: 6.875 kB / 0.5206 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3154, allocations: 10.88 kB / 0.5206 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3154, allocations: 0 / 0.5206 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.3154, allocations: 0 / 0.5206 GB, free: 11.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.3157, allocations: 448.9 kB / 0.521 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.3157, allocations: 29.56 kB / 0.521 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.3158, allocations: 2.188 kB / 0.521 GB, free: 11.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.316, allocations: 16.81 kB / 0.5211 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.316, allocations: 12.98 kB / 0.5211 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.316, allocations: 14.39 kB / 0.5211 GB, free: 11.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.747e-05/0.3161, allocations: 129.2 kB / 0.5212 GB, free: 11.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3161, allocations: 3.062 kB / 0.5212 GB, free: 11.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.3164, allocations: 101.3 kB / 0.5213 GB, free: 11.35 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.0003042/0.3167, allocations: 235.9 kB / 0.5215 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.317, allocations: 271.2 kB / 0.5218 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.317, allocations: 0 / 0.5218 GB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3171, allocations: 147.7 kB / 0.5219 GB, free: 11.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3174, allocations: 39.16 kB / 0.522 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006289/0.318, allocations: 253 kB / 0.5222 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.879e-05/0.318, allocations: 65.53 kB / 0.5223 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002056/0.3182, allocations: 65.52 kB / 0.5223 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001399/0.3184, allocations: 31.88 kB / 0.5224 GB, free: 10.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3184, allocations: 0 / 0.5224 GB, free: 10.86 MB / 410.7 MB Notification: Performance of Templates: time 0.007315/0.3257, allocations: 6.853 MB / 0.5291 GB, free: 9.98 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 -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.736015961971134]