Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001335/0.001335, allocations: 111.6 kB / 17.04 MB, free: 5.816 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.00133/0.00133, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2115/0.2115, allocations: 43.52 MB / 314.7 MB, free: 496 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 62.5 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1192, allocations: 57.79 MB / 442 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.415/0.5343, allocations: 151.4 MB / 0.5794 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.5388, allocations: 4.711 MB / 0.584 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.539, allocations: 2.688 kB / 0.584 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.5394, allocations: 57.09 kB / 0.5841 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.5433, allocations: 1.546 MB / 0.5856 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003138/0.5437, allocations: 142.3 kB / 0.5857 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.5442, allocations: 399.2 kB / 0.5861 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.997e-05/0.5443, allocations: 19.92 kB / 0.5861 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.5445, allocations: 173.9 kB / 0.5863 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.5448, allocations: 163.4 kB / 0.5864 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.5448, allocations: 8.25 kB / 0.5864 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.5473, allocations: 1.302 MB / 0.5877 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.519e-05/0.5474, allocations: 47.7 kB / 0.5878 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.5476, allocations: 107.5 kB / 0.5879 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.549, allocations: 0.9679 MB / 0.5888 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.549, allocations: 2.594 kB / 0.5888 GB, free: 11.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.549, allocations: 0 / 0.5888 GB, free: 11.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.549, allocations: 0 / 0.5888 GB, free: 11.36 MB / 430.1 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.001255/0.5503, allocations: 0.7212 MB / 0.5895 GB, free: 10.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5504, allocations: 13.98 kB / 0.5895 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006914/0.5573, allocations: 0.5872 MB / 0.5901 GB, free: 10.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.5579, allocations: 266.5 kB / 0.5904 GB, free: 10.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/0.5582, allocations: 131.5 kB / 0.5905 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5583, allocations: 25.95 kB / 0.5905 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.5595, allocations: 0.5531 MB / 0.5911 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5595, allocations: 0 / 0.5911 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.5596, allocations: 15.47 kB / 0.5911 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.5596, allocations: 7.406 kB / 0.5911 GB, free: 9.906 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.561, allocations: 0.6261 MB / 0.5917 GB, free: 9.738 MB / 430.1 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.002165/0.5632, allocations: 1.64 MB / 0.5933 GB, free: 8.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003502/0.5635, allocations: 158.6 kB / 0.5934 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.5637, allocations: 78.53 kB / 0.5935 GB, free: 8.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002051/0.5657, allocations: 2.081 MB / 0.5955 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.5658, allocations: 40.53 kB / 0.5956 GB, free: 6.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.5658, allocations: 0 / 0.5956 GB, free: 6.184 MB / 430.1 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=20): time 0.001013/0.5668, allocations: 335.2 kB / 0.5959 GB, free: 6.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.5669, allocations: 57.31 kB / 0.596 GB, free: 6.027 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.567, allocations: 182.5 kB / 0.5961 GB, free: 5.898 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.5671, allocations: 31.52 kB / 0.5962 GB, free: 5.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5672, allocations: 182.1 kB / 0.5963 GB, free: 5.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.048e-05/0.5672, allocations: 71.48 kB / 0.5964 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.5674, allocations: 90.14 kB / 0.5965 GB, free: 5.625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.5675, allocations: 327.5 kB / 0.5968 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.5676, allocations: 68.58 kB / 0.5969 GB, free: 5.289 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.5679, allocations: 262.2 kB / 0.5971 GB, free: 5.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.5683, allocations: 372.6 kB / 0.5975 GB, free: 4.719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.5683, allocations: 4.281 kB / 0.5975 GB, free: 4.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005502/0.5689, allocations: 365.8 kB / 0.5978 GB, free: 4.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5689, allocations: 10.19 kB / 0.5978 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.5689, allocations: 4.938 kB / 0.5978 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.569, allocations: 9.688 kB / 0.5978 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.5694, allocations: 127.1 kB / 0.598 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004153/0.5698, allocations: 0.6058 MB / 0.5986 GB, free: 3.973 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.57, allocations: 42.2 kB / 0.5986 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.5701, allocations: 40.12 kB / 0.5986 GB, free: 3.945 MB / 430.1 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.0001337/0.5702, allocations: 144 kB / 0.5988 GB, free: 3.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.5703, allocations: 21.3 kB / 0.5988 GB, free: 3.809 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000636/0.5709, allocations: 325.4 kB / 0.5991 GB, free: 3.652 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.571, allocations: 11.86 kB / 0.5991 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.571, allocations: 0 / 0.5991 GB, free: 3.641 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.571, allocations: 3.984 kB / 0.5991 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006841/0.5717, allocations: 0.5321 MB / 0.5996 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5717, allocations: 2.25 kB / 0.5996 GB, free: 3.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.5719, allocations: 50.78 kB / 0.5997 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.5719, allocations: 2.531 kB / 0.5997 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.5719, allocations: 12.48 kB / 0.5997 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003284/0.5723, allocations: 0.5952 MB / 0.6003 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.5723, allocations: 8 kB / 0.6003 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.5726, allocations: 284 kB / 0.6006 GB, free: 2.406 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.5728, allocations: 108.5 kB / 0.6007 GB, free: 2.297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.5728, allocations: 6.031 kB / 0.6007 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.573, allocations: 9 kB / 0.6007 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.5731, allocations: 22.81 kB / 0.6007 GB, free: 2.281 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-05/0.5731, allocations: 14.47 kB / 0.6007 GB, free: 2.281 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.567e-05/0.5732, allocations: 131.4 kB / 0.6008 GB, free: 2.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5732, allocations: 6.5 kB / 0.6009 GB, free: 2.191 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007374/0.574, allocations: 201.5 kB / 0.601 GB, free: 2.16 MB / 430.1 MB 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 () * 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.0007776/0.5748, allocations: 346.5 kB / 0.6014 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.5752, allocations: 234.6 kB / 0.6016 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5752, allocations: 0 / 0.6016 GB, free: 1.941 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.5754, allocations: 82.8 kB / 0.6017 GB, free: 1.922 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005156/0.576, allocations: 83.8 kB / 0.6018 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002962/0.5789, allocations: 1.954 MB / 0.6037 GB, free: 1.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.5793, allocations: 0.7172 MB / 0.6044 GB, free: 464 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003601/0.5796, allocations: 99.33 kB / 0.6045 GB, free: 408 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.5797, allocations: 42 kB / 0.6045 GB, free: 392 kB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.5798, allocations: 0 / 0.6045 GB, free: 392 kB / 430.1 MB Notification: Performance of Templates: time 0.01096/0.5907, allocations: 6.598 MB / 0.6109 GB, free: 13.12 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches