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.001136/0.001136, allocations: 113.8 kB / 17.78 MB, free: 5.246 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.001201/0.001201, allocations: 183.1 kB / 18.71 MB, free: 4.324 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.484/1.484, allocations: 222.9 MB / 242.4 MB, free: 15.17 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.2593/0.2593, allocations: 44.19 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4208, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1998/0.6206, allocations: 150.1 MB / 0.6656 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007233/0.6279, allocations: 5.318 MB / 0.6708 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.6282, allocations: 0 / 0.6708 GB, free: 4 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.6286, allocations: 55.7 kB / 0.6708 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004404/0.6331, allocations: 1.321 MB / 0.6721 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.6336, allocations: 139.4 kB / 0.6722 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007857/0.6344, allocations: 390.1 kB / 0.6726 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.926e-05/0.6345, allocations: 9.688 kB / 0.6726 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.6349, allocations: 175.3 kB / 0.6728 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.6354, allocations: 167.5 kB / 0.6729 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.6354, allocations: 8 kB / 0.6729 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002549/0.638, allocations: 1.088 MB / 0.674 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.6381, allocations: 39.83 kB / 0.674 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.6383, allocations: 115.4 kB / 0.6742 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.6406, allocations: 0.8477 MB / 0.675 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6406, allocations: 0 / 0.675 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6406, allocations: 0 / 0.675 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.6407, allocations: 4 kB / 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.00175/0.6424, allocations: 0.6788 MB / 0.6757 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.6425, allocations: 8.031 kB / 0.6757 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007923/0.6504, allocations: 0.5975 MB / 0.6762 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006346/0.6511, allocations: 263.3 kB / 0.6765 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.6513, allocations: 123.4 kB / 0.6766 GB, free: 9.891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.6514, allocations: 32 kB / 0.6766 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001218/0.6526, allocations: 0.5556 MB / 0.6772 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6526, allocations: 7.969 kB / 0.6772 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.348e-05/0.6527, allocations: 12 kB / 0.6772 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.6528, allocations: 8 kB / 0.6772 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.6542, allocations: 0.626 MB / 0.6778 GB, free: 8.613 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.002289/0.6565, allocations: 1.713 MB / 0.6795 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.6569, allocations: 158.5 kB / 0.6796 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.657, allocations: 80.8 kB / 0.6797 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.6584, allocations: 1.463 MB / 0.6812 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.6584, allocations: 38.73 kB / 0.6812 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.6584, allocations: 3.938 kB / 0.6812 GB, free: 4.727 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.001001/0.6594, allocations: 323.8 kB / 0.6815 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.6595, allocations: 55.41 kB / 0.6816 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.6597, allocations: 190.5 kB / 0.6817 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.6597, allocations: 33.64 kB / 0.6818 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.72e-05/0.6598, allocations: 179.3 kB / 0.6819 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.418e-05/0.6599, allocations: 71.08 kB / 0.682 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.66, allocations: 93.88 kB / 0.6821 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6601, allocations: 334.8 kB / 0.6824 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.6603, allocations: 68.7 kB / 0.6825 GB, free: 3.352 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002481/0.6605, allocations: 260 kB / 0.6827 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.661, allocations: 368.7 kB / 0.6831 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.661, allocations: 0 / 0.6831 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006005/0.6616, allocations: 373.5 kB / 0.6834 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.6616, allocations: 8 kB / 0.6834 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6616, allocations: 8 kB / 0.6835 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.6617, allocations: 8 kB / 0.6835 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004594/0.6621, allocations: 119.9 kB / 0.6836 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004234/0.6626, allocations: 0.6132 MB / 0.6842 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.6628, allocations: 43.78 kB / 0.6842 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.465e-05/0.6629, allocations: 43.98 kB / 0.6843 GB, free: 1.316 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.000149/0.6631, allocations: 141.7 kB / 0.6844 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.6631, allocations: 23.75 kB / 0.6844 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.664, allocations: 452 kB / 0.6848 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.664, allocations: 4 kB / 0.6849 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.664, allocations: 0 / 0.6849 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.664, allocations: 7.984 kB / 0.6849 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.6649, allocations: 0.639 MB / 0.6855 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.6649, allocations: 0 / 0.6855 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.6652, allocations: 60.22 kB / 0.6855 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6652, allocations: 4 kB / 0.6855 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.6652, allocations: 4 kB / 0.6855 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003355/0.6655, allocations: 0.5976 MB / 0.6861 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.6656, allocations: 4.031 kB / 0.6861 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.6659, allocations: 305.5 kB / 0.6864 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.666, allocations: 112.8 kB / 0.6865 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.778e-05/0.6661, allocations: 11.94 kB / 0.6865 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.6664, allocations: 15.97 kB / 0.6866 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.6664, allocations: 19.92 kB / 0.6866 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.6664, allocations: 15.98 kB / 0.6866 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001215/0.6666, allocations: 143.6 kB / 0.6867 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6666, allocations: 0 / 0.6867 GB, free: 14.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007779/0.6674, allocations: 164 kB / 0.6869 GB, free: 14.41 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.0006717/0.668, allocations: 278.4 kB / 0.6872 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005416/0.6686, allocations: 221 kB / 0.6874 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6686, allocations: 0 / 0.6874 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.6688, allocations: 88.27 kB / 0.6874 GB, free: 13.84 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005894/0.6694, allocations: 71.09 kB / 0.6875 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.6714, allocations: 0.8189 MB / 0.6883 GB, free: 12.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.6719, allocations: 0.7284 MB / 0.689 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006917/0.6726, allocations: 387.1 kB / 0.6894 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.6727, allocations: 63.38 kB / 0.6895 GB, free: 11.71 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.6727, allocations: 0 / 0.6895 GB, free: 11.71 MB / 0.545 GB Notification: Performance of Templates: time 0.01078/0.6835, allocations: 5.68 MB / 0.695 GB, free: 6.066 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