Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009958/0.0009958, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009433/0.0009433, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9942/0.9942, allocations: 177 MB / 205.2 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2502/0.2502, allocations: 34.86 MB / 296.6 MB, free: 0.5508 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.236e-05, allocations: 6.25 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.2868/0.2868, allocations: 147.2 MB / 0.5136 GB, free: 15.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2883, allocations: 1.175 MB / 0.5147 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.325e-05/0.2884, allocations: 0 / 0.5147 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.2886, allocations: 30.09 kB / 0.5147 GB, free: 15.06 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.597e-05/0.2886, allocations: 30.8 kB / 0.5148 GB, free: 15.04 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001335/0.29, allocations: 447.2 kB / 0.5152 GB, free: 14.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.2901, allocations: 72.86 kB / 0.5153 GB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.68e-05/0.2901, allocations: 7.766 kB / 0.5153 GB, free: 14.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2903, allocations: 46.12 kB / 0.5153 GB, free: 14.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.2903, allocations: 29.94 kB / 0.5153 GB, free: 14.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.2903, allocations: 0 / 0.5153 GB, free: 14.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009839/0.2913, allocations: 471.2 kB / 0.5158 GB, free: 14.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.2913, allocations: 10.94 kB / 0.5158 GB, free: 14.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.871e-05/0.2914, allocations: 16.64 kB / 0.5158 GB, free: 14.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.292, allocations: 340.9 kB / 0.5161 GB, free: 14.48 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.292, allocations: 0 / 0.5161 GB, free: 14.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.292, allocations: 0 / 0.5161 GB, free: 14.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.292, allocations: 0 / 0.5161 GB, free: 14.48 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.0005919/0.2926, allocations: 436.3 kB / 0.5166 GB, free: 14.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2926, allocations: 8.969 kB / 0.5166 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.227e-05/0.2927, allocations: 16.03 kB / 0.5166 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.833e-05/0.2927, allocations: 116.4 kB / 0.5167 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2928, allocations: 6.625 kB / 0.5167 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.2928, allocations: 7.969 kB / 0.5167 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2929, allocations: 59.8 kB / 0.5168 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2929, allocations: 4.938 kB / 0.5168 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.2929, allocations: 6.812 kB / 0.5168 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.293, allocations: 0 / 0.5168 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.428e-05/0.293, allocations: 30.14 kB / 0.5168 GB, free: 13.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.2934, allocations: 306.3 kB / 0.5171 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.471e-05/0.2934, allocations: 60.39 kB / 0.5172 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.2935, allocations: 25.98 kB / 0.5172 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007291/0.2942, allocations: 249.4 kB / 0.5174 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.2942, allocations: 36.33 kB / 0.5175 GB, free: 13.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.883e-06/0.2942, allocations: 0 / 0.5175 GB, free: 13.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.003665/0.2979, allocations: 0.7237 MB / 0.5182 GB, free: 13.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.2979, allocations: 53.75 kB / 0.5182 GB, free: 13.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.335e-05/0.298, allocations: 164.1 kB / 0.5184 GB, free: 13.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.298, allocations: 25.7 kB / 0.5184 GB, free: 13.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.298, allocations: 141.7 kB / 0.5185 GB, free: 12.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.2981, allocations: 49.12 kB / 0.5186 GB, free: 12.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.315e-05/0.2982, allocations: 53.38 kB / 0.5186 GB, free: 12.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.2982, allocations: 497.8 kB / 0.5191 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.2983, allocations: 115.5 kB / 0.5192 GB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.2984, allocations: 137.3 kB / 0.5193 GB, free: 12.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.2987, allocations: 248.3 kB / 0.5196 GB, free: 12.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.2987, allocations: 0 / 0.5196 GB, free: 12.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003353/0.299, allocations: 307.9 kB / 0.5199 GB, free: 12.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.299, allocations: 5.625 kB / 0.5199 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.299, allocations: 7.312 kB / 0.5199 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.299, allocations: 6.781 kB / 0.5199 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.2994, allocations: 52.86 kB / 0.5199 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2994, allocations: 0 / 0.5199 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.2996, allocations: 17.64 kB / 0.52 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.2996, allocations: 10.67 kB / 0.52 GB, free: 12.07 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.321e-05/0.2997, allocations: 159.2 kB / 0.5201 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.2997, allocations: 8.125 kB / 0.5201 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.3002, allocations: 391.7 kB / 0.5205 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.3002, allocations: 6.766 kB / 0.5205 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3002, allocations: 0 / 0.5205 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.3002, allocations: 6.328 kB / 0.5205 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.3008, allocations: 0.7537 MB / 0.5212 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3008, allocations: 0 / 0.5212 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.3011, allocations: 43.83 kB / 0.5213 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3011, allocations: 4 kB / 0.5213 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3011, allocations: 10.31 kB / 0.5213 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3011, allocations: 3.719 kB / 0.5213 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3011, allocations: 3.938 kB / 0.5213 GB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.3014, allocations: 443.9 kB / 0.5217 GB, free: 10.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.3015, allocations: 29.92 kB / 0.5218 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.3015, allocations: 6.562 kB / 0.5218 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.3017, allocations: 7.484 kB / 0.5218 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.3018, allocations: 17.36 kB / 0.5218 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.3018, allocations: 13.62 kB / 0.5218 GB, free: 10.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.215e-05/0.3018, allocations: 126.1 kB / 0.5219 GB, free: 10.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3018, allocations: 0 / 0.5219 GB, free: 10.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.3021, allocations: 109.6 kB / 0.522 GB, free: 10.8 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.0003052/0.3024, allocations: 222.1 kB / 0.5222 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.3027, allocations: 271.7 kB / 0.5225 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3027, allocations: 0 / 0.5225 GB, free: 10.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.3029, allocations: 150.4 kB / 0.5226 GB, free: 10.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.3032, allocations: 37.58 kB / 0.5227 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006504/0.3038, allocations: 250.6 kB / 0.5229 GB, free: 10.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.003e-05/0.3038, allocations: 64.12 kB / 0.523 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.304, allocations: 67.91 kB / 0.523 GB, free: 10.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3042, allocations: 40.16 kB / 0.5231 GB, free: 10.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.3042, allocations: 0 / 0.5231 GB, free: 10.3 MB / 410.7 MB Notification: Performance of Templates: time 0.00755/0.3117, allocations: 6.838 MB / 0.5298 GB, free: 9.371 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.625615302938968]