Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0008485/0.0008485, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003329/0.003329, allocations: 160.6 kB / 24.7 MB, free: 8.906 MB / 18.57 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 0.827/0.827, allocations: 177.1 MB / 205 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2142/0.2142, allocations: 32.8 MB / 294.2 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 440.9 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.058e-05/2.226e-05, allocations: 4.391 kB / 440.9 MB, free: 3.754 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2505/0.2505, allocations: 132 MB / 0.5595 GB, free: 336 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003612/0.2541, allocations: 4.76 MB / 0.5641 GB, free: 11.56 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.895e-05/0.2542, allocations: 0 / 0.5641 GB, free: 11.56 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.2545, allocations: 39.69 kB / 0.5642 GB, free: 11.52 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.2567, allocations: 1.374 MB / 0.5655 GB, free: 10.15 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.2569, allocations: 143.1 kB / 0.5656 GB, free: 10.01 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.2573, allocations: 409.9 kB / 0.566 GB, free: 9.609 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.2573, allocations: 9.812 kB / 0.566 GB, free: 9.602 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002384/0.2576, allocations: 231.3 kB / 0.5663 GB, free: 9.375 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2577, allocations: 155.6 kB / 0.5664 GB, free: 9.223 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.2578, allocations: 8 kB / 0.5664 GB, free: 9.215 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.2589, allocations: 0.9705 MB / 0.5674 GB, free: 8.242 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.2589, allocations: 51.77 kB / 0.5674 GB, free: 8.191 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.259, allocations: 87.75 kB / 0.5675 GB, free: 8.105 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009017/0.2599, allocations: 0.9508 MB / 0.5684 GB, free: 7.152 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2599, allocations: 0 / 0.5684 GB, free: 7.152 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2599, allocations: 4 kB / 0.5684 GB, free: 7.148 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.2599, allocations: 3.656 kB / 0.5684 GB, free: 7.148 MB / 474.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.0008696/0.2608, allocations: 0.6144 MB / 0.569 GB, free: 6.508 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2608, allocations: 19.92 kB / 0.5691 GB, free: 6.488 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003582/0.2644, allocations: 0.6386 MB / 0.5697 GB, free: 5.855 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.2648, allocations: 205.4 kB / 0.5699 GB, free: 5.629 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.2649, allocations: 234.4 kB / 0.5701 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.2649, allocations: 20 kB / 0.5701 GB, free: 5.332 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.2657, allocations: 0.7345 MB / 0.5708 GB, free: 4.52 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2657, allocations: 3.938 kB / 0.5708 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.2658, allocations: 12 kB / 0.5709 GB, free: 4.504 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.2658, allocations: 8 kB / 0.5709 GB, free: 4.496 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008409/0.2666, allocations: 0.6223 MB / 0.5715 GB, free: 3.875 MB / 474.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.001197/0.2678, allocations: 1.393 MB / 0.5728 GB, free: 2.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.2681, allocations: 157.5 kB / 0.573 GB, free: 2.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.444e-05/0.2681, allocations: 76.81 kB / 0.5731 GB, free: 2.172 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005703/0.2687, allocations: 475.2 kB / 0.5735 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.2687, allocations: 38.5 kB / 0.5735 GB, free: 1.645 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 1.212e-06/0.2687, allocations: 0 / 0.5735 GB, free: 1.645 MB / 474.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=19): time 0.0006188/0.2694, allocations: 331.4 kB / 0.5739 GB, free: 1.316 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/0.2694, allocations: 55.41 kB / 0.5739 GB, free: 1.25 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2695, allocations: 195.1 kB / 0.5741 GB, free: 1.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.2695, allocations: 29.7 kB / 0.5741 GB, free: 1.016 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.2696, allocations: 187.8 kB / 0.5743 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.2697, allocations: 75.42 kB / 0.5744 GB, free: 0.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/0.2697, allocations: 86.02 kB / 0.5745 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.104e-05/0.2698, allocations: 326.8 kB / 0.5748 GB, free: 340 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.65e-05/0.2699, allocations: 72.7 kB / 0.5748 GB, free: 268 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.2701, allocations: 264 kB / 0.5751 GB, free: 15.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.2704, allocations: 370.9 kB / 0.5754 GB, free: 15.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.2704, allocations: 10.88 kB / 0.5755 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003791/0.2708, allocations: 366.9 kB / 0.5758 GB, free: 15.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2708, allocations: 13.41 kB / 0.5758 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.2708, allocations: 4 kB / 0.5758 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.2708, allocations: 12 kB / 0.5758 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.271, allocations: 123.8 kB / 0.576 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002529/0.2713, allocations: 0.6047 MB / 0.5765 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.2714, allocations: 47.61 kB / 0.5766 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2714, allocations: 45.48 kB / 0.5766 GB, free: 14.22 MB / 490.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 9.751e-05/0.2715, allocations: 146.8 kB / 0.5768 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.2716, allocations: 19.86 kB / 0.5768 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.2721, allocations: 452.9 kB / 0.5772 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2721, allocations: 7.938 kB / 0.5772 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.2721, allocations: 0 / 0.5772 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2721, allocations: 11.92 kB / 0.5772 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004759/0.2726, allocations: 0.4967 MB / 0.5777 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2726, allocations: 5.438 kB / 0.5777 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.2727, allocations: 51.97 kB / 0.5778 GB, free: 12.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2727, allocations: 7.938 kB / 0.5778 GB, free: 12.96 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.2727, allocations: 12 kB / 0.5778 GB, free: 12.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001994/0.2729, allocations: 0.598 MB / 0.5784 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2729, allocations: 0 / 0.5784 GB, free: 12.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.2731, allocations: 306.8 kB / 0.5787 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.2732, allocations: 23.89 kB / 0.5787 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.2732, allocations: 4 kB / 0.5787 GB, free: 11.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2733, allocations: 19.11 kB / 0.5787 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.2733, allocations: 23.84 kB / 0.5787 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.2734, allocations: 23.98 kB / 0.5788 GB, free: 11.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.206e-05/0.2734, allocations: 140.7 kB / 0.5789 GB, free: 11.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2734, allocations: 0 / 0.5789 GB, free: 11.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.2738, allocations: 167.6 kB / 0.5791 GB, free: 11.6 MB / 490.7 MB 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.0003901/0.2742, allocations: 272.9 kB / 0.5793 GB, free: 11.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003268/0.2745, allocations: 225.1 kB / 0.5795 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2745, allocations: 0 / 0.5795 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2747, allocations: 84.39 kB / 0.5796 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.275, allocations: 59.95 kB / 0.5797 GB, free: 10.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2761, allocations: 0.8939 MB / 0.5805 GB, free: 10.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.009e-05/0.2762, allocations: 109.8 kB / 0.5807 GB, free: 9.891 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.2763, allocations: 92.41 kB / 0.5807 GB, free: 9.801 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2763, allocations: 0 / 0.5807 GB, free: 9.801 MB / 490.7 MB Notification: Performance of Templates: time 0.005579/0.2819, allocations: 5.67 MB / 0.5863 GB, free: 4.152 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.586712718009949]