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.001826/0.001826, allocations: 108.3 kB / 16.41 MB, free: 6.457 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.002216/0.002216, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.635/1.635, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.252/0.252, allocations: 43.52 MB / 314.1 MB, free: 448 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.00141/0.00141, allocations: 65.47 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1546, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5485/0.7032, allocations: 151.4 MB / 0.6357 GB, free: 3.281 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.7088, allocations: 4.71 MB / 0.6403 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.709, allocations: 4 kB / 0.6403 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.7093, allocations: 59.59 kB / 0.6404 GB, free: 14.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004794/0.7141, allocations: 1.565 MB / 0.6419 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003887/0.7145, allocations: 139.8 kB / 0.6421 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006256/0.7152, allocations: 398.1 kB / 0.6424 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.695e-05/0.7153, allocations: 9.688 kB / 0.6424 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.7155, allocations: 163.4 kB / 0.6426 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.7158, allocations: 183.3 kB / 0.6428 GB, free: 12.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.7159, allocations: 8 kB / 0.6428 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.7188, allocations: 1.295 MB / 0.644 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.7189, allocations: 47.81 kB / 0.6441 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.719, allocations: 107.5 kB / 0.6442 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.7207, allocations: 0.9706 MB / 0.6451 GB, free: 9.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7207, allocations: 0 / 0.6451 GB, free: 9.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7207, allocations: 8 kB / 0.6452 GB, free: 9.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.7208, allocations: 0 / 0.6452 GB, free: 9.641 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.001332/0.7221, allocations: 0.7062 MB / 0.6458 GB, free: 8.887 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.7221, allocations: 11.89 kB / 0.6459 GB, free: 8.875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007397/0.7295, allocations: 0.5979 MB / 0.6464 GB, free: 8.277 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005238/0.7301, allocations: 268.1 kB / 0.6467 GB, free: 7.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.7302, allocations: 127.3 kB / 0.6468 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.33e-05/0.7303, allocations: 20 kB / 0.6468 GB, free: 7.809 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.7315, allocations: 0.5634 MB / 0.6474 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.7315, allocations: 4 kB / 0.6474 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.072e-05/0.7316, allocations: 15.98 kB / 0.6474 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.456e-05/0.7317, allocations: 4 kB / 0.6474 GB, free: 7.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.7331, allocations: 0.626 MB / 0.648 GB, free: 6.559 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.002263/0.7354, allocations: 1.642 MB / 0.6496 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.7358, allocations: 158.4 kB / 0.6498 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.7359, allocations: 76.88 kB / 0.6498 GB, free: 4.547 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002346/0.7383, allocations: 2.079 MB / 0.6519 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.7383, allocations: 39.31 kB / 0.6519 GB, free: 2.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.404e-06/0.7383, allocations: 0 / 0.6519 GB, free: 2.059 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.001117/0.7395, allocations: 337.4 kB / 0.6522 GB, free: 1.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.7395, allocations: 55.41 kB / 0.6523 GB, free: 1.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.7397, allocations: 174.2 kB / 0.6525 GB, free: 1.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.7398, allocations: 29.7 kB / 0.6525 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.74, allocations: 183.3 kB / 0.6527 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.74, allocations: 70.95 kB / 0.6527 GB, free: 1.184 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.7402, allocations: 89.95 kB / 0.6528 GB, free: 1.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.7404, allocations: 334.8 kB / 0.6531 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.7406, allocations: 68.7 kB / 0.6532 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003565/0.741, allocations: 259.8 kB / 0.6534 GB, free: 348 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/0.7416, allocations: 375.7 kB / 0.6538 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.7416, allocations: 0 / 0.6538 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008219/0.7425, allocations: 373.9 kB / 0.6542 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.7425, allocations: 8 kB / 0.6542 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7425, allocations: 8.688 kB / 0.6542 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.049e-05/0.7426, allocations: 8 kB / 0.6542 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.743, allocations: 131.6 kB / 0.6543 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004917/0.7435, allocations: 0.5977 MB / 0.6549 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.7438, allocations: 43.59 kB / 0.6549 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-05/0.7438, allocations: 51.77 kB / 0.655 GB, free: 14.65 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.000174/0.744, allocations: 149.5 kB / 0.6551 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.602e-05/0.7441, allocations: 19.8 kB / 0.6551 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006882/0.7448, allocations: 327.6 kB / 0.6555 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.7448, allocations: 7.938 kB / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7448, allocations: 0 / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7448, allocations: 0 / 0.6555 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.7456, allocations: 0.5181 MB / 0.656 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.7456, allocations: 8.031 kB / 0.656 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.7458, allocations: 59.91 kB / 0.656 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.7458, allocations: 0 / 0.656 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.7459, allocations: 7.984 kB / 0.656 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003958/0.7463, allocations: 0.5984 MB / 0.6566 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/0.7463, allocations: 7.969 kB / 0.6566 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004304/0.7467, allocations: 271.6 kB / 0.6569 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/0.7469, allocations: 100.9 kB / 0.657 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.747, allocations: 15.92 kB / 0.657 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.7472, allocations: 16.81 kB / 0.657 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.7473, allocations: 15.92 kB / 0.657 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.7473, allocations: 19.98 kB / 0.6571 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001367/0.7475, allocations: 139 kB / 0.6572 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7475, allocations: 0 / 0.6572 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008539/0.7483, allocations: 199.9 kB / 0.6574 GB, free: 12.02 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.0009818/0.7493, allocations: 361.6 kB / 0.6577 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005656/0.7499, allocations: 225.3 kB / 0.6579 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7499, allocations: 0 / 0.6579 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.7501, allocations: 84.27 kB / 0.658 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.7507, allocations: 71.98 kB / 0.6581 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003319/0.754, allocations: 1.959 MB / 0.66 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.7544, allocations: 0.7245 MB / 0.6607 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000383/0.7548, allocations: 98.16 kB / 0.6608 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7549, allocations: 39.42 kB / 0.6608 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.7549, allocations: 0 / 0.6608 GB, free: 8.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.01295/0.7678, allocations: 6.604 MB / 0.6673 GB, free: 1.824 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/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