Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 193.9 kB / 16.09 MB, free: 5.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.6 MB / 243.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007145/0.0007145, allocations: 103.6 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3018/0.3018, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002905/0.000291, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 62.97 MB / 0.5159 GB, free: 37.17 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1362/0.4406, allocations: 136.2 MB / 0.6489 GB, free: 0.875 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005305/0.446, allocations: 4.91 MB / 0.6537 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000185/0.4462, allocations: 0 / 0.6537 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003213/0.4465, allocations: 39.73 kB / 0.6538 GB, free: 11.91 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003443/0.45, allocations: 1.107 MB / 0.6548 GB, free: 10.8 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.4504, allocations: 130.4 kB / 0.655 GB, free: 10.68 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.4509, allocations: 410.1 kB / 0.6554 GB, free: 10.28 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.451, allocations: 13.67 kB / 0.6554 GB, free: 10.27 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.4513, allocations: 167.3 kB / 0.6555 GB, free: 10.11 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002919/0.4516, allocations: 179.5 kB / 0.6557 GB, free: 9.93 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.602e-05/0.4516, allocations: 4 kB / 0.6557 GB, free: 9.926 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00225/0.4539, allocations: 1.025 MB / 0.6567 GB, free: 8.898 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.216e-05/0.454, allocations: 43.81 kB / 0.6567 GB, free: 8.855 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.4541, allocations: 133.3 kB / 0.6569 GB, free: 8.719 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.4551, allocations: 0.6019 MB / 0.6575 GB, free: 8.117 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4552, allocations: 7.938 kB / 0.6575 GB, free: 8.109 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4552, allocations: 0 / 0.6575 GB, free: 8.109 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.4552, allocations: 0 / 0.6575 GB, free: 8.109 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.001218/0.4564, allocations: 0.6164 MB / 0.6581 GB, free: 7.441 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4565, allocations: 16.03 kB / 0.6581 GB, free: 7.426 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006912/0.4634, allocations: 0.6091 MB / 0.6587 GB, free: 6.816 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.4639, allocations: 263.4 kB / 0.6589 GB, free: 6.52 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.464, allocations: 127.4 kB / 0.659 GB, free: 6.371 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.404e-05/0.4641, allocations: 24 kB / 0.6591 GB, free: 6.348 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.4652, allocations: 0.5556 MB / 0.6596 GB, free: 5.754 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4652, allocations: 0 / 0.6596 GB, free: 5.754 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.811e-05/0.4653, allocations: 12 kB / 0.6596 GB, free: 5.742 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.4653, allocations: 8 kB / 0.6596 GB, free: 5.734 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00141/0.4668, allocations: 0.6299 MB / 0.6602 GB, free: 5.105 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.002201/0.469, allocations: 1.729 MB / 0.6619 GB, free: 3.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.4693, allocations: 150.5 kB / 0.6621 GB, free: 3.074 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.4695, allocations: 72.88 kB / 0.6621 GB, free: 3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001554/0.471, allocations: 1.479 MB / 0.6636 GB, free: 1.258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.4711, allocations: 38.56 kB / 0.6636 GB, free: 1.211 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 1.944e-06/0.4711, allocations: 0 / 0.6636 GB, free: 1.211 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.0009553/0.472, allocations: 330.3 kB / 0.6639 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.4721, allocations: 55.41 kB / 0.664 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.4722, allocations: 183 kB / 0.6642 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4723, allocations: 37.7 kB / 0.6642 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.4724, allocations: 183.3 kB / 0.6644 GB, free: 416 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/0.4725, allocations: 67.09 kB / 0.6644 GB, free: 348 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/0.4725, allocations: 4 kB / 0.6645 GB, free: 344 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4726, allocations: 330.8 kB / 0.6648 GB, free: 4 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4728, allocations: 72.64 kB / 0.6648 GB, free: 15.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.473, allocations: 256.1 kB / 0.6651 GB, free: 15.59 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.4734, allocations: 371.9 kB / 0.6654 GB, free: 15.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4735, allocations: 0 / 0.6654 GB, free: 15.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005768/0.474, allocations: 362.6 kB / 0.6658 GB, free: 14.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.4741, allocations: 15.92 kB / 0.6658 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.4741, allocations: 4 kB / 0.6658 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4741, allocations: 16.75 kB / 0.6658 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.4745, allocations: 119.9 kB / 0.6659 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003875/0.4749, allocations: 0.6171 MB / 0.6665 GB, free: 13.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.4752, allocations: 43.53 kB / 0.6666 GB, free: 13.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.4753, allocations: 40 kB / 0.6666 GB, free: 13.9 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 (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.0001527/0.4754, allocations: 141.7 kB / 0.6667 GB, free: 13.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.4755, allocations: 23.84 kB / 0.6668 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009359/0.4764, allocations: 455.9 kB / 0.6672 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4764, allocations: 7.938 kB / 0.6672 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.4764, allocations: 3.938 kB / 0.6672 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4765, allocations: 0 / 0.6672 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008472/0.4773, allocations: 0.6392 MB / 0.6678 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.4773, allocations: 3.938 kB / 0.6678 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.4775, allocations: 59.97 kB / 0.6679 GB, free: 12.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.4776, allocations: 11.97 kB / 0.6679 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.4776, allocations: 4 kB / 0.6679 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002901/0.4779, allocations: 0.6015 MB / 0.6685 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4779, allocations: 256 / 0.6685 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003447/0.4782, allocations: 299.5 kB / 0.6688 GB, free: 11.47 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.4784, allocations: 112.8 kB / 0.6689 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.4784, allocations: 11.94 kB / 0.6689 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4786, allocations: 11.98 kB / 0.6689 GB, free: 11.32 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.4787, allocations: 15.98 kB / 0.6689 GB, free: 11.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.4787, allocations: 23.98 kB / 0.669 GB, free: 11.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.4788, allocations: 136 kB / 0.6691 GB, free: 11.15 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.513e-06/0.4788, allocations: 0 / 0.6691 GB, free: 11.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000615/0.4795, allocations: 168 kB / 0.6692 GB, free: 10.98 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 (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.0006118/0.4801, allocations: 274 kB / 0.6695 GB, free: 10.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.4806, allocations: 233.1 kB / 0.6697 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4806, allocations: 0 / 0.6697 GB, free: 10.49 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.4808, allocations: 75.84 kB / 0.6698 GB, free: 10.41 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.4813, allocations: 62.55 kB / 0.6699 GB, free: 10.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4829, allocations: 1.004 MB / 0.6708 GB, free: 9.297 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.4832, allocations: 0.7287 MB / 0.6716 GB, free: 8.543 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.4835, allocations: 87.34 kB / 0.6716 GB, free: 8.457 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.4835, allocations: 4 kB / 0.6716 GB, free: 8.453 MB / 490.7 MB Notification: Performance of Templates: time 0.007488/0.491, allocations: 5.419 MB / 0.6769 GB, free: 3.031 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches