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.0008081/0.0008081, 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.0036/0.0036, allocations: 160.2 kB / 24.7 MB, free: 9.426 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.8453/0.8453, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2192/0.2192, allocations: 34.25 MB / 295.7 MB, free: 0.6914 MB / 266.7 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 1.463e-06/1.463e-06, allocations: 0 / 443.5 MB, free: 1.129 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.356e-05/2.503e-05, allocations: 10.16 kB / 443.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2586/0.2586, allocations: 132 MB / 0.562 GB, free: 12.23 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.003087/0.2617, allocations: 4.749 MB / 0.5667 GB, free: 7.473 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.2618, allocations: 4 kB / 0.5667 GB, free: 7.469 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.262, allocations: 47.62 kB / 0.5667 GB, free: 7.422 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.2638, allocations: 1.358 MB / 0.568 GB, free: 6.062 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.264, allocations: 151.3 kB / 0.5682 GB, free: 5.922 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.2643, allocations: 409.8 kB / 0.5686 GB, free: 5.52 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.2644, allocations: 5.812 kB / 0.5686 GB, free: 5.516 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.2646, allocations: 231.3 kB / 0.5688 GB, free: 5.289 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2648, allocations: 159.6 kB / 0.5689 GB, free: 5.133 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.2648, allocations: 8 kB / 0.569 GB, free: 5.125 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.2659, allocations: 0.9744 MB / 0.5699 GB, free: 4.148 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.2659, allocations: 55.75 kB / 0.57 GB, free: 4.094 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.62e-05/0.266, allocations: 83.81 kB / 0.57 GB, free: 4.012 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008311/0.2668, allocations: 0.9508 MB / 0.571 GB, free: 3.059 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2668, allocations: 4 kB / 0.571 GB, free: 3.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2668, allocations: 0 / 0.571 GB, free: 3.055 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2668, allocations: 3.469 kB / 0.571 GB, free: 3.055 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.000861/0.2677, allocations: 0.6183 MB / 0.5716 GB, free: 2.41 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2677, allocations: 12.03 kB / 0.5716 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.2712, allocations: 0.6384 MB / 0.5722 GB, free: 1.766 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.2715, allocations: 204.4 kB / 0.5724 GB, free: 1.535 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.2716, allocations: 230.2 kB / 0.5726 GB, free: 1.262 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.2717, allocations: 23.94 kB / 0.5726 GB, free: 1.238 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007337/0.2724, allocations: 0.7423 MB / 0.5734 GB, free: 432 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2724, allocations: 4 kB / 0.5734 GB, free: 428 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/0.2725, allocations: 12 kB / 0.5734 GB, free: 416 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.2725, allocations: 4 kB / 0.5734 GB, free: 412 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/0.2733, allocations: 0.6223 MB / 0.574 GB, free: 15.78 MB / 490.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.001178/0.2745, allocations: 1.405 MB / 0.5754 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.2747, allocations: 150.4 kB / 0.5755 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/0.2748, allocations: 72.86 kB / 0.5756 GB, free: 14.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.2753, allocations: 479.3 kB / 0.576 GB, free: 13.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.2754, allocations: 34.56 kB / 0.5761 GB, free: 13.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/0.2754, allocations: 4 kB / 0.5761 GB, free: 13.54 MB / 490.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.0005856/0.276, allocations: 323.1 kB / 0.5764 GB, free: 13.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.276, allocations: 55.41 kB / 0.5764 GB, free: 13.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.2761, allocations: 199.1 kB / 0.5766 GB, free: 12.95 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2761, allocations: 29.7 kB / 0.5767 GB, free: 12.92 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.2762, allocations: 187.8 kB / 0.5768 GB, free: 12.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.2762, allocations: 71.38 kB / 0.5769 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.2763, allocations: 94 kB / 0.577 GB, free: 12.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.2764, allocations: 326.8 kB / 0.5773 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.2765, allocations: 60.7 kB / 0.5774 GB, free: 12.17 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.2766, allocations: 268 kB / 0.5776 GB, free: 11.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.2769, allocations: 377.5 kB / 0.578 GB, free: 11.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2769, allocations: 4 kB / 0.578 GB, free: 11.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000357/0.2773, allocations: 368.8 kB / 0.5783 GB, free: 10.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.2773, allocations: 10.19 kB / 0.5783 GB, free: 10.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2773, allocations: 11.94 kB / 0.5784 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2773, allocations: 12 kB / 0.5784 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.2775, allocations: 123.8 kB / 0.5785 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002428/0.2778, allocations: 0.6072 MB / 0.5791 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.2779, allocations: 39.73 kB / 0.5791 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.2779, allocations: 43.98 kB / 0.5792 GB, free: 10.12 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.419e-05/0.278, allocations: 142.8 kB / 0.5793 GB, free: 9.973 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.278, allocations: 23.86 kB / 0.5793 GB, free: 9.949 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.2785, allocations: 461.7 kB / 0.5798 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2785, allocations: 0 / 0.5798 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2785, allocations: 0 / 0.5798 GB, free: 9.492 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2785, allocations: 3.938 kB / 0.5798 GB, free: 9.488 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.279, allocations: 0.5045 MB / 0.5803 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.279, allocations: 3.188 kB / 0.5803 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.969e-05/0.2791, allocations: 63.89 kB / 0.5803 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.2791, allocations: 0 / 0.5803 GB, free: 8.863 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2791, allocations: 12 kB / 0.5803 GB, free: 8.852 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001889/0.2793, allocations: 0.5938 MB / 0.5809 GB, free: 8.234 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2793, allocations: 7.969 kB / 0.5809 GB, free: 8.227 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002067/0.2795, allocations: 292.1 kB / 0.5812 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.2795, allocations: 31.88 kB / 0.5812 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.2796, allocations: 11.94 kB / 0.5812 GB, free: 7.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.2797, allocations: 7.984 kB / 0.5812 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.2797, allocations: 27.86 kB / 0.5813 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.2797, allocations: 15.98 kB / 0.5813 GB, free: 7.809 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.913e-05/0.2798, allocations: 140.6 kB / 0.5814 GB, free: 7.672 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2798, allocations: 0 / 0.5814 GB, free: 7.672 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.2802, allocations: 163.7 kB / 0.5816 GB, free: 7.512 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.0003677/0.2805, allocations: 286.6 kB / 0.5818 GB, free: 7.223 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.2809, allocations: 219.7 kB / 0.5821 GB, free: 7.008 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2809, allocations: 0 / 0.5821 GB, free: 7.008 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.65e-05/0.2809, allocations: 81.53 kB / 0.5821 GB, free: 6.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2813, allocations: 74.06 kB / 0.5822 GB, free: 6.867 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.2823, allocations: 0.8747 MB / 0.5831 GB, free: 5.934 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.828e-05/0.2824, allocations: 120.5 kB / 0.5832 GB, free: 5.797 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.2825, allocations: 92.41 kB / 0.5833 GB, free: 5.707 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2825, allocations: 0 / 0.5833 GB, free: 5.707 MB / 490.7 MB Notification: Performance of Templates: time 0.005041/0.2875, allocations: 5.668 MB / 0.5888 GB, free: 56 kB / 490.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/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: 5.602037267759442]