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.001343/0.001343, allocations: 118.1 kB / 17.08 MB, free: 5.992 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.001203/0.001203, allocations: 196.2 kB / 18.01 MB, free: 5.07 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.312/1.312, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2047/0.2047, allocations: 43.53 MB / 314.8 MB, free: 452 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.001678/0.001678, allocations: 73.47 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1111, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4407/0.5518, allocations: 151.4 MB / 0.6364 GB, free: 3.125 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006087/0.558, allocations: 4.702 MB / 0.641 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.5582, allocations: 8 kB / 0.641 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.5586, allocations: 55.66 kB / 0.6411 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.5636, allocations: 1.551 MB / 0.6426 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.5641, allocations: 146.9 kB / 0.6427 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007689/0.5648, allocations: 398.1 kB / 0.6431 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.887e-05/0.5649, allocations: 9.688 kB / 0.6431 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.5653, allocations: 167.4 kB / 0.6433 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.5658, allocations: 171.5 kB / 0.6434 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.5658, allocations: 11.94 kB / 0.6434 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.5689, allocations: 1.302 MB / 0.6447 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.569, allocations: 47.75 kB / 0.6447 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.5692, allocations: 111.5 kB / 0.6449 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002537/0.5717, allocations: 0.9629 MB / 0.6458 GB, free: 9.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.5717, allocations: 7.938 kB / 0.6458 GB, free: 9.504 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5717, allocations: 0 / 0.6458 GB, free: 9.504 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.5718, allocations: 0 / 0.6458 GB, free: 9.504 MB / 494.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.001819/0.5736, allocations: 0.7062 MB / 0.6465 GB, free: 8.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.5736, allocations: 15.89 kB / 0.6465 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008036/0.5817, allocations: 0.5901 MB / 0.6471 GB, free: 8.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006516/0.5824, allocations: 268.2 kB / 0.6473 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/0.5825, allocations: 131.3 kB / 0.6475 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.5827, allocations: 24 kB / 0.6475 GB, free: 7.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.5841, allocations: 0.5594 MB / 0.648 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.5841, allocations: 0 / 0.648 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.72e-05/0.5842, allocations: 12 kB / 0.648 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.5843, allocations: 4 kB / 0.648 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.5857, allocations: 0.6299 MB / 0.6487 GB, free: 6.426 MB / 494.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.002597/0.5883, allocations: 1.642 MB / 0.6503 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003707/0.5887, allocations: 158.5 kB / 0.6504 GB, free: 4.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.5889, allocations: 80.77 kB / 0.6505 GB, free: 4.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002242/0.5911, allocations: 2.079 MB / 0.6525 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.5912, allocations: 35.25 kB / 0.6526 GB, free: 1.926 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/0.5912, allocations: 3.984 kB / 0.6526 GB, free: 1.922 MB / 494.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.00104/0.5923, allocations: 337.4 kB / 0.6529 GB, free: 1.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.5923, allocations: 55.41 kB / 0.6529 GB, free: 1.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.5925, allocations: 174.2 kB / 0.6531 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.5926, allocations: 29.7 kB / 0.6531 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.5927, allocations: 183.3 kB / 0.6533 GB, free: 1.117 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.5928, allocations: 74.94 kB / 0.6534 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5929, allocations: 93.95 kB / 0.6535 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5931, allocations: 326.8 kB / 0.6538 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.5932, allocations: 68.7 kB / 0.6538 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.5935, allocations: 267.8 kB / 0.6541 GB, free: 200 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005352/0.5941, allocations: 366.2 kB / 0.6544 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.5941, allocations: 0 / 0.6544 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006886/0.5948, allocations: 369.3 kB / 0.6548 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.5948, allocations: 8 kB / 0.6548 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.5948, allocations: 13.75 kB / 0.6548 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.584e-05/0.5949, allocations: 12 kB / 0.6548 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.5954, allocations: 119.8 kB / 0.6549 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004171/0.5958, allocations: 0.6136 MB / 0.6555 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.5961, allocations: 35.59 kB / 0.6556 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.5962, allocations: 47.92 kB / 0.6556 GB, free: 14.51 MB / 0.4981 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.0001717/0.5963, allocations: 153.4 kB / 0.6558 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.5964, allocations: 15.81 kB / 0.6558 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.5971, allocations: 321.2 kB / 0.6561 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.5972, allocations: 11.88 kB / 0.6561 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.5972, allocations: 0 / 0.6561 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5972, allocations: 0 / 0.6561 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007757/0.598, allocations: 0.5297 MB / 0.6566 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.598, allocations: 0.625 kB / 0.6566 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.5982, allocations: 55.91 kB / 0.6567 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5982, allocations: 0 / 0.6567 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.5983, allocations: 15.98 kB / 0.6567 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003567/0.5986, allocations: 0.5895 MB / 0.6573 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.5986, allocations: 16.16 kB / 0.6573 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003968/0.5991, allocations: 267.5 kB / 0.6575 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.5992, allocations: 112.9 kB / 0.6576 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.403e-05/0.5993, allocations: 7.938 kB / 0.6577 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.5995, allocations: 15.98 kB / 0.6577 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.5996, allocations: 19.86 kB / 0.6577 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.5996, allocations: 19.98 kB / 0.6577 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001164/0.5997, allocations: 135 kB / 0.6578 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5997, allocations: 0 / 0.6578 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007853/0.6005, allocations: 199.9 kB / 0.658 GB, free: 11.88 MB / 0.4981 GB 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.001024/0.6016, allocations: 355.1 kB / 0.6584 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005821/0.6021, allocations: 229 kB / 0.6586 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.6022, allocations: 448 / 0.6586 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.6024, allocations: 87.83 kB / 0.6587 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.603, allocations: 65.48 kB / 0.6587 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.6064, allocations: 1.993 MB / 0.6607 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.6068, allocations: 0.7206 MB / 0.6614 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.607, allocations: 63.39 kB / 0.6614 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/0.607, allocations: 4 kB / 0.6614 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of Templates: time 0.0105/0.6175, allocations: 5.886 MB / 0.6672 GB, free: 2.43 MB / 0.4981 GB 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 -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