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.001233/0.001233, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.00124/0.00124, allocations: 168.9 kB / 25.61 MB, free: 8.879 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.8429/0.8429, allocations: 177.1 MB / 206.1 MB, free: 4.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.14/0.14, allocations: 34.24 MB / 296.8 MB, free: 13.92 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.372e-06/1.372e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/1.976e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2471/0.2471, allocations: 144.7 MB / 0.5117 GB, free: 16.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.2482, allocations: 1.165 MB / 0.5128 GB, free: 16.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.2482, allocations: 2.344 kB / 0.5128 GB, free: 16.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001607/0.2484, allocations: 34.42 kB / 0.5128 GB, free: 16.44 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.2484, allocations: 31.38 kB / 0.5129 GB, free: 16.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.2496, allocations: 446.6 kB / 0.5133 GB, free: 16.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2497, allocations: 78.05 kB / 0.5134 GB, free: 16.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.534e-05/0.2497, allocations: 7.719 kB / 0.5134 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.035e-05/0.2498, allocations: 42.61 kB / 0.5134 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.2499, allocations: 21.62 kB / 0.5134 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.2499, allocations: 0 / 0.5134 GB, free: 16.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008511/0.2507, allocations: 475.5 kB / 0.5139 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.2507, allocations: 9.594 kB / 0.5139 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2508, allocations: 17.45 kB / 0.5139 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.2512, allocations: 344.1 kB / 0.5142 GB, free: 16.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2512, allocations: 0 / 0.5142 GB, free: 16.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2512, allocations: 0 / 0.5142 GB, free: 16.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.2512, allocations: 0 / 0.5142 GB, free: 16.38 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.0003747/0.2516, allocations: 440.7 kB / 0.5147 GB, free: 15.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.2516, allocations: 8.906 kB / 0.5147 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.2516, allocations: 11.17 kB / 0.5147 GB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.886e-05/0.2517, allocations: 120.6 kB / 0.5148 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.2517, allocations: 2.219 kB / 0.5148 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.2517, allocations: 6.688 kB / 0.5148 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.2518, allocations: 59.84 kB / 0.5149 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.2518, allocations: 3 kB / 0.5149 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.2518, allocations: 7.797 kB / 0.5149 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2518, allocations: 0 / 0.5149 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.852e-05/0.2519, allocations: 19.98 kB / 0.5149 GB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002378/0.2521, allocations: 284 kB / 0.5152 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.778e-05/0.2522, allocations: 61.25 kB / 0.5152 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.2522, allocations: 19.66 kB / 0.5152 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000775/0.253, allocations: 254.9 kB / 0.5155 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.253, allocations: 41.3 kB / 0.5155 GB, free: 15.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.203e-06/0.253, allocations: 0 / 0.5155 GB, free: 15.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.004023/0.257, allocations: 0.6661 MB / 0.5162 GB, free: 15.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.257, allocations: 51.41 kB / 0.5162 GB, free: 15.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.679e-05/0.2571, allocations: 167.4 kB / 0.5164 GB, free: 15.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.2571, allocations: 25.7 kB / 0.5164 GB, free: 15.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.2571, allocations: 140.7 kB / 0.5165 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.2572, allocations: 53.42 kB / 0.5166 GB, free: 14.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/0.2573, allocations: 51.62 kB / 0.5166 GB, free: 14.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.595e-05/0.2573, allocations: 0.4915 MB / 0.5171 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.2574, allocations: 84.44 kB / 0.5172 GB, free: 14.43 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2575, allocations: 123.1 kB / 0.5173 GB, free: 14.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.2578, allocations: 214.2 kB / 0.5175 GB, free: 14.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2578, allocations: 0 / 0.5175 GB, free: 14.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003594/0.2581, allocations: 268.7 kB / 0.5178 GB, free: 14.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2581, allocations: 8.281 kB / 0.5178 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2581, allocations: 4.062 kB / 0.5178 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2582, allocations: 3.938 kB / 0.5178 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.2586, allocations: 53.48 kB / 0.5178 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.2586, allocations: 3.469 kB / 0.5179 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002985/0.2589, allocations: 14.95 kB / 0.5179 GB, free: 14.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.2589, allocations: 8.328 kB / 0.5179 GB, free: 14.31 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 7.239e-05/0.259, allocations: 163.8 kB / 0.518 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.259, allocations: 15.23 kB / 0.518 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.2595, allocations: 341.7 kB / 0.5184 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2595, allocations: 5.938 kB / 0.5184 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2595, allocations: 0 / 0.5184 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2595, allocations: 0 / 0.5184 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006327/0.2601, allocations: 0.7009 MB / 0.5191 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2601, allocations: 1.094 kB / 0.5191 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.2605, allocations: 47.25 kB / 0.5191 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2605, allocations: 7.938 kB / 0.5191 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.2605, allocations: 10.64 kB / 0.5191 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2605, allocations: 0 / 0.5191 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2605, allocations: 2.25 kB / 0.5191 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.2609, allocations: 409.7 kB / 0.5195 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.2609, allocations: 29.06 kB / 0.5195 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.279e-05/0.261, allocations: 6.625 kB / 0.5195 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.2613, allocations: 7.422 kB / 0.5196 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.2613, allocations: 20.44 kB / 0.5196 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.2613, allocations: 7.719 kB / 0.5196 GB, free: 13.41 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.622e-05/0.2614, allocations: 130.8 kB / 0.5197 GB, free: 13.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2614, allocations: 0 / 0.5197 GB, free: 13.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003802/0.2617, allocations: 105.7 kB / 0.5198 GB, free: 13.28 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.0003021/0.262, allocations: 238.3 kB / 0.52 GB, free: 13.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002856/0.2623, allocations: 224.8 kB / 0.5203 GB, free: 13.15 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2623, allocations: 0 / 0.5203 GB, free: 13.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.2625, allocations: 131.3 kB / 0.5204 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.2628, allocations: 39.36 kB / 0.5204 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005775/0.2634, allocations: 245.7 kB / 0.5206 GB, free: 12.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.858e-05/0.2634, allocations: 64.92 kB / 0.5207 GB, free: 12.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002641/0.2636, allocations: 69.28 kB / 0.5208 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.2639, allocations: 116.2 kB / 0.5209 GB, free: 12.8 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2639, allocations: 0 / 0.5209 GB, free: 12.8 MB / 410.7 MB Notification: Performance of Templates: time 0.009037/0.2729, allocations: 7.545 MB / 0.5283 GB, free: 11.55 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.319873044732958]