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.0009678/0.0009678, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009224/0.0009224, allocations: 161 kB / 24.56 MB, free: 16 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.94/0.94, allocations: 177.1 MB / 205 MB, free: 5.629 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.2659/0.2659, allocations: 34.26 MB / 295.7 MB, free: 0.7344 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.964e-06/1.964e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.967e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2655/0.2655, allocations: 147.4 MB / 0.5131 GB, free: 16.19 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.2666, allocations: 1.185 MB / 0.5143 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.2667, allocations: 0 / 0.5143 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002048/0.2669, allocations: 41.31 kB / 0.5143 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.2669, allocations: 25.53 kB / 0.5144 GB, free: 15.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001379/0.2683, allocations: 445.6 kB / 0.5148 GB, free: 15.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.2684, allocations: 76.75 kB / 0.5149 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.2684, allocations: 7.25 kB / 0.5149 GB, free: 15.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.2686, allocations: 38.83 kB / 0.5149 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.2686, allocations: 22.33 kB / 0.5149 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.2686, allocations: 0 / 0.5149 GB, free: 15.12 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009625/0.2696, allocations: 479.6 kB / 0.5154 GB, free: 14.96 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.087e-05/0.2696, allocations: 11.75 kB / 0.5154 GB, free: 14.95 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.2697, allocations: 19.88 kB / 0.5154 GB, free: 14.95 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.2702, allocations: 340.6 kB / 0.5157 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.2702, allocations: 1.078 kB / 0.5157 GB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2702, allocations: 3.938 kB / 0.5157 GB, free: 14.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.2702, allocations: 0 / 0.5157 GB, free: 14.84 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.0004848/0.2707, allocations: 433.3 kB / 0.5162 GB, free: 14.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2707, allocations: 7.969 kB / 0.5162 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.2708, allocations: 12.19 kB / 0.5162 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.214e-05/0.2708, allocations: 121.3 kB / 0.5163 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2709, allocations: 6.969 kB / 0.5163 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.2709, allocations: 6.906 kB / 0.5163 GB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.271, allocations: 57.14 kB / 0.5164 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.271, allocations: 0 / 0.5164 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.271, allocations: 4 kB / 0.5164 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.271, allocations: 2.375 kB / 0.5164 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.2711, allocations: 24.59 kB / 0.5164 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003325/0.2714, allocations: 302.7 kB / 0.5167 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.2715, allocations: 62.39 kB / 0.5167 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/0.2715, allocations: 23.06 kB / 0.5168 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/0.2723, allocations: 255.7 kB / 0.517 GB, free: 13.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.2723, allocations: 36.08 kB / 0.517 GB, free: 13.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.2723, allocations: 0 / 0.517 GB, free: 13.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003396/0.2757, allocations: 0.7309 MB / 0.5177 GB, free: 13.64 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.2757, allocations: 51.41 kB / 0.5178 GB, free: 13.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.708e-05/0.2757, allocations: 166.2 kB / 0.518 GB, free: 13.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2758, allocations: 29.7 kB / 0.518 GB, free: 13.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.074e-05/0.2758, allocations: 137.5 kB / 0.5181 GB, free: 13.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.2758, allocations: 55.78 kB / 0.5182 GB, free: 13.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.427e-05/0.2759, allocations: 48.42 kB / 0.5182 GB, free: 13.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.2759, allocations: 499.3 kB / 0.5187 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.2761, allocations: 103.3 kB / 0.5188 GB, free: 12.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.2762, allocations: 137.5 kB / 0.5189 GB, free: 12.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.2764, allocations: 251.8 kB / 0.5192 GB, free: 12.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2764, allocations: 0 / 0.5192 GB, free: 12.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003419/0.2768, allocations: 307.6 kB / 0.5195 GB, free: 12.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2768, allocations: 8 kB / 0.5195 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/0.2768, allocations: 3.938 kB / 0.5195 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2768, allocations: 0 / 0.5195 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003438/0.2772, allocations: 48.86 kB / 0.5195 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.2772, allocations: 4.375 kB / 0.5195 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.2774, allocations: 17.31 kB / 0.5195 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.2774, allocations: 14.23 kB / 0.5195 GB, free: 12.43 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.68e-05/0.2775, allocations: 162.3 kB / 0.5197 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.2775, allocations: 9.531 kB / 0.5197 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004638/0.278, allocations: 388.2 kB / 0.5201 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.278, allocations: 2.938 kB / 0.5201 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.278, allocations: 0 / 0.5201 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.278, allocations: 3.938 kB / 0.5201 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.2787, allocations: 0.7559 MB / 0.5208 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2787, allocations: 0 / 0.5208 GB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.279, allocations: 49.08 kB / 0.5209 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.279, allocations: 3.938 kB / 0.5209 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.279, allocations: 4.906 kB / 0.5209 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.279, allocations: 3.469 kB / 0.5209 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.279, allocations: 0 / 0.5209 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.2793, allocations: 450.7 kB / 0.5213 GB, free: 11.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.2794, allocations: 27.38 kB / 0.5213 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.2794, allocations: 8.953 kB / 0.5213 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.2797, allocations: 5.906 kB / 0.5214 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.2797, allocations: 23.06 kB / 0.5214 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.2797, allocations: 8.484 kB / 0.5214 GB, free: 11.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.05e-05/0.2798, allocations: 127.2 kB / 0.5215 GB, free: 11.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2798, allocations: 0 / 0.5215 GB, free: 11.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.2801, allocations: 105.4 kB / 0.5216 GB, free: 11.16 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.0003547/0.2805, allocations: 231.1 kB / 0.5218 GB, free: 11.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.2808, allocations: 264.3 kB / 0.5221 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2808, allocations: 0 / 0.5221 GB, free: 10.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.2809, allocations: 152.9 kB / 0.5222 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.2812, allocations: 39.25 kB / 0.5223 GB, free: 10.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006927/0.2819, allocations: 256.9 kB / 0.5225 GB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.747e-05/0.2819, allocations: 62.19 kB / 0.5226 GB, free: 10.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.2821, allocations: 69.69 kB / 0.5226 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.2823, allocations: 38.88 kB / 0.5227 GB, free: 10.66 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2823, allocations: 0 / 0.5227 GB, free: 10.66 MB / 410.7 MB Notification: Performance of Templates: time 0.007314/0.2896, allocations: 6.84 MB / 0.5293 GB, free: 9.707 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.699417204130441]