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.001491/0.001491, allocations: 109.4 kB / 16.41 MB, free: 6.473 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.001389/0.001389, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.529/1.529, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2521/0.2521, allocations: 43.54 MB / 314.1 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.001429/0.001429, allocations: 67.89 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1583, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5315/0.6899, allocations: 151.4 MB / 0.6357 GB, free: 3.184 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006643/0.6966, allocations: 4.718 MB / 0.6403 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.6969, allocations: 0 / 0.6403 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.6974, allocations: 59.61 kB / 0.6404 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00526/0.7027, allocations: 1.562 MB / 0.6419 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.7032, allocations: 135.8 kB / 0.6421 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00081/0.704, allocations: 402.1 kB / 0.6424 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.487e-05/0.7041, allocations: 9.688 kB / 0.6424 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000424/0.7045, allocations: 167.4 kB / 0.6426 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004138/0.7049, allocations: 179.3 kB / 0.6428 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.705, allocations: 12 kB / 0.6428 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.7084, allocations: 1.299 MB / 0.6441 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.7085, allocations: 43.83 kB / 0.6441 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.7088, allocations: 111.5 kB / 0.6442 GB, free: 10.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002734/0.7115, allocations: 0.9667 MB / 0.6451 GB, free: 9.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.7115, allocations: 0 / 0.6451 GB, free: 9.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.7115, allocations: 4 kB / 0.6451 GB, free: 9.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.7116, allocations: 0 / 0.6451 GB, free: 9.547 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.001937/0.7135, allocations: 0.714 MB / 0.6458 GB, free: 8.785 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.7136, allocations: 15.89 kB / 0.6459 GB, free: 8.77 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006981/0.7205, allocations: 0.5862 MB / 0.6464 GB, free: 8.184 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.7213, allocations: 264.2 kB / 0.6467 GB, free: 7.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.7215, allocations: 135.2 kB / 0.6468 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.7216, allocations: 24 kB / 0.6468 GB, free: 7.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.723, allocations: 0.5595 MB / 0.6474 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.723, allocations: 0 / 0.6474 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/0.7231, allocations: 12 kB / 0.6474 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.7231, allocations: 4 kB / 0.6474 GB, free: 7.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/0.7247, allocations: 0.6299 MB / 0.648 GB, free: 6.465 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.002696/0.7274, allocations: 1.646 MB / 0.6496 GB, free: 4.691 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.7278, allocations: 154.5 kB / 0.6498 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.728, allocations: 77.81 kB / 0.6498 GB, free: 4.453 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00243/0.7304, allocations: 2.083 MB / 0.6519 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.7305, allocations: 34.56 kB / 0.6519 GB, free: 1.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 2.114e-06/0.7305, allocations: 0 / 0.6519 GB, free: 1.965 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.001074/0.7316, allocations: 337.4 kB / 0.6522 GB, free: 1.629 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.7316, allocations: 55.41 kB / 0.6523 GB, free: 1.562 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.7318, allocations: 174.2 kB / 0.6525 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.05e-05/0.7319, allocations: 29.7 kB / 0.6525 GB, free: 1.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.732, allocations: 183.3 kB / 0.6527 GB, free: 1.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/0.7321, allocations: 74.94 kB / 0.6527 GB, free: 1.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.7322, allocations: 85.95 kB / 0.6528 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.7324, allocations: 330.8 kB / 0.6531 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.7325, allocations: 72.7 kB / 0.6532 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.7328, allocations: 267.8 kB / 0.6534 GB, free: 244 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.7333, allocations: 367.6 kB / 0.6538 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.7333, allocations: 0 / 0.6538 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006772/0.734, allocations: 370.3 kB / 0.6542 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.7341, allocations: 8 kB / 0.6542 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.7341, allocations: 8 kB / 0.6542 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.7341, allocations: 15.98 kB / 0.6542 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.7346, allocations: 127.7 kB / 0.6543 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004983/0.7351, allocations: 0.6055 MB / 0.6549 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.7353, allocations: 39.59 kB / 0.6549 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.7354, allocations: 44.12 kB / 0.655 GB, free: 14.55 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.0001495/0.7356, allocations: 157.4 kB / 0.6551 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.7356, allocations: 15.81 kB / 0.6551 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006702/0.7363, allocations: 327.7 kB / 0.6555 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7363, allocations: 7.938 kB / 0.6555 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7363, allocations: 0 / 0.6555 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7364, allocations: 3.984 kB / 0.6555 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000725/0.7371, allocations: 0.5219 MB / 0.656 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.7371, allocations: 4.156 kB / 0.656 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.7373, allocations: 55.91 kB / 0.656 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.7373, allocations: 1.438 kB / 0.656 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.7374, allocations: 15.98 kB / 0.656 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000312/0.7377, allocations: 0.5859 MB / 0.6566 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.7377, allocations: 11.91 kB / 0.6566 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.7381, allocations: 271.6 kB / 0.6569 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.7382, allocations: 108.9 kB / 0.657 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.7383, allocations: 7.938 kB / 0.657 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.7385, allocations: 16 kB / 0.657 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.7385, allocations: 23.84 kB / 0.657 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/0.7386, allocations: 16.75 kB / 0.6571 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001277/0.7387, allocations: 135 kB / 0.6572 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7387, allocations: 0 / 0.6572 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008932/0.7396, allocations: 203.9 kB / 0.6574 GB, free: 11.92 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.001067/0.7407, allocations: 355.6 kB / 0.6577 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005832/0.7413, allocations: 229.3 kB / 0.6579 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.7413, allocations: 0 / 0.6579 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002152/0.7416, allocations: 84.27 kB / 0.658 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.7421, allocations: 67.38 kB / 0.6581 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003222/0.7454, allocations: 1.959 MB / 0.66 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.7458, allocations: 0.7246 MB / 0.6607 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005357/0.7463, allocations: 102.2 kB / 0.6608 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.7465, allocations: 43.42 kB / 0.6608 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.7465, allocations: 0 / 0.6608 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of Templates: time 0.01692/0.7634, allocations: 6.594 MB / 0.6673 GB, free: 1.734 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