Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.Media.TestAllProperties.CO2") translateModel(ModelicaTest.Media.TestAllProperties.CO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002287/0.002291, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.053/2.053, allocations: 205.2 MB / 219.4 MB, free: 14.29 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2685/0.2685, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.367e-05, allocations: 4 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.675/1.793, allocations: 497.6 MB / 0.9587 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.793, allocations: 80.27 kB / 0.9588 GB, free: 146.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2108/2.004, allocations: 57.28 MB / 1.015 GB, free: 97.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/2.004, allocations: 0 / 1.015 GB, free: 97.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.492e-05/2.004, allocations: 4 kB / 1.015 GB, free: 97.3 MB / 0.5105 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.001775/2.006, allocations: 0.6766 MB / 1.015 GB, free: 96.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/2.006, allocations: 8.031 kB / 1.015 GB, free: 96.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/2.018, allocations: 0.5931 MB / 1.016 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/2.019, allocations: 262.6 kB / 1.016 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/2.019, allocations: 123.4 kB / 1.016 GB, free: 95.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/2.019, allocations: 24 kB / 1.016 GB, free: 95.52 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/2.02, allocations: 0.5166 MB / 1.017 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/2.02, allocations: 0 / 1.017 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/2.021, allocations: 12 kB / 1.017 GB, free: 94.95 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/2.021, allocations: 15.98 kB / 1.017 GB, free: 94.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/2.022, allocations: 0.5636 MB / 1.017 GB, free: 94.37 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.002534/2.025, allocations: 1.62 MB / 1.019 GB, free: 92.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/2.025, allocations: 158.6 kB / 1.019 GB, free: 92.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/2.025, allocations: 80.72 kB / 1.019 GB, free: 92.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/2.027, allocations: 1.207 MB / 1.02 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/2.027, allocations: 38.56 kB / 1.02 GB, free: 90.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.565e-06/2.027, allocations: 3.938 kB / 1.02 GB, free: 90.91 MB / 0.5105 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=20): time 0.001129/2.028, allocations: 277.5 kB / 1.021 GB, free: 90.63 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/2.028, allocations: 63.36 kB / 1.021 GB, free: 90.56 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/2.028, allocations: 165.1 kB / 1.021 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/2.028, allocations: 25.7 kB / 1.021 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/2.028, allocations: 257.8 kB / 1.021 GB, free: 90.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/2.028, allocations: 71 kB / 1.021 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/2.028, allocations: 8 kB / 1.021 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.591e-05/2.028, allocations: 322.8 kB / 1.022 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000164/2.028, allocations: 60.73 kB / 1.022 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/2.029, allocations: 263.8 kB / 1.022 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/2.029, allocations: 105.1 kB / 1.022 GB, free: 89.19 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/2.029, allocations: 4 kB / 1.022 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007301/2.03, allocations: 345 kB / 1.022 GB, free: 88.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/2.03, allocations: 11.98 kB / 1.022 GB, free: 88.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/2.03, allocations: 8 kB / 1.022 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/2.03, allocations: 8.781 kB / 1.022 GB, free: 88.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/2.031, allocations: 123.8 kB / 1.022 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003064/2.031, allocations: 0.6132 MB / 1.023 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/2.031, allocations: 39.59 kB / 1.023 GB, free: 88.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/2.031, allocations: 43.98 kB / 1.023 GB, free: 87.97 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00012/2.031, allocations: 132.7 kB / 1.023 GB, free: 87.84 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/2.032, allocations: 15.91 kB / 1.023 GB, free: 87.82 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/2.033, allocations: 325 kB / 1.024 GB, free: 87.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/2.033, allocations: 7.922 kB / 1.024 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/2.033, allocations: 3.984 kB / 1.024 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/2.033, allocations: 0 / 1.024 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008272/2.034, allocations: 0.5412 MB / 1.024 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.034, allocations: 0 / 1.024 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003798/2.034, allocations: 55.97 kB / 1.024 GB, free: 86.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/2.034, allocations: 0 / 1.024 GB, free: 86.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/2.034, allocations: 15.98 kB / 1.024 GB, free: 86.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002524/2.034, allocations: 0.594 MB / 1.025 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/2.034, allocations: 0 / 1.025 GB, free: 86.18 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003969/2.035, allocations: 347.2 kB / 1.025 GB, free: 85.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/2.035, allocations: 116.8 kB / 1.025 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.86e-05/2.035, allocations: 8 kB / 1.025 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004031/2.035, allocations: 12 kB / 1.025 GB, free: 85.62 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/2.035, allocations: 19.97 kB / 1.025 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/2.035, allocations: 23.95 kB / 1.025 GB, free: 85.58 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001175/2.036, allocations: 131.1 kB / 1.025 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.5e-07/2.036, allocations: 0 / 1.025 GB, free: 85.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001181/2.037, allocations: 263.7 kB / 1.026 GB, free: 85.2 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/2.038, allocations: 0.7511 MB / 1.026 GB, free: 84.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006325/2.039, allocations: 213.4 kB / 1.027 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.039, allocations: 4 kB / 1.027 GB, free: 84.22 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/2.039, allocations: 73.41 kB / 1.027 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000579/2.04, allocations: 52.39 kB / 1.027 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1066/2.147, allocations: 30.41 MB / 1.056 GB, free: 53.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/2.147, allocations: 0.7287 MB / 1.057 GB, free: 52.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/2.147, allocations: 63.39 kB / 1.057 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.302e-06/2.147, allocations: 0 / 1.057 GB, free: 52.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.017/2.164, allocations: 8.46 MB / 1.065 GB, free: 44.23 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches