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.001057/0.001057, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002424, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007584/0.0007584, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009157/0.001674, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9716/0.9716, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09232/1.064, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2398/0.2398, allocations: 34.25 MB / 278.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02591/0.2657, allocations: 13.09 MB / 291.3 MB, free: 7.371 MB / 282.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: 0 / 292.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.018e-05/2.16e-05, allocations: 4.844 kB / 292.6 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1342/0.1342, allocations: 147.3 MB / 439.9 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1353, allocations: 1.195 MB / 441.1 MB, free: 1.266 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.849e-05/0.1354, allocations: 4 kB / 441.1 MB, free: 1.262 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1355, allocations: 43.69 kB / 441.1 MB, free: 1.219 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.006e-05/0.1355, allocations: 27.77 kB / 441.2 MB, free: 1.191 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1365, allocations: 429.4 kB / 441.6 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.644e-05/0.1366, allocations: 71.55 kB / 441.6 MB, free: 0.6992 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.1366, allocations: 7.984 kB / 441.6 MB, free: 0.6914 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.1367, allocations: 43.83 kB / 441.7 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.1368, allocations: 23.97 kB / 441.7 MB, free: 0.625 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1368, allocations: 4 kB / 441.7 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007822/0.1376, allocations: 488 kB / 442.2 MB, free: 148 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.1376, allocations: 7.938 kB / 442.2 MB, free: 140 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.1376, allocations: 16 kB / 442.2 MB, free: 124 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1656/0.3032, allocations: 289.2 kB / 442.5 MB, free: 4.383 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.638e-05/0.3033, allocations: 0 / 442.5 MB, free: 4.383 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3033, allocations: 1.062 kB / 442.5 MB, free: 4.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.3033, allocations: 0 / 442.5 MB, free: 4.383 MB / 426.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.0007595/0.304, allocations: 430.7 kB / 442.9 MB, free: 20.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.034e-05/0.3041, allocations: 9.781 kB / 442.9 MB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.3041, allocations: 14.17 kB / 442.9 MB, free: 20.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.3042, allocations: 117 kB / 443.1 MB, free: 19.94 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3042, allocations: 5.312 kB / 443.1 MB, free: 19.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.3043, allocations: 12.03 kB / 443.1 MB, free: 19.94 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3044, allocations: 55.19 kB / 443.1 MB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3044, allocations: 5.016 kB / 443.1 MB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.3044, allocations: 0.5312 kB / 443.1 MB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3044, allocations: 1.625 kB / 443.1 MB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.3045, allocations: 24.95 kB / 443.2 MB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.3048, allocations: 205.2 kB / 443.4 MB, free: 19.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/0.3049, allocations: 47.72 kB / 443.4 MB, free: 19.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.3049, allocations: 16.3 kB / 443.4 MB, free: 19.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000676/0.3056, allocations: 256.8 kB / 443.7 MB, free: 19.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.3056, allocations: 38.14 kB / 443.7 MB, free: 19.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.3056, allocations: 0 / 443.7 MB, free: 19.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.002479/0.3081, allocations: 0.6102 MB / 444.3 MB, free: 19.6 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3081, allocations: 54.09 kB / 444.4 MB, free: 19.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.3082, allocations: 106.1 kB / 444.5 MB, free: 19.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3082, allocations: 29.2 kB / 444.5 MB, free: 19.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.222e-05/0.3082, allocations: 91.39 kB / 444.6 MB, free: 19.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.3082, allocations: 53.92 kB / 444.6 MB, free: 19.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/0.3083, allocations: 41.2 kB / 444.7 MB, free: 19.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.3084, allocations: 324.7 kB / 445 MB, free: 18.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.3084, allocations: 67.34 kB / 445.1 MB, free: 18.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.207e-05/0.3085, allocations: 97 kB / 445.2 MB, free: 18.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.3086, allocations: 182.9 kB / 445.3 MB, free: 18.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3086, allocations: 0.9375 kB / 445.3 MB, free: 18.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001836/0.3088, allocations: 202.6 kB / 445.5 MB, free: 18.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3088, allocations: 5.906 kB / 445.6 MB, free: 18.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3088, allocations: 0 / 445.6 MB, free: 18.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.3089, allocations: 2.906 kB / 445.6 MB, free: 18.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3091, allocations: 67.19 kB / 445.6 MB, free: 18.87 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.3091, allocations: 3.906 kB / 445.6 MB, free: 18.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.3093, allocations: 21.19 kB / 445.6 MB, free: 18.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.3093, allocations: 11.86 kB / 445.7 MB, free: 18.86 MB / 442.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 8.41e-05/0.3094, allocations: 118 kB / 445.8 MB, free: 18.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.3095, allocations: 5.906 kB / 445.8 MB, free: 18.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.3098, allocations: 283.6 kB / 446.1 MB, free: 18.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3098, allocations: 7.031 kB / 446.1 MB, free: 18.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.3098, allocations: 0 / 446.1 MB, free: 18.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3098, allocations: 0.9375 kB / 446.1 MB, free: 18.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.3102, allocations: 426.8 kB / 446.5 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3102, allocations: 3.188 kB / 446.5 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.3104, allocations: 53.83 kB / 446.5 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.3105, allocations: 20.19 kB / 446.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3105, allocations: 0.75 kB / 446.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.3105, allocations: 7.938 kB / 446.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3105, allocations: 3.5 kB / 446.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3105, allocations: 0 / 446.6 MB, free: 18.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002017/0.3107, allocations: 306.2 kB / 446.9 MB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3107, allocations: 4.422 kB / 446.9 MB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.3109, allocations: 15.95 kB / 446.9 MB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.3109, allocations: 12.92 kB / 446.9 MB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.3109, allocations: 8.406 kB / 446.9 MB, free: 18.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.107e-05/0.311, allocations: 11.03 kB / 446.9 MB, free: 18.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.311, allocations: 0 / 446.9 MB, free: 18.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.3112, allocations: 106.6 kB / 447 MB, free: 18.36 MB / 442.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.0003135/0.3116, allocations: 221.7 kB / 447.2 MB, free: 18.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3118, allocations: 194 kB / 447.4 MB, free: 18.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3118, allocations: 0.9062 kB / 447.4 MB, free: 18.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.59e-05/0.3119, allocations: 111.2 kB / 447.5 MB, free: 18.25 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.3121, allocations: 50.42 kB / 447.6 MB, free: 18.24 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.3134, allocations: 251.7 kB / 447.8 MB, free: 18.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.181e-05/0.3135, allocations: 66.02 kB / 447.9 MB, free: 18.03 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.3137, allocations: 64.67 kB / 448 MB, free: 18.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.3139, allocations: 91.5 kB / 448 MB, free: 17.96 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3139, allocations: 0 / 448 MB, free: 17.96 MB / 442.7 MB Notification: Performance of Templates: time 0.008497/0.3224, allocations: 7.499 MB / 455.5 MB, free: 17.49 MB / 442.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 -ignoreHideResult -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.208786337636411]