Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001378/0.001378, allocations: 110.5 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.00152/0.00152, allocations: 213.9 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.572/1.572, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] 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.2495/0.2495, allocations: 46.89 MB / 361.3 MB, free: 4.441 MB / 286.1 MB " [Timeout remaining time 179] 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.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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002506/0.002506, allocations: 83.86 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.423, allocations: 66.01 MB / 0.5616 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2187/0.6418, allocations: 153.5 MB / 0.7115 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008016/0.6498, allocations: 5.182 MB / 0.7165 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002643/0.65, allocations: 0 / 0.7165 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.6504, allocations: 55.59 kB / 0.7166 GB, free: 5.238 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004103/0.6546, allocations: 1.227 MB / 0.7178 GB, free: 4.012 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.655, allocations: 141 kB / 0.7179 GB, free: 3.879 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008268/0.6558, allocations: 402 kB / 0.7183 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.342e-05/0.6559, allocations: 9.812 kB / 0.7183 GB, free: 3.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004122/0.6563, allocations: 175.4 kB / 0.7185 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004868/0.6568, allocations: 179.4 kB / 0.7186 GB, free: 3.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.6568, allocations: 8 kB / 0.7187 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.6596, allocations: 1.057 MB / 0.7197 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.6597, allocations: 47.77 kB / 0.7197 GB, free: 2.012 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.6599, allocations: 103.6 kB / 0.7198 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002395/0.6623, allocations: 0.8607 MB / 0.7207 GB, free: 1.051 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6623, allocations: 4 kB / 0.7207 GB, free: 1.047 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6623, allocations: 0 / 0.7207 GB, free: 1.047 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.6623, allocations: 0 / 0.7207 GB, free: 1.047 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.001718/0.664, allocations: 0.6177 MB / 0.7213 GB, free: 408 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.664, allocations: 12.03 kB / 0.7213 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008521/0.6726, allocations: 0.6093 MB / 0.7219 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006464/0.6732, allocations: 205.5 kB / 0.7221 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/0.6734, allocations: 127.3 kB / 0.7222 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.6735, allocations: 24 kB / 0.7222 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.6749, allocations: 0.5626 MB / 0.7228 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.675, allocations: 3.938 kB / 0.7228 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.336e-05/0.6751, allocations: 12 kB / 0.7228 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/0.6751, allocations: 7.938 kB / 0.7228 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.6767, allocations: 0.6338 MB / 0.7234 GB, free: 14.12 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.002536/0.6792, allocations: 1.579 MB / 0.725 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.6796, allocations: 146.5 kB / 0.7251 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6798, allocations: 71.62 kB / 0.7252 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000667/0.6804, allocations: 387.8 kB / 0.7255 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.6805, allocations: 34.56 kB / 0.7256 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=17): time 3.477e-06/0.6805, allocations: 3.984 kB / 0.7256 GB, free: 11.76 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.001151/0.6816, allocations: 334.7 kB / 0.7259 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.6817, allocations: 51.41 kB / 0.7259 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.6819, allocations: 191.2 kB / 0.7261 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.6819, allocations: 29.7 kB / 0.7262 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.6821, allocations: 195.7 kB / 0.7263 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.6821, allocations: 67.42 kB / 0.7264 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.6823, allocations: 94 kB / 0.7265 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6824, allocations: 330.8 kB / 0.7268 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001718/0.6826, allocations: 64.7 kB / 0.7269 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.6829, allocations: 264 kB / 0.7271 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.6835, allocations: 372.3 kB / 0.7275 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6835, allocations: 0 / 0.7275 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007248/0.6842, allocations: 377.5 kB / 0.7278 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.6842, allocations: 8 kB / 0.7278 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.6842, allocations: 11.94 kB / 0.7279 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.6843, allocations: 8 kB / 0.7279 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.6847, allocations: 131.8 kB / 0.728 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004444/0.6852, allocations: 0.5977 MB / 0.7286 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.6854, allocations: 44 kB / 0.7286 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.21e-05/0.6855, allocations: 40 kB / 0.7287 GB, free: 8.344 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.0001828/0.6857, allocations: 146.9 kB / 0.7288 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.6858, allocations: 23.89 kB / 0.7288 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008834/0.6866, allocations: 432.9 kB / 0.7292 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6866, allocations: 4 kB / 0.7292 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.6867, allocations: 3.984 kB / 0.7292 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6867, allocations: 4 kB / 0.7292 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/0.6876, allocations: 0.5269 MB / 0.7298 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.6876, allocations: 4.219 kB / 0.7298 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.6879, allocations: 55.97 kB / 0.7298 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.6879, allocations: 4 kB / 0.7298 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.6879, allocations: 11.94 kB / 0.7298 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003964/0.6883, allocations: 0.5938 MB / 0.7304 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6883, allocations: 0 / 0.7304 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/0.6887, allocations: 308.8 kB / 0.7307 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/0.6888, allocations: 27.89 kB / 0.7307 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.685e-05/0.6889, allocations: 11.89 kB / 0.7307 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.6892, allocations: 15.98 kB / 0.7308 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.6892, allocations: 15.97 kB / 0.7308 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.6892, allocations: 19.94 kB / 0.7308 GB, free: 6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001449/0.6894, allocations: 136.2 kB / 0.7309 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.6894, allocations: 0 / 0.7309 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007357/0.6901, allocations: 151.7 kB / 0.7311 GB, free: 5.719 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.0005623/0.6907, allocations: 236.3 kB / 0.7313 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005695/0.6913, allocations: 220.8 kB / 0.7315 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6913, allocations: 0.5625 kB / 0.7315 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.6915, allocations: 75.89 kB / 0.7316 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.692, allocations: 67.05 kB / 0.7316 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.6936, allocations: 0.7059 MB / 0.7323 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.694, allocations: 0.7285 MB / 0.733 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000721/0.6948, allocations: 389 kB / 0.7334 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/0.6949, allocations: 63.39 kB / 0.7335 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.6949, allocations: 0 / 0.7335 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of Templates: time 0.3259/1.021, allocations: 5.422 MB / 0.7388 GB, free: 174.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.334611038677394]