Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.001418/0.001418, 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.001631/0.001631, allocations: 211.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.695/1.695, allocations: 230.3 MB / 258 MB, free: 8.203 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.2433/0.2433, allocations: 46.93 MB / 361.3 MB, free: 4.383 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.CO2,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.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,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.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 75.86 kB / 0.4972 GB, free: 7.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4377, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2081/0.6458, allocations: 153.5 MB / 0.7116 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00706/0.6529, allocations: 5.349 MB / 0.7168 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.6531, allocations: 0 / 0.7168 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003665/0.6534, allocations: 55.59 kB / 0.7169 GB, free: 4.969 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00535/0.6588, allocations: 1.34 MB / 0.7182 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.6592, allocations: 150.8 kB / 0.7183 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007244/0.6599, allocations: 402.1 kB / 0.7187 GB, free: 3.09 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.061e-05/0.66, allocations: 13.8 kB / 0.7187 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.6603, allocations: 175.3 kB / 0.7189 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.6606, allocations: 175.4 kB / 0.719 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.6607, allocations: 12 kB / 0.7191 GB, free: 2.719 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.6637, allocations: 1.117 MB / 0.7201 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.6638, allocations: 47.81 kB / 0.7202 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001956/0.664, allocations: 107.5 kB / 0.7203 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001906/0.6659, allocations: 0.8599 MB / 0.7211 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.6659, allocations: 0 / 0.7211 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6659, allocations: 0 / 0.7211 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.6659, allocations: 0 / 0.7211 GB, free: 0.5898 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.001588/0.6675, allocations: 0.6294 MB / 0.7217 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.6676, allocations: 8.031 kB / 0.7218 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008435/0.676, allocations: 0.6093 MB / 0.7224 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/0.6768, allocations: 213.4 kB / 0.7226 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001838/0.6769, allocations: 123.3 kB / 0.7227 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.677, allocations: 20 kB / 0.7227 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6784, allocations: 0.5587 MB / 0.7232 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.6785, allocations: 4 kB / 0.7232 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.6785, allocations: 8 kB / 0.7232 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.6786, allocations: 12 kB / 0.7233 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001543/0.6801, allocations: 0.6299 MB / 0.7239 GB, free: 13.66 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.002756/0.6829, allocations: 1.583 MB / 0.7254 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.6833, allocations: 150.5 kB / 0.7256 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001701/0.6834, allocations: 75.61 kB / 0.7256 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.6848, allocations: 498.9 kB / 0.7261 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.6848, allocations: 34.56 kB / 0.7261 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.6848, allocations: 0 / 0.7261 GB, free: 11.18 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=19): time 0.001125/0.6859, allocations: 329.1 kB / 0.7265 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.686, allocations: 55.41 kB / 0.7265 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.6862, allocations: 195.1 kB / 0.7267 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.6862, allocations: 29.7 kB / 0.7267 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6864, allocations: 183.9 kB / 0.7269 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.268e-05/0.6864, allocations: 75.34 kB / 0.727 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.6866, allocations: 94.02 kB / 0.7271 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.6868, allocations: 330.8 kB / 0.7274 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.6869, allocations: 60.72 kB / 0.7274 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003974/0.6873, allocations: 268 kB / 0.7277 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.6879, allocations: 376.6 kB / 0.7281 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.6879, allocations: 7.922 kB / 0.7281 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007058/0.6886, allocations: 365.7 kB / 0.7284 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.6887, allocations: 10.03 kB / 0.7284 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6887, allocations: 8 kB / 0.7284 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.6887, allocations: 12.03 kB / 0.7284 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004372/0.6891, allocations: 127.8 kB / 0.7286 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004991/0.6896, allocations: 0.5977 MB / 0.7291 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.6899, allocations: 51.67 kB / 0.7292 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.69, allocations: 36 kB / 0.7292 GB, free: 7.766 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.0001845/0.6902, allocations: 151.1 kB / 0.7294 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.6903, allocations: 23.83 kB / 0.7294 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008977/0.6912, allocations: 455.3 kB / 0.7298 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6912, allocations: 3.984 kB / 0.7298 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.6912, allocations: 4 kB / 0.7298 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6912, allocations: 0 / 0.7298 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009863/0.6922, allocations: 0.5317 MB / 0.7304 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6922, allocations: 4 kB / 0.7304 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.6924, allocations: 55.91 kB / 0.7304 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.6925, allocations: 4 kB / 0.7304 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.6925, allocations: 8 kB / 0.7304 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004315/0.6929, allocations: 0.6056 MB / 0.731 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.6929, allocations: 4.031 kB / 0.731 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.6933, allocations: 301.6 kB / 0.7313 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6934, allocations: 27.89 kB / 0.7313 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.6935, allocations: 11.94 kB / 0.7313 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.6938, allocations: 15.92 kB / 0.7314 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.856e-05/0.6938, allocations: 19.97 kB / 0.7314 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.661e-05/0.6938, allocations: 20 kB / 0.7314 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001521/0.694, allocations: 139.4 kB / 0.7315 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.694, allocations: 0 / 0.7315 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007005/0.6947, allocations: 171.6 kB / 0.7317 GB, free: 5.07 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0005715/0.6953, allocations: 274.6 kB / 0.732 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.6958, allocations: 224.9 kB / 0.7322 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6958, allocations: 0 / 0.7322 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.696, allocations: 75.89 kB / 0.7322 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.6966, allocations: 69.17 kB / 0.7323 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.6985, allocations: 0.8823 MB / 0.7332 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.6989, allocations: 0.7245 MB / 0.7339 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006877/0.6995, allocations: 374.2 kB / 0.7342 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.6997, allocations: 63.39 kB / 0.7343 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.6997, allocations: 0 / 0.7343 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of Templates: time 0.3/0.9997, allocations: 5.938 MB / 0.7401 GB, free: 174.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.4977608891204]