Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009347/0.0009348, allocations: 196.1 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008047/0.0008048, allocations: 97.25 kB / 299.8 MB, free: 5.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3275/0.3275, allocations: 45 MB / 397 MB, free: 31.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002488/0.0002489, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.305, allocations: 63.1 MB / 0.5214 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1423/0.4474, allocations: 138.7 MB / 0.6568 GB, free: 11.85 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.006441/0.4538, allocations: 8.001 MB / 0.6646 GB, free: 3.137 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.454, allocations: 0 / 0.6646 GB, free: 3.137 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.4544, allocations: 51.7 kB / 0.6646 GB, free: 3.086 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003212/0.4576, allocations: 1.157 MB / 0.6658 GB, free: 1.926 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003219/0.4579, allocations: 135.8 kB / 0.6659 GB, free: 1.793 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005845/0.4585, allocations: 462 kB / 0.6663 GB, free: 1.34 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.4586, allocations: 13.67 kB / 0.6663 GB, free: 1.328 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.4589, allocations: 167.3 kB / 0.6665 GB, free: 1.164 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003142/0.4592, allocations: 179.5 kB / 0.6667 GB, free: 0.9883 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.355e-05/0.4592, allocations: 8 kB / 0.6667 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.4613, allocations: 1.022 MB / 0.6677 GB, free: 15.95 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.4614, allocations: 47.67 kB / 0.6677 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.4616, allocations: 141.1 kB / 0.6679 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.4632, allocations: 0.8693 MB / 0.6687 GB, free: 14.89 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4632, allocations: 0 / 0.6687 GB, free: 14.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4632, allocations: 0 / 0.6687 GB, free: 14.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.4632, allocations: 0 / 0.6687 GB, free: 14.89 MB / 490.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.001136/0.4644, allocations: 0.6204 MB / 0.6693 GB, free: 14.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.4644, allocations: 8.031 kB / 0.6693 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006886/0.4713, allocations: 0.6091 MB / 0.6699 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.4717, allocations: 263.4 kB / 0.6702 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.4718, allocations: 127.4 kB / 0.6703 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.4719, allocations: 20 kB / 0.6703 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.473, allocations: 0.5633 MB / 0.6709 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.473, allocations: 0 / 0.6709 GB, free: 12.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.083e-05/0.4731, allocations: 12 kB / 0.6709 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.4731, allocations: 4 kB / 0.6709 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.4745, allocations: 0.6338 MB / 0.6715 GB, free: 11.89 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.001934/0.4764, allocations: 1.72 MB / 0.6732 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.4768, allocations: 154.5 kB / 0.6733 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.4769, allocations: 72.88 kB / 0.6734 GB, free: 9.793 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/0.4783, allocations: 1.491 MB / 0.6748 GB, free: 8.039 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.4783, allocations: 34.56 kB / 0.6749 GB, free: 7.996 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.442e-06/0.4784, allocations: 0 / 0.6749 GB, free: 7.996 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.0008669/0.4792, allocations: 322.6 kB / 0.6752 GB, free: 7.676 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.4793, allocations: 55.41 kB / 0.6752 GB, free: 7.609 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.4794, allocations: 181.8 kB / 0.6754 GB, free: 7.426 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.4795, allocations: 29.7 kB / 0.6754 GB, free: 7.391 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.238e-05/0.4796, allocations: 187.2 kB / 0.6756 GB, free: 7.203 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.4796, allocations: 71.08 kB / 0.6757 GB, free: 7.133 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-05/0.4796, allocations: 11.94 kB / 0.6757 GB, free: 7.121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.191e-05/0.4797, allocations: 330.8 kB / 0.676 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.4799, allocations: 64.7 kB / 0.6761 GB, free: 6.727 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.4801, allocations: 260.1 kB / 0.6763 GB, free: 6.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004253/0.4805, allocations: 358.2 kB / 0.6767 GB, free: 5.934 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4805, allocations: 4 kB / 0.6767 GB, free: 5.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005896/0.4811, allocations: 361 kB / 0.677 GB, free: 5.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.4812, allocations: 15.92 kB / 0.677 GB, free: 5.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4812, allocations: 8 kB / 0.677 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4812, allocations: 8 kB / 0.677 GB, free: 5.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.4816, allocations: 124.6 kB / 0.6772 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003241/0.4819, allocations: 0.6132 MB / 0.6778 GB, free: 4.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/0.4822, allocations: 39.53 kB / 0.6778 GB, free: 4.742 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.113e-05/0.4822, allocations: 43.98 kB / 0.6778 GB, free: 4.699 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 0.0001209/0.4824, allocations: 142.3 kB / 0.678 GB, free: 4.551 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.4824, allocations: 23.84 kB / 0.678 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008687/0.4833, allocations: 467.9 kB / 0.6784 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4833, allocations: 0 / 0.6784 GB, free: 4.047 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4833, allocations: 8 kB / 0.6785 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4833, allocations: 0 / 0.6785 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.4841, allocations: 0.6314 MB / 0.6791 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4841, allocations: 0 / 0.6791 GB, free: 3.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.4843, allocations: 59.97 kB / 0.6791 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.4844, allocations: 3.984 kB / 0.6791 GB, free: 3.246 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.4844, allocations: 11.94 kB / 0.6791 GB, free: 3.234 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002838/0.4847, allocations: 0.5977 MB / 0.6797 GB, free: 2.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4847, allocations: 8 kB / 0.6797 GB, free: 2.605 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.485, allocations: 298.2 kB / 0.68 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.4851, allocations: 124.8 kB / 0.6801 GB, free: 2.133 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.4852, allocations: 7.938 kB / 0.6801 GB, free: 2.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.4854, allocations: 11.98 kB / 0.6802 GB, free: 2.113 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.4854, allocations: 11.98 kB / 0.6802 GB, free: 2.102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.4855, allocations: 23.98 kB / 0.6802 GB, free: 2.078 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.4856, allocations: 143.5 kB / 0.6803 GB, free: 1.938 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4856, allocations: 0 / 0.6803 GB, free: 1.938 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005491/0.4862, allocations: 163.9 kB / 0.6805 GB, free: 1.777 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.0006067/0.4868, allocations: 281.3 kB / 0.6808 GB, free: 1.504 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.4872, allocations: 229.5 kB / 0.681 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4872, allocations: 0 / 0.681 GB, free: 1.281 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.4874, allocations: 75.84 kB / 0.681 GB, free: 1.207 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.488, allocations: 88.22 kB / 0.6811 GB, free: 1.121 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.4894, allocations: 0.9812 MB / 0.6821 GB, free: 92 kB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1943/0.6837, allocations: 0.721 MB / 0.6828 GB, free: 144.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001028/0.6847, allocations: 384 kB / 0.6832 GB, free: 144.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.6849, allocations: 60.73 kB / 0.6832 GB, free: 144.9 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/0.685, allocations: 0 / 0.6832 GB, free: 144.9 MB / 490.7 MB Notification: Performance of Templates: time 0.01015/0.6951, allocations: 5.585 MB / 0.6887 GB, free: 144.6 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches