Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008497/0.0008497, allocations: 80.45 kB / 20.69 MB, free: 3.875 MB / 18.57 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.0007862/0.0007862, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8111/0.8111, allocations: 158.6 MB / 185.7 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.12/0.12, allocations: 32.37 MB / 270.4 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 408.1 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.993e-05, allocations: 13.39 kB / 408.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.248/0.248, allocations: 130.2 MB / 0.5258 GB, free: 5.32 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003681/0.2517, allocations: 4.227 MB / 0.5299 GB, free: 1.098 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.842e-05/0.2518, allocations: 0 / 0.5299 GB, free: 1.098 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.2522, allocations: 55.55 kB / 0.5299 GB, free: 1.043 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.255, allocations: 1.587 MB / 0.5315 GB, free: 15.45 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.2552, allocations: 141.3 kB / 0.5316 GB, free: 15.31 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2556, allocations: 418.3 kB / 0.532 GB, free: 14.9 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.376e-05/0.2556, allocations: 9.797 kB / 0.532 GB, free: 14.89 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002303/0.2558, allocations: 223.4 kB / 0.5322 GB, free: 14.68 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.256, allocations: 159.6 kB / 0.5324 GB, free: 14.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.256, allocations: 11.94 kB / 0.5324 GB, free: 14.51 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00128/0.2573, allocations: 1.164 MB / 0.5335 GB, free: 13.34 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.821e-05/0.2574, allocations: 47.81 kB / 0.5336 GB, free: 13.3 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.2574, allocations: 79.78 kB / 0.5337 GB, free: 13.22 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.2586, allocations: 1.099 MB / 0.5347 GB, free: 12.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2586, allocations: 3.984 kB / 0.5347 GB, free: 12.11 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2586, allocations: 0 / 0.5347 GB, free: 12.11 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2586, allocations: 5.594 kB / 0.5347 GB, free: 12.11 MB / 442.7 MB 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.0008084/0.2594, allocations: 0.6487 MB / 0.5354 GB, free: 11.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.2595, allocations: 8.031 kB / 0.5354 GB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003279/0.2628, allocations: 0.6172 MB / 0.536 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003084/0.2631, allocations: 209.4 kB / 0.5362 GB, free: 10.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.2632, allocations: 226.7 kB / 0.5364 GB, free: 10.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.092e-05/0.2632, allocations: 20.38 kB / 0.5364 GB, free: 10.28 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.264, allocations: 0.7461 MB / 0.5372 GB, free: 9.457 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.264, allocations: 4 kB / 0.5372 GB, free: 9.453 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/0.264, allocations: 12 kB / 0.5372 GB, free: 9.441 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.264, allocations: 7.984 kB / 0.5372 GB, free: 9.434 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.2648, allocations: 0.6223 MB / 0.5378 GB, free: 8.812 MB / 442.7 MB 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.001091/0.2659, allocations: 1.393 MB / 0.5391 GB, free: 7.344 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2661, allocations: 154.9 kB / 0.5393 GB, free: 7.184 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.2662, allocations: 78.36 kB / 0.5394 GB, free: 7.109 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/0.267, allocations: 0.7146 MB / 0.5401 GB, free: 6.375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.267, allocations: 36.25 kB / 0.5401 GB, free: 6.332 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.163e-06/0.267, allocations: 0 / 0.5401 GB, free: 6.332 MB / 442.7 MB 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=20): time 0.0005947/0.2676, allocations: 337.5 kB / 0.5404 GB, free: 5.992 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.2676, allocations: 63.36 kB / 0.5405 GB, free: 5.918 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.2677, allocations: 186.2 kB / 0.5407 GB, free: 5.727 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.2677, allocations: 33.7 kB / 0.5407 GB, free: 5.688 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.2681, allocations: 179.9 kB / 0.5409 GB, free: 5.504 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.2681, allocations: 71.42 kB / 0.5409 GB, free: 5.434 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.49e-05/0.2682, allocations: 86.02 kB / 0.541 GB, free: 5.344 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.2682, allocations: 326.8 kB / 0.5413 GB, free: 5.016 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.63e-05/0.2683, allocations: 64.7 kB / 0.5414 GB, free: 4.953 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001472/0.2685, allocations: 263.7 kB / 0.5416 GB, free: 4.602 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.2687, allocations: 370.2 kB / 0.542 GB, free: 4.145 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2687, allocations: 4 kB / 0.542 GB, free: 4.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003517/0.2691, allocations: 365.7 kB / 0.5423 GB, free: 3.777 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2691, allocations: 8.906 kB / 0.5424 GB, free: 3.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2691, allocations: 11.98 kB / 0.5424 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2691, allocations: 11.94 kB / 0.5424 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2693, allocations: 123.8 kB / 0.5425 GB, free: 3.625 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002265/0.2696, allocations: 0.6055 MB / 0.5431 GB, free: 2.996 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2697, allocations: 51.61 kB / 0.5431 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.2697, allocations: 39.94 kB / 0.5432 GB, free: 2.906 MB / 442.7 MB 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 8.902e-05/0.2698, allocations: 145.6 kB / 0.5433 GB, free: 2.754 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.2698, allocations: 19.91 kB / 0.5433 GB, free: 2.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003853/0.2702, allocations: 326.1 kB / 0.5436 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2702, allocations: 4 kB / 0.5436 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2702, allocations: 0 / 0.5436 GB, free: 2.398 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2702, allocations: 3.984 kB / 0.5436 GB, free: 2.395 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.2706, allocations: 466 kB / 0.5441 GB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2706, allocations: 6.094 kB / 0.5441 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.723e-05/0.2707, allocations: 63.89 kB / 0.5442 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2707, allocations: 0 / 0.5442 GB, free: 1.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.2707, allocations: 15.94 kB / 0.5442 GB, free: 1.805 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001817/0.2709, allocations: 0.5977 MB / 0.5448 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2709, allocations: 0 / 0.5448 GB, free: 1.184 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001929/0.2711, allocations: 272.5 kB / 0.545 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.2711, allocations: 31.88 kB / 0.545 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.2711, allocations: 8 kB / 0.5451 GB, free: 0.8477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2712, allocations: 16.08 kB / 0.5451 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.2713, allocations: 15.92 kB / 0.5451 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.2713, allocations: 19.98 kB / 0.5451 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.479e-05/0.2713, allocations: 139.1 kB / 0.5452 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2713, allocations: 0 / 0.5452 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.2717, allocations: 207.4 kB / 0.5454 GB, free: 468 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.0005411/0.2723, allocations: 385.9 kB / 0.5458 GB, free: 80 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002988/0.2726, allocations: 220.2 kB / 0.546 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2726, allocations: 0 / 0.546 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.247e-05/0.2727, allocations: 79.89 kB / 0.5461 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.273, allocations: 75.84 kB / 0.5462 GB, free: 15.71 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.275, allocations: 1.967 MB / 0.5481 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.473e-05/0.2751, allocations: 112.6 kB / 0.5482 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.2752, allocations: 64.47 kB / 0.5483 GB, free: 13.51 MB / 458.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2752, allocations: 0 / 0.5483 GB, free: 13.51 MB / 458.7 MB Notification: Performance of Templates: time 0.004968/0.2801, allocations: 6.022 MB / 0.5541 GB, free: 7.492 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0036622527986765]