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.001188/0.001188, allocations: 96.83 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 175.1 kB / 16.57 MB, free: 6.391 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.555/1.555, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3839/0.3839, allocations: 43.54 MB / 314.5 MB, free: 8.777 MB / 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.0005492/0.0005493, allocations: 12 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1382, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4064/0.5446, allocations: 126.2 MB / 0.5556 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006403/0.551, allocations: 5.478 MB / 0.5609 GB, free: 8.039 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.5512, allocations: 7.938 kB / 0.5609 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.5515, allocations: 45.17 kB / 0.561 GB, free: 8.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003186/0.5547, allocations: 1.28 MB / 0.5622 GB, free: 6.949 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.555, allocations: 130.2 kB / 0.5624 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004054/0.5554, allocations: 267.4 kB / 0.5626 GB, free: 6.566 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.469e-05/0.5555, allocations: 12.34 kB / 0.5626 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.5558, allocations: 167.5 kB / 0.5628 GB, free: 6.395 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.5561, allocations: 155.6 kB / 0.5629 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.5561, allocations: 4 kB / 0.5629 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.5588, allocations: 1.205 MB / 0.5641 GB, free: 5.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.846e-05/0.5589, allocations: 51.8 kB / 0.5642 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.5589, allocations: 57.64 kB / 0.5642 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.56, allocations: 0.6486 MB / 0.5648 GB, free: 4.281 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.56, allocations: 0 / 0.5648 GB, free: 4.281 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.56, allocations: 4 kB / 0.5648 GB, free: 4.277 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.56, allocations: 0 / 0.5648 GB, free: 4.277 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.00124/0.5613, allocations: 0.6472 MB / 0.5655 GB, free: 3.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5613, allocations: 12.03 kB / 0.5655 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007044/0.5684, allocations: 0.5949 MB / 0.5661 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.5688, allocations: 258.6 kB / 0.5663 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.569, allocations: 119.4 kB / 0.5664 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.5691, allocations: 24 kB / 0.5665 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5702, allocations: 0.5548 MB / 0.567 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5702, allocations: 8 kB / 0.567 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.5703, allocations: 8 kB / 0.567 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.5703, allocations: 8 kB / 0.567 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.5717, allocations: 0.626 MB / 0.5676 GB, free: 1.293 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.002005/0.5737, allocations: 1.626 MB / 0.5692 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/0.5741, allocations: 159.5 kB / 0.5694 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.5753, allocations: 1.207 MB / 0.5706 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.5754, allocations: 38.5 kB / 0.5706 GB, free: 13.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.5754, allocations: 0 / 0.5706 GB, free: 13.92 MB / 446.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.0009082/0.5763, allocations: 333.4 kB / 0.5709 GB, free: 13.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.5763, allocations: 55.41 kB / 0.571 GB, free: 13.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.5765, allocations: 190.1 kB / 0.5711 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.5765, allocations: 29.7 kB / 0.5712 GB, free: 13.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.5766, allocations: 179.3 kB / 0.5713 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/0.5767, allocations: 82.92 kB / 0.5714 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.5767, allocations: 4 kB / 0.5714 GB, free: 13.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5769, allocations: 326.8 kB / 0.5717 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.577, allocations: 64.7 kB / 0.5718 GB, free: 12.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.5772, allocations: 259.8 kB / 0.572 GB, free: 12.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.5774, allocations: 111.9 kB / 0.5722 GB, free: 12.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5774, allocations: 0 / 0.5722 GB, free: 12.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005433/0.578, allocations: 363 kB / 0.5725 GB, free: 11.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.578, allocations: 8 kB / 0.5725 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.578, allocations: 8 kB / 0.5725 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.578, allocations: 16.03 kB / 0.5725 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.5784, allocations: 123.8 kB / 0.5726 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003509/0.5788, allocations: 0.6016 MB / 0.5732 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.579, allocations: 43.59 kB / 0.5733 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.5791, allocations: 41.92 kB / 0.5733 GB, free: 10.96 MB / 446.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 (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.0001551/0.5792, allocations: 148.5 kB / 0.5735 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.5793, allocations: 23.77 kB / 0.5735 GB, free: 10.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007882/0.5801, allocations: 340.8 kB / 0.5738 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.5801, allocations: 0 / 0.5738 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5801, allocations: 0 / 0.5738 GB, free: 10.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.5801, allocations: 7.938 kB / 0.5738 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006208/0.5808, allocations: 0.5141 MB / 0.5743 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.5808, allocations: 96 / 0.5743 GB, free: 9.844 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.581, allocations: 63.84 kB / 0.5744 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.581, allocations: 4 kB / 0.5744 GB, free: 9.777 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.581, allocations: 7.984 kB / 0.5744 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002908/0.5813, allocations: 0.5978 MB / 0.575 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5813, allocations: 0 / 0.575 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003423/0.5817, allocations: 336.2 kB / 0.5753 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-05/0.5818, allocations: 112.8 kB / 0.5754 GB, free: 8.629 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.5818, allocations: 4 kB / 0.5754 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.5821, allocations: 19.98 kB / 0.5754 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.5821, allocations: 19.94 kB / 0.5754 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/0.5821, allocations: 15.98 kB / 0.5755 GB, free: 8.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.5822, allocations: 129.9 kB / 0.5756 GB, free: 8.445 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5822, allocations: 4 kB / 0.5756 GB, free: 8.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006952/0.5829, allocations: 200 kB / 0.5758 GB, free: 8.246 MB / 446.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 (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.0007896/0.5837, allocations: 358.1 kB / 0.5761 GB, free: 7.898 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004521/0.5842, allocations: 221.1 kB / 0.5763 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5842, allocations: 0 / 0.5763 GB, free: 7.684 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.5844, allocations: 88.39 kB / 0.5764 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.5848, allocations: 48.33 kB / 0.5765 GB, free: 7.551 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008163/0.5856, allocations: 0.5349 MB / 0.577 GB, free: 6.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.5859, allocations: 0.7328 MB / 0.5777 GB, free: 6.219 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004977/0.5864, allocations: 92.59 kB / 0.5778 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.5866, allocations: 43.42 kB / 0.5778 GB, free: 6.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5866, allocations: 0 / 0.5778 GB, free: 6.09 MB / 446.1 MB Notification: Performance of Templates: time 0.009735/0.5963, allocations: 6.019 MB / 0.5837 GB, free: 100 kB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.makefile Environment - environmentSimulation: (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches