Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.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.002203/0.002203, allocations: 87.67 kB / 20.96 MB, free: 3.445 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.002396/0.002396, allocations: 161.3 kB / 24.27 MB, free: 140 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 1.653/1.653, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3623/0.3623, allocations: 32.8 MB / 293.9 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 179] 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.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") translateModel(ModelicaTest.Media.TestAllProperties.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.044e-05/3.174e-05, allocations: 5.828 kB / 375.3 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4259/0.426, allocations: 145.7 MB / 0.5088 GB, free: 19.43 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00875/0.4347, allocations: 5.211 MB / 0.5139 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001916/0.4349, allocations: 0 / 0.5139 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.4352, allocations: 51.41 kB / 0.5139 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003316/0.4386, allocations: 1.263 MB / 0.5152 GB, free: 15.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.4389, allocations: 140.7 kB / 0.5153 GB, free: 15.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004235/0.4393, allocations: 408.2 kB / 0.5157 GB, free: 14.98 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.4393, allocations: 12.34 kB / 0.5157 GB, free: 14.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003007/0.4396, allocations: 223.2 kB / 0.5159 GB, free: 14.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.4399, allocations: 161 kB / 0.5161 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.4399, allocations: 8.156 kB / 0.5161 GB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.4414, allocations: 0.9375 MB / 0.517 GB, free: 14.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.99e-05/0.4415, allocations: 46.11 kB / 0.517 GB, free: 14.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.4416, allocations: 82.05 kB / 0.5171 GB, free: 14.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.4429, allocations: 0.9549 MB / 0.5181 GB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4429, allocations: 0 / 0.5181 GB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4429, allocations: 3.938 kB / 0.5181 GB, free: 14.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.4429, allocations: 0 / 0.5181 GB, free: 14.21 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001156/0.4441, allocations: 0.7162 MB / 0.5188 GB, free: 13.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4441, allocations: 13.03 kB / 0.5188 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007518/0.4516, allocations: 0.6588 MB / 0.5194 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005166/0.4521, allocations: 210.2 kB / 0.5196 GB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.4523, allocations: 232 kB / 0.5198 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.83e-05/0.4524, allocations: 23.94 kB / 0.5199 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.4535, allocations: 0.8226 MB / 0.5207 GB, free: 12.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4535, allocations: 3.938 kB / 0.5207 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.4536, allocations: 13.91 kB / 0.5207 GB, free: 12.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/0.4536, allocations: 12.12 kB / 0.5207 GB, free: 12.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.4548, allocations: 0.649 MB / 0.5213 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.4566, allocations: 1.842 MB / 0.5231 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.457, allocations: 167.6 kB / 0.5233 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.4571, allocations: 73.73 kB / 0.5234 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.4576, allocations: 464.2 kB / 0.5238 GB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.4576, allocations: 46.22 kB / 0.5238 GB, free: 10.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 2.054e-06/0.4576, allocations: 0 / 0.5238 GB, free: 10.39 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.001022/0.4586, allocations: 331.9 kB / 0.5242 GB, free: 10.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.4586, allocations: 54.66 kB / 0.5242 GB, free: 10.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.4588, allocations: 269.8 kB / 0.5245 GB, free: 10.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4588, allocations: 32.64 kB / 0.5245 GB, free: 9.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.4589, allocations: 242.5 kB / 0.5247 GB, free: 9.758 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.459, allocations: 70.59 kB / 0.5248 GB, free: 9.703 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.4591, allocations: 102.5 kB / 0.5249 GB, free: 9.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.4592, allocations: 0.5023 MB / 0.5254 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.4593, allocations: 77.7 kB / 0.5255 GB, free: 9.121 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.4595, allocations: 356.4 kB / 0.5258 GB, free: 8.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.4598, allocations: 446.8 kB / 0.5262 GB, free: 8.281 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4598, allocations: 2.656 kB / 0.5262 GB, free: 8.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005509/0.4604, allocations: 392.4 kB / 0.5266 GB, free: 8.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.4604, allocations: 12.94 kB / 0.5266 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4604, allocations: 8.312 kB / 0.5266 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4604, allocations: 8.875 kB / 0.5266 GB, free: 8.125 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.4608, allocations: 125.6 kB / 0.5267 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002819/0.4611, allocations: 0.917 MB / 0.5276 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.4613, allocations: 43.67 kB / 0.5277 GB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.389e-05/0.4614, allocations: 43.69 kB / 0.5277 GB, free: 7.172 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.4615, allocations: 191.4 kB / 0.5279 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.88e-05/0.4616, allocations: 27.5 kB / 0.5279 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007177/0.4623, allocations: 445.2 kB / 0.5284 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4623, allocations: 3.188 kB / 0.5284 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4623, allocations: 4 kB / 0.5284 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4623, allocations: 2.391 kB / 0.5284 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.463, allocations: 0.5567 MB / 0.5289 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.463, allocations: 2.781 kB / 0.5289 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.4632, allocations: 56.14 kB / 0.529 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4632, allocations: 2.562 kB / 0.529 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.4632, allocations: 8.625 kB / 0.529 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002413/0.4635, allocations: 0.9086 MB / 0.5299 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4635, allocations: 6.875 kB / 0.5299 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.4638, allocations: 370.8 kB / 0.5302 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.743e-05/0.4639, allocations: 35.22 kB / 0.5303 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.817e-05/0.464, allocations: 7.391 kB / 0.5303 GB, free: 5.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.4642, allocations: 14.72 kB / 0.5303 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.4642, allocations: 24.11 kB / 0.5303 GB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.4643, allocations: 17.11 kB / 0.5303 GB, free: 5.105 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.4644, allocations: 186.7 kB / 0.5305 GB, free: 4.973 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4644, allocations: 0 / 0.5305 GB, free: 4.973 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006243/0.465, allocations: 149.2 kB / 0.5306 GB, free: 4.945 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004261/0.4654, allocations: 244.9 kB / 0.5309 GB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004743/0.4659, allocations: 251.1 kB / 0.5311 GB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4659, allocations: 0 / 0.5311 GB, free: 4.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001961/0.4661, allocations: 91.94 kB / 0.5312 GB, free: 4.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.4666, allocations: 82.56 kB / 0.5313 GB, free: 4.699 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.4678, allocations: 0.6907 MB / 0.532 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.552e-05/0.4679, allocations: 112.9 kB / 0.5321 GB, free: 4.176 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005598/0.4685, allocations: 381.1 kB / 0.5324 GB, free: 4.117 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.4686, allocations: 61.75 kB / 0.5325 GB, free: 4.102 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4686, allocations: 0 / 0.5325 GB, free: 4.102 MB / 410.7 MB Notification: Performance of Templates: time 0.00927/0.4779, allocations: 5.304 MB / 0.5377 GB, free: 2.75 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8464440000243485]