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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 113.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 179.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 63.84 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3565, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1622/0.5187, allocations: 150.1 MB / 0.6656 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006288/0.525, allocations: 5.318 MB / 0.6708 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.5252, allocations: 4 kB / 0.6708 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.5255, allocations: 51.61 kB / 0.6708 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.5294, allocations: 1.321 MB / 0.6721 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.5297, allocations: 139.5 kB / 0.6722 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.5302, allocations: 394.2 kB / 0.6726 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.237e-05/0.5303, allocations: 14.66 kB / 0.6726 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.5305, allocations: 167.3 kB / 0.6728 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.5308, allocations: 167.5 kB / 0.6729 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.5308, allocations: 8 kB / 0.6729 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.5329, allocations: 1.095 MB / 0.674 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.533, allocations: 43.81 kB / 0.6741 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.5331, allocations: 103.5 kB / 0.6742 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.5344, allocations: 0.8572 MB / 0.675 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.5344, allocations: 0 / 0.675 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5344, allocations: 0 / 0.675 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.5344, allocations: 0 / 0.675 GB, free: 11.67 MB / 0.5294 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.001271/0.5357, allocations: 0.697 MB / 0.6757 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.5358, allocations: 11.97 kB / 0.6757 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00741/0.5432, allocations: 0.5859 MB / 0.6763 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006852/0.5439, allocations: 271.3 kB / 0.6765 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.5441, allocations: 127.4 kB / 0.6766 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.5442, allocations: 16 kB / 0.6767 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.5455, allocations: 0.5634 MB / 0.6772 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5455, allocations: 0 / 0.6772 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.464e-05/0.5456, allocations: 12 kB / 0.6772 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.5456, allocations: 4 kB / 0.6772 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001428/0.5471, allocations: 0.6338 MB / 0.6778 GB, free: 8.602 MB / 0.5294 GB 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.002119/0.5492, allocations: 1.713 MB / 0.6795 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00034/0.5495, allocations: 162.5 kB / 0.6797 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.5497, allocations: 80.77 kB / 0.6797 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/0.5511, allocations: 1.46 MB / 0.6812 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.5511, allocations: 38.5 kB / 0.6812 GB, free: 4.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.934e-06/0.5511, allocations: 4 kB / 0.6812 GB, free: 4.715 MB / 0.5294 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=19): time 0.0009688/0.5521, allocations: 327.2 kB / 0.6815 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.5522, allocations: 55.39 kB / 0.6816 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.5524, allocations: 186.6 kB / 0.6818 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.5524, allocations: 37.64 kB / 0.6818 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5525, allocations: 183.9 kB / 0.682 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.5526, allocations: 75.41 kB / 0.682 GB, free: 3.832 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.5528, allocations: 97.95 kB / 0.6821 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5529, allocations: 330.8 kB / 0.6824 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5531, allocations: 64.7 kB / 0.6825 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.5534, allocations: 264 kB / 0.6828 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.5539, allocations: 370.2 kB / 0.6831 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5539, allocations: 0 / 0.6831 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000599/0.5545, allocations: 365 kB / 0.6835 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5545, allocations: 11.98 kB / 0.6835 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.5545, allocations: 12 kB / 0.6835 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.5545, allocations: 8.75 kB / 0.6835 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003701/0.5549, allocations: 119.9 kB / 0.6836 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003331/0.5553, allocations: 0.6093 MB / 0.6842 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.5555, allocations: 47.67 kB / 0.6842 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.5555, allocations: 40 kB / 0.6843 GB, free: 1.297 MB / 0.5294 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 () * 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.0001364/0.5557, allocations: 145.6 kB / 0.6844 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.5558, allocations: 19.84 kB / 0.6844 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/0.5566, allocations: 471.4 kB / 0.6849 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5566, allocations: 0 / 0.6849 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5566, allocations: 4 kB / 0.6849 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5566, allocations: 0 / 0.6849 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.5575, allocations: 0.6391 MB / 0.6855 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5575, allocations: 4 kB / 0.6855 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.5577, allocations: 55.97 kB / 0.6856 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5577, allocations: 7.984 kB / 0.6856 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.5577, allocations: 4 kB / 0.6856 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003069/0.558, allocations: 0.5979 MB / 0.6862 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5581, allocations: 4 kB / 0.6862 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.5584, allocations: 302.2 kB / 0.6865 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5585, allocations: 112.9 kB / 0.6866 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.5586, allocations: 7.938 kB / 0.6866 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.5588, allocations: 15.98 kB / 0.6866 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.5589, allocations: 23.92 kB / 0.6866 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.5589, allocations: 16 kB / 0.6866 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001917/0.5591, allocations: 135.6 kB / 0.6868 GB, free: 14.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5591, allocations: 0 / 0.6868 GB, free: 14.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006409/0.5598, allocations: 167.7 kB / 0.6869 GB, free: 14.39 MB / 0.545 GB 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.0005651/0.5603, allocations: 280.1 kB / 0.6872 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.5608, allocations: 228.8 kB / 0.6874 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5608, allocations: 4 kB / 0.6874 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.561, allocations: 79.83 kB / 0.6875 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.5616, allocations: 69.36 kB / 0.6875 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.5631, allocations: 0.8418 MB / 0.6884 GB, free: 12.85 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.5633, allocations: 0.7206 MB / 0.6891 GB, free: 12.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005865/0.5639, allocations: 379.2 kB / 0.6894 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.5641, allocations: 67.38 kB / 0.6895 GB, free: 11.67 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.5641, allocations: 0 / 0.6895 GB, free: 11.67 MB / 0.545 GB Notification: Performance of Templates: time 0.009606/0.5737, allocations: 5.688 MB / 0.6951 GB, free: 6.02 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile (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) 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) Reference file matches