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.001062/0.001062, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001582/0.001582, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9699/0.9699, allocations: 177.2 MB / 205 MB, free: 5.613 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.2414/0.2414, allocations: 34.26 MB / 295.7 MB, free: 0.7695 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.803e-06/1.803e-06, allocations: 0 / 378 MB, free: 2.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.685e-05, allocations: 6.25 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2846/0.2846, allocations: 147.4 MB / 0.5131 GB, free: 16.21 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.2856, allocations: 1.189 MB / 0.5143 GB, free: 15.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.2857, allocations: 3.312 kB / 0.5143 GB, free: 15.44 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.2858, allocations: 26.66 kB / 0.5143 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.584e-05/0.2859, allocations: 32.02 kB / 0.5144 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.2872, allocations: 448.6 kB / 0.5148 GB, free: 15.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2873, allocations: 73.58 kB / 0.5149 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2873, allocations: 7.547 kB / 0.5149 GB, free: 15.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.2874, allocations: 54.08 kB / 0.5149 GB, free: 15.13 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.2875, allocations: 14.45 kB / 0.5149 GB, free: 15.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.2875, allocations: 7.141 kB / 0.5149 GB, free: 15.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.2885, allocations: 468.6 kB / 0.5154 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.2885, allocations: 11.95 kB / 0.5154 GB, free: 14.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.293e-05/0.2886, allocations: 19.48 kB / 0.5154 GB, free: 14.97 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006251/0.2892, allocations: 333.6 kB / 0.5157 GB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2892, allocations: 0 / 0.5157 GB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.2892, allocations: 4 kB / 0.5157 GB, free: 14.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.2892, allocations: 4.25 kB / 0.5157 GB, free: 14.86 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.0005618/0.2898, allocations: 438.6 kB / 0.5162 GB, free: 14.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2898, allocations: 11.56 kB / 0.5162 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.2899, allocations: 11.94 kB / 0.5162 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.29, allocations: 111.4 kB / 0.5163 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.29, allocations: 7.062 kB / 0.5163 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.29, allocations: 2.344 kB / 0.5163 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2901, allocations: 66.73 kB / 0.5164 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2901, allocations: 1.078 kB / 0.5164 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.2902, allocations: 4 kB / 0.5164 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2902, allocations: 2.719 kB / 0.5164 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.49e-05/0.2902, allocations: 27.91 kB / 0.5164 GB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.2906, allocations: 302.4 kB / 0.5167 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.2907, allocations: 67.56 kB / 0.5167 GB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.2908, allocations: 18.67 kB / 0.5168 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.2914, allocations: 251 kB / 0.517 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.2915, allocations: 40.17 kB / 0.517 GB, free: 13.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.2915, allocations: 0 / 0.517 GB, free: 13.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003277/0.2947, allocations: 0.7267 MB / 0.5178 GB, free: 13.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.2948, allocations: 51.41 kB / 0.5178 GB, free: 13.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.44e-05/0.2948, allocations: 165.5 kB / 0.518 GB, free: 13.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2948, allocations: 29.64 kB / 0.518 GB, free: 13.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.2949, allocations: 145.7 kB / 0.5181 GB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.2949, allocations: 52.5 kB / 0.5182 GB, free: 13.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.191e-05/0.295, allocations: 48.81 kB / 0.5182 GB, free: 13.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.025e-05/0.295, allocations: 499.1 kB / 0.5187 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2951, allocations: 106.4 kB / 0.5188 GB, free: 12.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.2953, allocations: 140.3 kB / 0.5189 GB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.2955, allocations: 251.8 kB / 0.5192 GB, free: 12.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2955, allocations: 0 / 0.5192 GB, free: 12.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003245/0.2958, allocations: 299.4 kB / 0.5195 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2958, allocations: 5.656 kB / 0.5195 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2958, allocations: 6.516 kB / 0.5195 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2959, allocations: 6.688 kB / 0.5195 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.2962, allocations: 53.22 kB / 0.5195 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2962, allocations: 4.5 kB / 0.5195 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.2964, allocations: 11.62 kB / 0.5195 GB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.2964, allocations: 16.72 kB / 0.5196 GB, free: 12.45 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.326e-05/0.2965, allocations: 163.6 kB / 0.5197 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.2966, allocations: 5.844 kB / 0.5197 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.297, allocations: 382.3 kB / 0.5201 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.297, allocations: 2.531 kB / 0.5201 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.297, allocations: 0 / 0.5201 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.297, allocations: 0 / 0.5201 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.2976, allocations: 0.7638 MB / 0.5208 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2976, allocations: 2.594 kB / 0.5208 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002887/0.2979, allocations: 44.23 kB / 0.5209 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.2979, allocations: 0 / 0.5209 GB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2979, allocations: 9.078 kB / 0.5209 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2979, allocations: 7.344 kB / 0.5209 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2979, allocations: 2.719 kB / 0.5209 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.2983, allocations: 445.1 kB / 0.5213 GB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.582e-05/0.2983, allocations: 25.69 kB / 0.5213 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.2983, allocations: 0 / 0.5213 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2986, allocations: 12.05 kB / 0.5214 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.2986, allocations: 16.45 kB / 0.5214 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.2986, allocations: 19.39 kB / 0.5214 GB, free: 11.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.167e-05/0.2987, allocations: 125 kB / 0.5215 GB, free: 11.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2987, allocations: 0 / 0.5215 GB, free: 11.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003339/0.299, allocations: 105.2 kB / 0.5216 GB, free: 11.18 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.0003335/0.2993, allocations: 230.2 kB / 0.5218 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.2996, allocations: 270 kB / 0.5221 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2996, allocations: 0 / 0.5221 GB, free: 11.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.2998, allocations: 151.8 kB / 0.5222 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.3, allocations: 41.3 kB / 0.5223 GB, free: 10.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000635/0.3007, allocations: 261 kB / 0.5225 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.761e-05/0.3007, allocations: 62.39 kB / 0.5226 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001984/0.3009, allocations: 63.77 kB / 0.5226 GB, free: 10.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.301, allocations: 34.28 kB / 0.5227 GB, free: 10.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.91e-07/0.301, allocations: 4 kB / 0.5227 GB, free: 10.68 MB / 410.7 MB Notification: Performance of Templates: time 0.007565/0.3086, allocations: 7.512 MB / 0.53 GB, free: 9.309 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.540626933798194]