Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.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.001359/0.001359, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 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.001475/0.001475, allocations: 213.6 kB / 24.54 MB, free: 4.02 MB / 14.72 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 1.519/1.519, allocations: 230.3 MB / 258 MB, free: 8.188 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2759/0.2759, allocations: 46.93 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002385/0.002385, allocations: 75.86 kB / 0.4972 GB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3898, allocations: 66.05 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2092/0.599, allocations: 153.5 MB / 0.7116 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007505/0.6065, allocations: 5.166 MB / 0.7166 GB, free: 5.211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.6067, allocations: 7.938 kB / 0.7167 GB, free: 5.203 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004989/0.6072, allocations: 51.59 kB / 0.7167 GB, free: 5.152 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00533/0.6126, allocations: 1.228 MB / 0.7179 GB, free: 3.922 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.613, allocations: 146.5 kB / 0.718 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006906/0.6137, allocations: 398.1 kB / 0.7184 GB, free: 3.395 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.071e-05/0.6137, allocations: 17.78 kB / 0.7184 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004108/0.6141, allocations: 171.3 kB / 0.7186 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.6145, allocations: 179.4 kB / 0.7188 GB, free: 3.031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.6145, allocations: 8 kB / 0.7188 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.6172, allocations: 1.053 MB / 0.7198 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.6173, allocations: 51.75 kB / 0.7199 GB, free: 1.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001418/0.6174, allocations: 103.5 kB / 0.72 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.6191, allocations: 0.856 MB / 0.7208 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6191, allocations: 0 / 0.7208 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6191, allocations: 0 / 0.7208 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.6191, allocations: 0 / 0.7208 GB, free: 0.9609 MB / 0.545 GB 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.00143/0.6205, allocations: 0.6255 MB / 0.7214 GB, free: 312 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.6206, allocations: 8.031 kB / 0.7214 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007484/0.6281, allocations: 0.6054 MB / 0.722 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.6288, allocations: 221.4 kB / 0.7222 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.6289, allocations: 131.2 kB / 0.7223 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/0.629, allocations: 20 kB / 0.7224 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.6303, allocations: 0.5626 MB / 0.7229 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.6303, allocations: 0 / 0.7229 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.6304, allocations: 12 kB / 0.7229 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.6304, allocations: 8 kB / 0.7229 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.632, allocations: 0.6299 MB / 0.7235 GB, free: 14.03 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.6347, allocations: 1.583 MB / 0.7251 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.6351, allocations: 146.6 kB / 0.7252 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.6353, allocations: 68.83 kB / 0.7253 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006589/0.636, allocations: 379.9 kB / 0.7257 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.636, allocations: 38.5 kB / 0.7257 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.636, allocations: 0 / 0.7257 GB, free: 11.67 MB / 0.5606 GB 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.001099/0.6371, allocations: 327.2 kB / 0.726 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.6371, allocations: 55.41 kB / 0.7261 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.6374, allocations: 187.2 kB / 0.7262 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.6374, allocations: 33.69 kB / 0.7263 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.6375, allocations: 199.7 kB / 0.7265 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.6376, allocations: 63.47 kB / 0.7265 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.6377, allocations: 98.02 kB / 0.7266 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.6379, allocations: 334.8 kB / 0.7269 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.6381, allocations: 68.64 kB / 0.727 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.6385, allocations: 256.1 kB / 0.7272 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005767/0.639, allocations: 366.2 kB / 0.7276 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/0.6391, allocations: 4 kB / 0.7276 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007347/0.6398, allocations: 377.4 kB / 0.728 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6398, allocations: 8 kB / 0.728 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.6398, allocations: 15.94 kB / 0.728 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.6399, allocations: 8 kB / 0.728 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.6403, allocations: 127.8 kB / 0.7281 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004501/0.6408, allocations: 0.5979 MB / 0.7287 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.641, allocations: 47.83 kB / 0.7287 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.929e-05/0.6411, allocations: 47.92 kB / 0.7288 GB, free: 8.238 MB / 0.5606 GB 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.0001702/0.6413, allocations: 141.7 kB / 0.7289 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.6413, allocations: 15.91 kB / 0.7289 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008751/0.6422, allocations: 435.5 kB / 0.7293 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6422, allocations: 3.938 kB / 0.7293 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6422, allocations: 4 kB / 0.7294 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6422, allocations: 0 / 0.7294 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.6432, allocations: 0.5308 MB / 0.7299 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.6432, allocations: 4.219 kB / 0.7299 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.6434, allocations: 59.91 kB / 0.7299 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.6434, allocations: 7.984 kB / 0.7299 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.6435, allocations: 7.938 kB / 0.7299 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004264/0.6439, allocations: 0.586 MB / 0.7305 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.6439, allocations: 7.969 kB / 0.7305 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.6443, allocations: 293.5 kB / 0.7308 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.812e-05/0.6444, allocations: 39.88 kB / 0.7308 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.6444, allocations: 11.89 kB / 0.7309 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.6447, allocations: 19.98 kB / 0.7309 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.6447, allocations: 15.92 kB / 0.7309 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.6448, allocations: 27.86 kB / 0.7309 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001382/0.6449, allocations: 140.2 kB / 0.7311 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.6449, allocations: 0 / 0.7311 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006504/0.6456, allocations: 147.7 kB / 0.7312 GB, free: 5.609 MB / 0.5606 GB 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.0004822/0.6461, allocations: 236.4 kB / 0.7314 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005486/0.6466, allocations: 209.3 kB / 0.7316 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6466, allocations: 4.062 kB / 0.7316 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.6468, allocations: 83.83 kB / 0.7317 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/0.6473, allocations: 60.55 kB / 0.7318 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.6488, allocations: 0.7021 MB / 0.7324 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.6492, allocations: 0.7246 MB / 0.7332 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007167/0.65, allocations: 381.1 kB / 0.7335 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.6501, allocations: 63.38 kB / 0.7336 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.6501, allocations: 3.938 kB / 0.7336 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of Templates: time 0.3315/0.9816, allocations: 5.428 MB / 0.7389 GB, free: 23.34 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.087268234230578]