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.00137/0.00137, 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.001478/0.001478, allocations: 161 kB / 24.55 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.9301/0.9301, allocations: 177.1 MB / 205 MB, free: 5.645 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.2608/0.2608, allocations: 32.8 MB / 294.3 MB, free: 1.27 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.813e-06/1.813e-06, allocations: 0 / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.087e-05, allocations: 6.25 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.281/0.281, allocations: 147.4 MB / 0.5112 GB, free: 18.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2823, allocations: 1.186 MB / 0.5123 GB, free: 17.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.2823, allocations: 0 / 0.5123 GB, free: 17.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001908/0.2825, allocations: 35.22 kB / 0.5124 GB, free: 17.55 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.2825, allocations: 25.38 kB / 0.5124 GB, free: 17.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.284, allocations: 440.5 kB / 0.5128 GB, free: 17.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.2841, allocations: 73.23 kB / 0.5129 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.2841, allocations: 4.875 kB / 0.5129 GB, free: 17.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2842, allocations: 47.67 kB / 0.5129 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.642e-05/0.2843, allocations: 22.77 kB / 0.5129 GB, free: 17.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.2843, allocations: 4 kB / 0.5129 GB, free: 17.26 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008988/0.2852, allocations: 468.5 kB / 0.5134 GB, free: 17.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.2852, allocations: 12.09 kB / 0.5134 GB, free: 17.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.865e-05/0.2853, allocations: 15.77 kB / 0.5134 GB, free: 17.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005259/0.2858, allocations: 338.1 kB / 0.5137 GB, free: 17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2858, allocations: 0 / 0.5137 GB, free: 17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2858, allocations: 0 / 0.5137 GB, free: 17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.2858, allocations: 3.938 kB / 0.5137 GB, free: 16.99 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.0004887/0.2863, allocations: 438.3 kB / 0.5142 GB, free: 16.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2863, allocations: 15.28 kB / 0.5142 GB, free: 16.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.2864, allocations: 11.97 kB / 0.5142 GB, free: 16.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.107e-05/0.2864, allocations: 119.6 kB / 0.5143 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.2865, allocations: 4 kB / 0.5143 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.2865, allocations: 5.375 kB / 0.5143 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2866, allocations: 65.98 kB / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2866, allocations: 1.031 kB / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2866, allocations: 0 / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2866, allocations: 3.094 kB / 0.5144 GB, free: 16.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.2867, allocations: 28.11 kB / 0.5144 GB, free: 16.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003103/0.287, allocations: 310.5 kB / 0.5147 GB, free: 16.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.447e-05/0.2871, allocations: 62.8 kB / 0.5148 GB, free: 16.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.2871, allocations: 15.8 kB / 0.5148 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007152/0.2878, allocations: 257.7 kB / 0.515 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.2878, allocations: 36.39 kB / 0.5151 GB, free: 15.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.2878, allocations: 0 / 0.5151 GB, free: 15.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003376/0.2912, allocations: 0.7298 MB / 0.5158 GB, free: 15.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.2912, allocations: 51.41 kB / 0.5158 GB, free: 15.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.928e-05/0.2913, allocations: 164.6 kB / 0.516 GB, free: 15.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2913, allocations: 29.7 kB / 0.516 GB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.2914, allocations: 140.5 kB / 0.5161 GB, free: 15.38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.2914, allocations: 52.19 kB / 0.5162 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.2915, allocations: 46.31 kB / 0.5162 GB, free: 15.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.235e-05/0.2915, allocations: 0.4891 MB / 0.5167 GB, free: 14.81 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.2916, allocations: 105.1 kB / 0.5168 GB, free: 14.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.2917, allocations: 140.2 kB / 0.5169 GB, free: 14.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.292, allocations: 251.7 kB / 0.5172 GB, free: 14.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.292, allocations: 4 kB / 0.5172 GB, free: 14.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003253/0.2923, allocations: 297.6 kB / 0.5175 GB, free: 14.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.2923, allocations: 5.812 kB / 0.5175 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2923, allocations: 6.625 kB / 0.5175 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.2923, allocations: 0 / 0.5175 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.2927, allocations: 56.44 kB / 0.5175 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2927, allocations: 2.781 kB / 0.5175 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.2929, allocations: 10.84 kB / 0.5175 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.2929, allocations: 16 kB / 0.5176 GB, free: 14.57 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.924e-05/0.293, allocations: 164.7 kB / 0.5177 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.2931, allocations: 6.5 kB / 0.5177 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.2935, allocations: 388.8 kB / 0.5181 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.2935, allocations: 2.719 kB / 0.5181 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.2935, allocations: 0 / 0.5181 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2935, allocations: 6.531 kB / 0.5181 GB, free: 14.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005826/0.2941, allocations: 0.754 MB / 0.5188 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2941, allocations: 3.312 kB / 0.5188 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002969/0.2944, allocations: 39.59 kB / 0.5189 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2944, allocations: 0 / 0.5189 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2944, allocations: 13.97 kB / 0.5189 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2944, allocations: 2.656 kB / 0.5189 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2944, allocations: 0 / 0.5189 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.2947, allocations: 455.7 kB / 0.5193 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.2948, allocations: 32 kB / 0.5194 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.2948, allocations: 1.828 kB / 0.5194 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.295, allocations: 12.34 kB / 0.5194 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.2951, allocations: 11.44 kB / 0.5194 GB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.2951, allocations: 15.25 kB / 0.5194 GB, free: 13.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.906e-05/0.2951, allocations: 125.4 kB / 0.5195 GB, free: 13.33 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2951, allocations: 0 / 0.5195 GB, free: 13.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003537/0.2955, allocations: 102.9 kB / 0.5196 GB, free: 13.3 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.0003155/0.2958, allocations: 228.1 kB / 0.5198 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003058/0.2961, allocations: 270.8 kB / 0.5201 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2961, allocations: 0 / 0.5201 GB, free: 13.13 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2962, allocations: 148.4 kB / 0.5202 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2965, allocations: 46.23 kB / 0.5203 GB, free: 13.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.2971, allocations: 248.5 kB / 0.5205 GB, free: 12.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.046e-05/0.2972, allocations: 62.91 kB / 0.5206 GB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002009/0.2974, allocations: 68.91 kB / 0.5206 GB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.2975, allocations: 40.08 kB / 0.5207 GB, free: 12.81 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2975, allocations: 0 / 0.5207 GB, free: 12.81 MB / 410.7 MB Notification: Performance of Templates: time 0.007815/0.3053, allocations: 6.854 MB / 0.5274 GB, free: 12.06 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 -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.6777186770923436]