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.001107/0.001107, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001703/0.00281, allocations: 449.8 kB / 10.44 MB, free: 252 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.001128/0.001128, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002636, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9887/0.9887, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09594/1.085, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.2424/0.2424, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02839/0.2707, allocations: 13.1 MB / 291.5 MB, free: 7.34 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.623e-06/1.623e-06, allocations: 0 / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.627e-05, allocations: 4.25 kB / 292.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1342/0.1343, allocations: 147.3 MB / 440.1 MB, free: 2.367 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009815/0.1353, allocations: 1.203 MB / 441.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.1353, allocations: 0 / 441.3 MB, free: 1.16 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.1354, allocations: 35.81 kB / 441.3 MB, free: 1.125 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.854e-05/0.1354, allocations: 31.7 kB / 441.4 MB, free: 1.094 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009157/0.1363, allocations: 429.4 kB / 441.8 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 9.1e-05/0.1364, allocations: 71.55 kB / 441.9 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.017e-05/0.1365, allocations: 4 kB / 441.9 MB, free: 0.5977 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.682e-05/0.1366, allocations: 51.88 kB / 441.9 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.1366, allocations: 23.91 kB / 441.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1366, allocations: 0 / 441.9 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007507/0.1374, allocations: 491.5 kB / 442.4 MB, free: 44 kB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.1374, allocations: 4 kB / 442.4 MB, free: 40 kB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.1374, allocations: 19.94 kB / 442.4 MB, free: 20 kB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1655/0.3029, allocations: 292.9 kB / 442.7 MB, free: 4.352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.398e-05/0.3029, allocations: 0.5625 kB / 442.7 MB, free: 4.352 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3029, allocations: 0 / 442.7 MB, free: 4.352 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3029, allocations: 3.906 kB / 442.7 MB, free: 4.352 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.0006116/0.3036, allocations: 431.6 kB / 443.2 MB, free: 20.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.3036, allocations: 9.969 kB / 443.2 MB, free: 20.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3036, allocations: 8.781 kB / 443.2 MB, free: 20.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/0.3037, allocations: 113.3 kB / 443.3 MB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3037, allocations: 6.188 kB / 443.3 MB, free: 19.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.3037, allocations: 8 kB / 443.3 MB, free: 19.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.466e-05/0.3038, allocations: 65.53 kB / 443.4 MB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3038, allocations: 4.984 kB / 443.4 MB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.3039, allocations: 0.5625 kB / 443.4 MB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3039, allocations: 1.656 kB / 443.4 MB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.876e-05/0.3039, allocations: 19.78 kB / 443.4 MB, free: 19.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.3041, allocations: 201.5 kB / 443.6 MB, free: 19.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.501e-05/0.3042, allocations: 55.89 kB / 443.6 MB, free: 19.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.464e-05/0.3042, allocations: 14.52 kB / 443.6 MB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005886/0.3048, allocations: 258.8 kB / 443.9 MB, free: 19.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.3048, allocations: 34.38 kB / 443.9 MB, free: 19.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.3048, allocations: 0 / 443.9 MB, free: 19.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.003067/0.3079, allocations: 0.7556 MB / 444.7 MB, free: 19.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3079, allocations: 57.22 kB / 444.7 MB, free: 19.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.838e-05/0.308, allocations: 109.9 kB / 444.9 MB, free: 19.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.308, allocations: 31.8 kB / 444.9 MB, free: 19.35 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.255e-05/0.308, allocations: 87.67 kB / 445 MB, free: 19.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3081, allocations: 54.42 kB / 445 MB, free: 19.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.3081, allocations: 40.5 kB / 445.1 MB, free: 19.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.3082, allocations: 325.5 kB / 445.4 MB, free: 18.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.3082, allocations: 69.03 kB / 445.4 MB, free: 18.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.385e-05/0.3083, allocations: 90.98 kB / 445.5 MB, free: 18.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.3084, allocations: 188.3 kB / 445.7 MB, free: 18.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3084, allocations: 0 / 445.7 MB, free: 18.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000173/0.3086, allocations: 207.8 kB / 445.9 MB, free: 18.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.3086, allocations: 7.531 kB / 445.9 MB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3086, allocations: 0 / 445.9 MB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3086, allocations: 4.031 kB / 445.9 MB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002902/0.3089, allocations: 59.81 kB / 446 MB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.3089, allocations: 2.812 kB / 446 MB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3091, allocations: 23.31 kB / 446 MB, free: 18.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.3091, allocations: 6.141 kB / 446 MB, free: 18.82 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 7.127e-05/0.3092, allocations: 116.3 kB / 446.1 MB, free: 18.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.313e-05/0.3093, allocations: 12.83 kB / 446.2 MB, free: 18.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.3096, allocations: 285.9 kB / 446.4 MB, free: 18.67 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.3096, allocations: 3.469 kB / 446.4 MB, free: 18.67 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3096, allocations: 1.469 kB / 446.4 MB, free: 18.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3096, allocations: 1.266 kB / 446.4 MB, free: 18.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.31, allocations: 423.7 kB / 446.9 MB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.31, allocations: 2.75 kB / 446.9 MB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002629/0.3102, allocations: 56.88 kB / 446.9 MB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/0.3103, allocations: 16.72 kB / 446.9 MB, free: 18.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3103, allocations: 4.344 kB / 446.9 MB, free: 18.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.3103, allocations: 12.08 kB / 446.9 MB, free: 18.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3103, allocations: 0 / 446.9 MB, free: 18.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3103, allocations: 0 / 446.9 MB, free: 18.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.3105, allocations: 302.8 kB / 447.2 MB, free: 18.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.3105, allocations: 6.75 kB / 447.2 MB, free: 18.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.3107, allocations: 15.17 kB / 447.3 MB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.3107, allocations: 17.69 kB / 447.3 MB, free: 18.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.3108, allocations: 7.547 kB / 447.3 MB, free: 18.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.09e-05/0.3108, allocations: 9.875 kB / 447.3 MB, free: 18.32 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3108, allocations: 0.875 kB / 447.3 MB, free: 18.32 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002651/0.311, allocations: 110.3 kB / 447.4 MB, free: 18.31 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.0002895/0.3113, allocations: 210.6 kB / 447.6 MB, free: 18.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3115, allocations: 194.7 kB / 447.8 MB, free: 18.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3115, allocations: 3.75 kB / 447.8 MB, free: 18.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.3116, allocations: 124.3 kB / 447.9 MB, free: 18.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.3118, allocations: 104.2 kB / 448 MB, free: 18.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3132, allocations: 256.6 kB / 448.3 MB, free: 17.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.3132, allocations: 65.33 kB / 448.3 MB, free: 17.92 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002106/0.3134, allocations: 74.44 kB / 448.4 MB, free: 17.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.3137, allocations: 83.27 kB / 448.5 MB, free: 17.85 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.3137, allocations: 3 kB / 448.5 MB, free: 17.85 MB / 442.7 MB Notification: Performance of Templates: time 0.007896/0.3216, allocations: 6.852 MB / 455.3 MB, free: 17.46 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2909930776804686]