Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001005/0.001005, allocations: 80.92 kB / 21.49 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.001169/0.001169, allocations: 170.8 kB / 24.91 MB, free: 8.762 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.9592/0.9592, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2312/0.2312, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.546e-05, allocations: 4.703 kB / 323.2 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.3058/0.3058, allocations: 146.8 MB / 470.1 MB, free: 16.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.3067, allocations: 1.197 MB / 471.3 MB, free: 16.67 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.3067, allocations: 4 kB / 471.3 MB, free: 16.66 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.3069, allocations: 32.86 kB / 471.3 MB, free: 16.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.823e-05/0.3069, allocations: 27.64 kB / 471.3 MB, free: 16.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008168/0.3077, allocations: 431.7 kB / 471.8 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.033e-05/0.3078, allocations: 74.33 kB / 471.8 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.3078, allocations: 9.156 kB / 471.9 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.3079, allocations: 44.11 kB / 471.9 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.769e-05/0.308, allocations: 16.47 kB / 471.9 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.308, allocations: 3.344 kB / 471.9 MB, free: 16.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006825/0.3087, allocations: 0.4943 MB / 472.4 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.3087, allocations: 3.578 kB / 472.4 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.3087, allocations: 24 kB / 472.4 MB, free: 16.62 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.309, allocations: 333 kB / 472.8 MB, free: 16.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.309, allocations: 3.312 kB / 472.8 MB, free: 16.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.309, allocations: 0 / 472.8 MB, free: 16.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.309, allocations: 2.859 kB / 472.8 MB, free: 16.61 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.0003421/0.3094, allocations: 312.1 kB / 473.1 MB, free: 16.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.3094, allocations: 12.5 kB / 473.1 MB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.3094, allocations: 13.27 kB / 473.1 MB, free: 16.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.444e-05/0.3095, allocations: 113.9 kB / 473.2 MB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3095, allocations: 2.75 kB / 473.2 MB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3095, allocations: 13.92 kB / 473.2 MB, free: 16.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.64e-05/0.3096, allocations: 62.5 kB / 473.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3096, allocations: 3.281 kB / 473.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.3096, allocations: 0 / 473.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.3096, allocations: 0 / 473.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.177e-05/0.3096, allocations: 24.16 kB / 473.3 MB, free: 16.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002158/0.3099, allocations: 200.9 kB / 473.5 MB, free: 16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.49e-05/0.3099, allocations: 54.2 kB / 473.6 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.3099, allocations: 16.83 kB / 473.6 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005837/0.3105, allocations: 258.8 kB / 473.8 MB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.3105, allocations: 36.06 kB / 473.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.3105, allocations: 1.094 kB / 473.9 MB, free: 15.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.002603/0.3131, allocations: 0.5962 MB / 474.5 MB, free: 15.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.3132, allocations: 61.22 kB / 474.5 MB, free: 15.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.3132, allocations: 103.7 kB / 474.6 MB, free: 15.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.3132, allocations: 32.11 kB / 474.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.3132, allocations: 95.25 kB / 474.7 MB, free: 15.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.3133, allocations: 54.14 kB / 474.8 MB, free: 15.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.3133, allocations: 37.22 kB / 474.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.26e-05/0.3134, allocations: 320.6 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.3134, allocations: 69.67 kB / 475.2 MB, free: 15.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.3135, allocations: 91.34 kB / 475.3 MB, free: 15.17 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.3137, allocations: 189.1 kB / 475.5 MB, free: 15.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3137, allocations: 2.562 kB / 475.5 MB, free: 15.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002031/0.3139, allocations: 204.7 kB / 475.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3139, allocations: 5.656 kB / 475.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.3139, allocations: 4.344 kB / 475.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3139, allocations: 4.672 kB / 475.7 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.3142, allocations: 56.25 kB / 475.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.3142, allocations: 2.344 kB / 475.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3144, allocations: 16.92 kB / 475.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.3144, allocations: 9.75 kB / 475.8 MB, free: 15.11 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.869e-05/0.3145, allocations: 118.8 kB / 475.9 MB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.648e-05/0.3145, allocations: 12.25 kB / 475.9 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.3148, allocations: 288.5 kB / 476.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3148, allocations: 3.094 kB / 476.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3148, allocations: 3.938 kB / 476.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3148, allocations: 0 / 476.2 MB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003826/0.3152, allocations: 426.8 kB / 476.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3152, allocations: 2.969 kB / 476.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3155, allocations: 43.03 kB / 476.7 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3155, allocations: 6.156 kB / 476.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3155, allocations: 12.11 kB / 476.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3155, allocations: 0 / 476.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3155, allocations: 0 / 476.7 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3157, allocations: 298.3 kB / 477 MB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.3157, allocations: 15.86 kB / 477 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.3157, allocations: 7.438 kB / 477 MB, free: 14.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3159, allocations: 14.23 kB / 477 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.316, allocations: 14.52 kB / 477 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.316, allocations: 9.031 kB / 477 MB, free: 14.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.578e-06/0.316, allocations: 10.75 kB / 477.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.316, allocations: 0 / 477.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.3162, allocations: 104.3 kB / 477.2 MB, free: 14.57 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.0002751/0.3165, allocations: 222.8 kB / 477.4 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.3167, allocations: 195.9 kB / 477.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3167, allocations: 3.625 kB / 477.6 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-05/0.3168, allocations: 106.6 kB / 477.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.317, allocations: 40.55 kB / 477.7 MB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.3175, allocations: 244.7 kB / 477.9 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.808e-05/0.3175, allocations: 63.92 kB / 478 MB, free: 14.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.3177, allocations: 73.42 kB / 478.1 MB, free: 14.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.3179, allocations: 87.8 kB / 478.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3179, allocations: 0 / 478.2 MB, free: 14.12 MB / 410.7 MB Notification: Performance of Templates: time 0.007302/0.3252, allocations: 7.451 MB / 485.6 MB, free: 13.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.3254562220536172]