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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001623/0.001623, allocations: 186.2 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.2 MB / 218.9 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008346/0.0008345, allocations: 86.61 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3197/0.3197, allocations: 43.46 MB / 358.6 MB, free: 52.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.784e-05, allocations: 4 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 58.84 MB / 484.1 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.075/1.181, allocations: 497.6 MB / 0.9587 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/1.181, allocations: 75.95 kB / 0.9588 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1154/1.296, allocations: 57.29 MB / 1.015 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/1.296, allocations: 0 / 1.015 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.383e-05/1.296, allocations: 4 kB / 1.015 GB, free: 44.91 MB / 0.4948 GB 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.001378/1.298, allocations: 0.6841 MB / 1.015 GB, free: 44.18 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/1.298, allocations: 12.03 kB / 1.015 GB, free: 44.17 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006382/1.304, allocations: 0.5943 MB / 1.016 GB, free: 43.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/1.305, allocations: 258.6 kB / 1.016 GB, free: 43.29 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.241e-05/1.305, allocations: 127.4 kB / 1.016 GB, free: 43.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/1.305, allocations: 20 kB / 1.016 GB, free: 43.12 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007299/1.306, allocations: 0.5166 MB / 1.017 GB, free: 42.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.306, allocations: 4 kB / 1.017 GB, free: 42.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-05/1.306, allocations: 12 kB / 1.017 GB, free: 42.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/1.306, allocations: 11.98 kB / 1.017 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008516/1.307, allocations: 0.5636 MB / 1.017 GB, free: 41.97 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.00149/1.308, allocations: 1.632 MB / 1.019 GB, free: 40.22 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/1.308, allocations: 146.6 kB / 1.019 GB, free: 40.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/1.308, allocations: 72.84 kB / 1.019 GB, free: 39.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008063/1.309, allocations: 1.215 MB / 1.02 GB, free: 38.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/1.309, allocations: 34.56 kB / 1.02 GB, free: 38.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.703e-06/1.309, allocations: 0 / 1.02 GB, free: 38.52 MB / 0.4948 GB 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.0006842/1.31, allocations: 282.5 kB / 1.021 GB, free: 38.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/1.31, allocations: 59.36 kB / 1.021 GB, free: 38.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/1.31, allocations: 157.4 kB / 1.021 GB, free: 38.01 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/1.31, allocations: 29.7 kB / 1.021 GB, free: 37.98 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/1.31, allocations: 191.3 kB / 1.021 GB, free: 37.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/1.31, allocations: 63.11 kB / 1.021 GB, free: 37.72 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/1.31, allocations: 8 kB / 1.021 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.826e-05/1.31, allocations: 330.8 kB / 1.022 GB, free: 37.38 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.874e-05/1.31, allocations: 60.69 kB / 1.022 GB, free: 37.32 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/1.31, allocations: 263.8 kB / 1.022 GB, free: 36.97 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/1.311, allocations: 100.5 kB / 1.022 GB, free: 36.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.311, allocations: 0 / 1.022 GB, free: 36.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004156/1.311, allocations: 354.2 kB / 1.022 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.311, allocations: 9.562 kB / 1.022 GB, free: 36.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.311, allocations: 8 kB / 1.022 GB, free: 36.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/1.311, allocations: 16 kB / 1.022 GB, free: 36.49 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/1.311, allocations: 123.8 kB / 1.022 GB, free: 36.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002212/1.312, allocations: 0.6093 MB / 1.023 GB, free: 35.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/1.312, allocations: 39.69 kB / 1.023 GB, free: 35.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/1.312, allocations: 39.98 kB / 1.023 GB, free: 35.66 MB / 0.4948 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 () * 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 7.598e-05/1.312, allocations: 136.8 kB / 1.023 GB, free: 35.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.581e-05/1.312, allocations: 27.66 kB / 1.023 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006421/1.313, allocations: 322.6 kB / 1.024 GB, free: 35.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.313, allocations: 4 kB / 1.024 GB, free: 35.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/1.313, allocations: 0 / 1.024 GB, free: 35.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.313, allocations: 0 / 1.024 GB, free: 35.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004751/1.313, allocations: 0.5334 MB / 1.024 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/1.313, allocations: 4 kB / 1.024 GB, free: 34.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/1.313, allocations: 63.89 kB / 1.024 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.313, allocations: 4 kB / 1.024 GB, free: 34.48 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/1.314, allocations: 8 kB / 1.024 GB, free: 34.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001667/1.314, allocations: 0.594 MB / 1.025 GB, free: 33.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.314, allocations: 4.031 kB / 1.025 GB, free: 33.85 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/1.314, allocations: 338.1 kB / 1.025 GB, free: 33.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.443e-05/1.314, allocations: 120.8 kB / 1.025 GB, free: 33.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/1.314, allocations: 0 / 1.025 GB, free: 33.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/1.314, allocations: 12 kB / 1.025 GB, free: 33.31 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/1.314, allocations: 23.91 kB / 1.025 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/1.314, allocations: 35.89 kB / 1.025 GB, free: 33.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.921e-05/1.314, allocations: 131 kB / 1.025 GB, free: 33.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.314, allocations: 0 / 1.025 GB, free: 33.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008129/1.315, allocations: 259.8 kB / 1.026 GB, free: 32.87 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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.001044/1.316, allocations: 0.7415 MB / 1.026 GB, free: 32.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000358/1.317, allocations: 211.2 kB / 1.027 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.317, allocations: 0 / 1.027 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/1.317, allocations: 75.91 kB / 1.027 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/1.317, allocations: 61.39 kB / 1.027 GB, free: 31.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05989/1.377, allocations: 30.39 MB / 1.056 GB, free: 1.246 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/1.377, allocations: 0.7287 MB / 1.057 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005503/1.378, allocations: 97.94 kB / 1.057 GB, free: 408 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/1.378, allocations: 51.39 kB / 1.057 GB, free: 356 kB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/1.378, allocations: 0 / 1.057 GB, free: 356 kB / 0.4948 GB Notification: Performance of Templates: time 0.2352/1.613, allocations: 13.69 MB / 1.071 GB, free: 110.5 MB / 0.4948 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","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches