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.005803/0.005803, allocations: 104.6 kB / 21.98 MB, free: 5.223 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.001483/0.001483, allocations: 221.9 kB / 25.3 MB, free: 3.191 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.423/1.423, allocations: 230.5 MB / 258.9 MB, free: 7.992 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.2177/0.2177, allocations: 46.93 MB / 362.3 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] 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.002548/0.002548, allocations: 83.84 kB / 0.4982 GB, free: 7.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3465, allocations: 66.07 MB / 0.5628 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1854/0.5319, allocations: 153.5 MB / 0.7127 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006043/0.5379, allocations: 5.166 MB / 0.7177 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.538, allocations: 7.938 kB / 0.7177 GB, free: 4.934 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002829/0.5383, allocations: 55.59 kB / 0.7178 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.5414, allocations: 1.227 MB / 0.719 GB, free: 3.652 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.5417, allocations: 138.9 kB / 0.7191 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005522/0.5423, allocations: 410 kB / 0.7195 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.5423, allocations: 5.812 kB / 0.7195 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002822/0.5426, allocations: 183.2 kB / 0.7197 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.5429, allocations: 179.5 kB / 0.7198 GB, free: 2.754 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.5429, allocations: 8 kB / 0.7199 GB, free: 2.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.5448, allocations: 1.049 MB / 0.7209 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.611e-05/0.5449, allocations: 51.75 kB / 0.7209 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.545, allocations: 107.5 kB / 0.721 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.5462, allocations: 0.8529 MB / 0.7219 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5462, allocations: 0 / 0.7219 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5462, allocations: 0 / 0.7219 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5462, allocations: 0 / 0.7219 GB, free: 0.6875 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.001238/0.5474, allocations: 0.6217 MB / 0.7225 GB, free: 36 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.5475, allocations: 8.031 kB / 0.7225 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00702/0.5545, allocations: 0.6093 MB / 0.7231 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.555, allocations: 213.5 kB / 0.7233 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.5551, allocations: 123.3 kB / 0.7234 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.5552, allocations: 27.98 kB / 0.7234 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5564, allocations: 0.5664 MB / 0.724 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5564, allocations: 4 kB / 0.724 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.904e-05/0.5564, allocations: 12 kB / 0.724 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.5565, allocations: 8 kB / 0.724 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.5579, allocations: 0.6299 MB / 0.7246 GB, free: 13.75 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.002207/0.5601, allocations: 1.583 MB / 0.7262 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003621/0.5605, allocations: 146.5 kB / 0.7263 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.5606, allocations: 68.88 kB / 0.7264 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000535/0.5612, allocations: 383.8 kB / 0.7267 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.5612, allocations: 34.56 kB / 0.7268 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 1.643e-06/0.5612, allocations: 0 / 0.7268 GB, free: 11.39 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.001016/0.5622, allocations: 323 kB / 0.7271 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.5623, allocations: 59.41 kB / 0.7271 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.5624, allocations: 195.1 kB / 0.7273 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.5625, allocations: 29.7 kB / 0.7273 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5626, allocations: 191.7 kB / 0.7275 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.477e-05/0.5627, allocations: 67.47 kB / 0.7276 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.5628, allocations: 101.9 kB / 0.7277 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5629, allocations: 330.8 kB / 0.728 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.5631, allocations: 68.64 kB / 0.7281 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.5634, allocations: 256.1 kB / 0.7283 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/0.5639, allocations: 370.2 kB / 0.7287 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.5639, allocations: 4 kB / 0.7287 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006394/0.5645, allocations: 372.6 kB / 0.729 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5645, allocations: 8 kB / 0.729 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5645, allocations: 20 kB / 0.7291 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.5646, allocations: 8 kB / 0.7291 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.565, allocations: 127.9 kB / 0.7292 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003996/0.5654, allocations: 0.6055 MB / 0.7298 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.5656, allocations: 39.73 kB / 0.7298 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.5657, allocations: 47.98 kB / 0.7299 GB, free: 7.965 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.0001507/0.5658, allocations: 145.8 kB / 0.73 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.691e-05/0.5659, allocations: 15.91 kB / 0.73 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007951/0.5667, allocations: 433 kB / 0.7304 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.5667, allocations: 0 / 0.7304 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5667, allocations: 3.938 kB / 0.7304 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5667, allocations: 3.984 kB / 0.7304 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008418/0.5675, allocations: 0.5269 MB / 0.7309 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5675, allocations: 0 / 0.7309 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.5678, allocations: 63.89 kB / 0.731 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.5678, allocations: 4 kB / 0.731 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.5678, allocations: 12.16 kB / 0.731 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003513/0.5681, allocations: 0.5899 MB / 0.7316 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5681, allocations: 7.969 kB / 0.7316 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.5685, allocations: 289.5 kB / 0.7319 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.5686, allocations: 35.88 kB / 0.7319 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.5686, allocations: 11.89 kB / 0.7319 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.5689, allocations: 11.98 kB / 0.7319 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.5689, allocations: 19.92 kB / 0.732 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.5689, allocations: 27.92 kB / 0.732 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001254/0.5691, allocations: 136.2 kB / 0.7321 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5691, allocations: 3.938 kB / 0.7321 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005844/0.5697, allocations: 147.7 kB / 0.7323 GB, free: 5.344 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.0004371/0.5701, allocations: 239.8 kB / 0.7325 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.5706, allocations: 221.3 kB / 0.7327 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5706, allocations: 0 / 0.7327 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.5708, allocations: 76.22 kB / 0.7328 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.5713, allocations: 64.28 kB / 0.7328 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001386/0.5727, allocations: 0.7401 MB / 0.7336 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.573, allocations: 0.7245 MB / 0.7343 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002479/0.5732, allocations: 91.34 kB / 0.7344 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of SimCode: time 6.02e-07/0.5732, allocations: 3.938 kB / 0.7344 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of Templates: time 0.3056/0.8788, allocations: 5.348 MB / 0.7396 GB, free: 173.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/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: 9.012108539929613]