Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001943/0.001943, allocations: 209.9 kB / 24.49 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2237/0.2237, allocations: 46.95 MB / 361.6 MB, free: 4.328 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 71.89 kB / 0.4974 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 66.03 MB / 0.5619 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.185/0.5085, allocations: 153.5 MB / 0.7118 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006707/0.5152, allocations: 5.345 MB / 0.717 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.5153, allocations: 4 kB / 0.717 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003216/0.5157, allocations: 55.59 kB / 0.7171 GB, free: 4.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004167/0.5198, allocations: 1.34 MB / 0.7184 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.5202, allocations: 147.2 kB / 0.7185 GB, free: 3.379 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006982/0.5209, allocations: 402.1 kB / 0.7189 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.903e-05/0.521, allocations: 9.797 kB / 0.7189 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.5213, allocations: 175.4 kB / 0.7191 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.5217, allocations: 191.3 kB / 0.7193 GB, free: 2.613 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.5217, allocations: 8 kB / 0.7193 GB, free: 2.605 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.5246, allocations: 1.104 MB / 0.7204 GB, free: 1.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.5247, allocations: 51.75 kB / 0.7204 GB, free: 1.449 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.5249, allocations: 107.6 kB / 0.7205 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002178/0.5271, allocations: 0.8636 MB / 0.7214 GB, free: 492 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5271, allocations: 4 kB / 0.7214 GB, free: 488 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5271, allocations: 7.938 kB / 0.7214 GB, free: 480 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.5271, allocations: 0 / 0.7214 GB, free: 480 kB / 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.001686/0.5288, allocations: 0.6216 MB / 0.722 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5288, allocations: 8.031 kB / 0.722 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007892/0.5367, allocations: 0.6093 MB / 0.7226 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007037/0.5374, allocations: 209.6 kB / 0.7228 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.5376, allocations: 222.1 kB / 0.723 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.5377, allocations: 20 kB / 0.723 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.539, allocations: 0.5743 MB / 0.7236 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5391, allocations: 3.938 kB / 0.7236 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-05/0.5391, allocations: 12 kB / 0.7236 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.5392, allocations: 11.94 kB / 0.7236 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.5407, allocations: 0.626 MB / 0.7242 GB, free: 13.42 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.002463/0.5431, allocations: 1.583 MB / 0.7258 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003844/0.5435, allocations: 146.5 kB / 0.7259 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.5436, allocations: 68.88 kB / 0.726 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/0.5448, allocations: 498.9 kB / 0.7264 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.5449, allocations: 38.56 kB / 0.7265 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/0.5449, allocations: 0 / 0.7265 GB, free: 10.94 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.00104/0.5459, allocations: 327.7 kB / 0.7268 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.546, allocations: 55.41 kB / 0.7268 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.5461, allocations: 191.1 kB / 0.727 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.5462, allocations: 29.7 kB / 0.7271 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.5463, allocations: 183.9 kB / 0.7272 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.259e-05/0.5464, allocations: 71.36 kB / 0.7273 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.5465, allocations: 97.94 kB / 0.7274 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5466, allocations: 334.8 kB / 0.7277 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5468, allocations: 68.7 kB / 0.7278 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.5471, allocations: 260 kB / 0.728 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.5476, allocations: 362.2 kB / 0.7284 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5476, allocations: 7.938 kB / 0.7284 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006694/0.5483, allocations: 372.3 kB / 0.7287 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.5483, allocations: 8 kB / 0.7287 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.5483, allocations: 8 kB / 0.7288 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.5484, allocations: 8 kB / 0.7288 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.5488, allocations: 127.8 kB / 0.7289 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004453/0.5492, allocations: 0.6055 MB / 0.7295 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00025/0.5495, allocations: 43.97 kB / 0.7295 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.5496, allocations: 43.98 kB / 0.7296 GB, free: 7.523 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.0001754/0.5497, allocations: 141.7 kB / 0.7297 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.918e-05/0.5498, allocations: 27.78 kB / 0.7297 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008713/0.5507, allocations: 455.3 kB / 0.7302 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5507, allocations: 4 kB / 0.7302 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5507, allocations: 0 / 0.7302 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.5507, allocations: 0 / 0.7302 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000933/0.5516, allocations: 0.5395 MB / 0.7307 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5516, allocations: 0 / 0.7307 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.5518, allocations: 60.16 kB / 0.7307 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.5519, allocations: 8 kB / 0.7307 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.5519, allocations: 15.98 kB / 0.7308 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003638/0.5522, allocations: 0.5976 MB / 0.7313 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5522, allocations: 0 / 0.7313 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.5526, allocations: 302.2 kB / 0.7316 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.096e-05/0.5527, allocations: 23.88 kB / 0.7317 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.5528, allocations: 15.94 kB / 0.7317 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.553, allocations: 8 kB / 0.7317 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.606e-05/0.5531, allocations: 23.91 kB / 0.7317 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.238e-05/0.5531, allocations: 19.98 kB / 0.7317 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001303/0.5532, allocations: 143.4 kB / 0.7319 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5532, allocations: 3.938 kB / 0.7319 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006807/0.5539, allocations: 167.6 kB / 0.732 GB, free: 4.828 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.000562/0.5545, allocations: 270.6 kB / 0.7323 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005483/0.555, allocations: 222.2 kB / 0.7325 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.555, allocations: 1.875 kB / 0.7325 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.5552, allocations: 83.83 kB / 0.7326 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.5558, allocations: 72.59 kB / 0.7326 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.5575, allocations: 0.9113 MB / 0.7335 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.5579, allocations: 0.7284 MB / 0.7342 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.5581, allocations: 83.36 kB / 0.7343 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of SimCode: time 3.9e-07/0.5581, allocations: 0 / 0.7343 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of Templates: time 0.2502/0.8083, allocations: 5.55 MB / 0.7397 GB, free: 174.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.686629539821297]