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.001725/0.001725, allocations: 106.9 kB / 19.8 MB, free: 2.5 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.002455/0.002455, allocations: 218.6 kB / 22.99 MB, free: 5.574 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.525/1.525, allocations: 230.2 MB / 256.2 MB, free: 8.508 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.2377/0.2377, allocations: 46.91 MB / 359.4 MB, free: 4.859 MB / 286.1 MB " [Timeout remaining time 180] 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.002219/0.002219, allocations: 79.88 kB / 0.4947 GB, free: 8.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3223, allocations: 66 MB / 0.5591 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1897/0.512, allocations: 153.5 MB / 0.709 GB, free: 10.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008152/0.5201, allocations: 5.349 MB / 0.7143 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.5204, allocations: 0 / 0.7143 GB, free: 5.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.5209, allocations: 47.67 kB / 0.7143 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005852/0.5267, allocations: 1.331 MB / 0.7156 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.5272, allocations: 148.9 kB / 0.7157 GB, free: 4.055 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009184/0.5282, allocations: 394.1 kB / 0.7161 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.335e-05/0.5282, allocations: 13.66 kB / 0.7161 GB, free: 3.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.5287, allocations: 171.4 kB / 0.7163 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004687/0.5292, allocations: 183.4 kB / 0.7165 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.325e-05/0.5292, allocations: 8 kB / 0.7165 GB, free: 3.301 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003679/0.5329, allocations: 1.11 MB / 0.7176 GB, free: 2.195 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.5331, allocations: 51.75 kB / 0.7176 GB, free: 2.145 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002168/0.5333, allocations: 107.5 kB / 0.7177 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002952/0.5362, allocations: 0.8649 MB / 0.7186 GB, free: 1.172 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.5362, allocations: 0 / 0.7186 GB, free: 1.172 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5362, allocations: 0 / 0.7186 GB, free: 1.172 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.5362, allocations: 0 / 0.7186 GB, free: 1.172 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.002023/0.5383, allocations: 0.6969 MB / 0.7192 GB, free: 436 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.5383, allocations: 8.031 kB / 0.7192 GB, free: 428 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007535/0.5459, allocations: 0.6054 MB / 0.7198 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006265/0.5465, allocations: 263.4 kB / 0.7201 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.5467, allocations: 131.4 kB / 0.7202 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5468, allocations: 20 kB / 0.7202 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.5481, allocations: 0.5711 MB / 0.7208 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.5481, allocations: 0 / 0.7208 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.655e-05/0.5482, allocations: 12 kB / 0.7208 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.5482, allocations: 7.984 kB / 0.7208 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.5498, allocations: 0.6338 MB / 0.7214 GB, free: 14.08 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.002601/0.5524, allocations: 1.718 MB / 0.7231 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.5528, allocations: 150.5 kB / 0.7232 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.5529, allocations: 68.83 kB / 0.7233 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001791/0.5547, allocations: 1.483 MB / 0.7248 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.5548, allocations: 30.56 kB / 0.7248 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.5548, allocations: 4 kB / 0.7248 GB, free: 10.2 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.001035/0.5558, allocations: 329 kB / 0.7251 GB, free: 9.875 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.5559, allocations: 51.41 kB / 0.7252 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.5561, allocations: 190.5 kB / 0.7253 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.5561, allocations: 29.7 kB / 0.7254 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.5562, allocations: 191.8 kB / 0.7255 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.5563, allocations: 67.42 kB / 0.7256 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.5565, allocations: 98.02 kB / 0.7257 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5566, allocations: 334.8 kB / 0.726 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.5568, allocations: 56.72 kB / 0.7261 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.5571, allocations: 264 kB / 0.7263 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.5576, allocations: 373 kB / 0.7267 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.5577, allocations: 4 kB / 0.7267 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007002/0.5584, allocations: 365.3 kB / 0.727 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5584, allocations: 8 kB / 0.727 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5584, allocations: 11.94 kB / 0.7271 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.5584, allocations: 8 kB / 0.7271 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004176/0.5588, allocations: 127.8 kB / 0.7272 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004378/0.5593, allocations: 0.6059 MB / 0.7278 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.5595, allocations: 51.62 kB / 0.7278 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.5596, allocations: 40 kB / 0.7279 GB, free: 6.777 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.0001615/0.5598, allocations: 141.7 kB / 0.728 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.5598, allocations: 23.83 kB / 0.728 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009086/0.5607, allocations: 456.1 kB / 0.7285 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.748e-06/0.5607, allocations: 0 / 0.7285 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.5608, allocations: 4 kB / 0.7285 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.5608, allocations: 8 kB / 0.7285 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009787/0.5617, allocations: 0.6315 MB / 0.7291 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5617, allocations: 8.031 kB / 0.7291 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/0.562, allocations: 55.91 kB / 0.7291 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.562, allocations: 4 kB / 0.7292 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.562, allocations: 11.98 kB / 0.7292 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003789/0.5624, allocations: 0.5938 MB / 0.7297 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.5624, allocations: 7.938 kB / 0.7298 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004286/0.5628, allocations: 305 kB / 0.73 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.5629, allocations: 112.9 kB / 0.7301 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.872e-05/0.563, allocations: 7.938 kB / 0.7302 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.5633, allocations: 11.94 kB / 0.7302 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.5633, allocations: 15.97 kB / 0.7302 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.423e-05/0.5633, allocations: 20 kB / 0.7302 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001332/0.5635, allocations: 135.6 kB / 0.7303 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5635, allocations: 4 kB / 0.7303 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006872/0.5642, allocations: 171.6 kB / 0.7305 GB, free: 3.863 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.0007129/0.5649, allocations: 277.3 kB / 0.7308 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.5654, allocations: 220.1 kB / 0.731 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5654, allocations: 4.188 kB / 0.731 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.5657, allocations: 75.83 kB / 0.7311 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005822/0.5662, allocations: 72.61 kB / 0.7311 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.568, allocations: 0.895 MB / 0.732 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.5684, allocations: 0.7245 MB / 0.7327 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000701/0.5691, allocations: 375.2 kB / 0.7331 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.5693, allocations: 71.31 kB / 0.7331 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5693, allocations: 0 / 0.7331 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of Templates: time 0.2644/0.8337, allocations: 5.859 MB / 0.7388 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.04498316347599]