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.001183/0.001183, allocations: 183.9 kB / 15.76 MB, free: 6.367 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.91/1.91, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009248/0.0009249, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2178/0.2178, allocations: 43.56 MB / 362 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004311, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1384, allocations: 58.86 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.446/1.584, allocations: 497.7 MB / 0.9648 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/1.585, allocations: 75.97 kB / 0.9648 GB, free: 161.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.1264/1.711, allocations: 57.37 MB / 1.021 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.593e-06/1.711, allocations: 0 / 1.021 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.785e-05/1.711, allocations: 7.984 kB / 1.021 GB, free: 103.5 MB / 0.5105 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.001736/1.713, allocations: 0.6943 MB / 1.022 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/1.713, allocations: 8.031 kB / 1.022 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007296/1.72, allocations: 0.5971 MB / 1.022 GB, free: 102.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/1.721, allocations: 250.8 kB / 1.022 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/1.721, allocations: 119.4 kB / 1.022 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.721, allocations: 27.94 kB / 1.023 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/1.722, allocations: 0.5556 MB / 1.023 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/1.722, allocations: 4 kB / 1.023 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/1.722, allocations: 8 kB / 1.023 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/1.722, allocations: 8 kB / 1.023 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/1.724, allocations: 0.6104 MB / 1.024 GB, free: 100.5 MB / 0.5105 GB 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.001998/1.726, allocations: 1.627 MB / 1.025 GB, free: 98.75 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/1.726, allocations: 158.5 kB / 1.025 GB, free: 98.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.727, allocations: 1.211 MB / 1.027 GB, free: 97.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/1.727, allocations: 38.5 kB / 1.027 GB, free: 97.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.384e-06/1.727, allocations: 4 kB / 1.027 GB, free: 97.12 MB / 0.5105 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.0009526/1.728, allocations: 341.3 kB / 1.027 GB, free: 96.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/1.728, allocations: 55.36 kB / 1.027 GB, free: 96.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.728, allocations: 165.2 kB / 1.027 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/1.728, allocations: 29.7 kB / 1.027 GB, free: 96.51 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/1.728, allocations: 179.3 kB / 1.027 GB, free: 96.33 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/1.728, allocations: 75 kB / 1.027 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.649e-05/1.728, allocations: 4 kB / 1.027 GB, free: 96.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.44e-05/1.728, allocations: 330.8 kB / 1.028 GB, free: 95.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/1.729, allocations: 60.72 kB / 1.028 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/1.729, allocations: 267.7 kB / 1.028 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/1.729, allocations: 103.9 kB / 1.028 GB, free: 95.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.729, allocations: 3.938 kB / 1.028 GB, free: 95.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005126/1.73, allocations: 357.5 kB / 1.029 GB, free: 95.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.73, allocations: 15.5 kB / 1.029 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/1.73, allocations: 12 kB / 1.029 GB, free: 95.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.73, allocations: 12 kB / 1.029 GB, free: 95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003812/1.73, allocations: 123.8 kB / 1.029 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003048/1.73, allocations: 0.6055 MB / 1.029 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002752/1.731, allocations: 47.53 kB / 1.029 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.826e-05/1.731, allocations: 39.98 kB / 1.029 GB, free: 94.17 MB / 0.5105 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 (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.0001446/1.731, allocations: 145.8 kB / 1.029 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/1.731, allocations: 19.81 kB / 1.03 GB, free: 94 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/1.732, allocations: 320.3 kB / 1.03 GB, free: 93.67 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.732, allocations: 4 kB / 1.03 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.732, allocations: 4 kB / 1.03 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.732, allocations: 4 kB / 1.03 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/1.732, allocations: 0.5383 MB / 1.03 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.732, allocations: 0 / 1.03 GB, free: 93.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/1.733, allocations: 63.95 kB / 1.03 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.733, allocations: 7.938 kB / 1.03 GB, free: 92.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/1.733, allocations: 4.156 kB / 1.03 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002039/1.733, allocations: 0.6054 MB / 1.031 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.733, allocations: 4.031 kB / 1.031 GB, free: 92.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/1.733, allocations: 349.5 kB / 1.031 GB, free: 91.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/1.733, allocations: 112.8 kB / 1.031 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/1.733, allocations: 11.98 kB / 1.031 GB, free: 91.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/1.734, allocations: 12 kB / 1.031 GB, free: 91.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/1.734, allocations: 15.94 kB / 1.031 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/1.734, allocations: 23.98 kB / 1.032 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.375e-05/1.734, allocations: 127.2 kB / 1.032 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/1.734, allocations: 0 / 1.032 GB, free: 91.62 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001135/1.735, allocations: 255.8 kB / 1.032 GB, free: 91.37 MB / 0.5105 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 (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.001965/1.737, allocations: 0.7531 MB / 1.033 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005151/1.737, allocations: 212.8 kB / 1.033 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.737, allocations: 3.938 kB / 1.033 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001943/1.738, allocations: 89.48 kB / 1.033 GB, free: 90.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/1.738, allocations: 52.41 kB / 1.033 GB, free: 90.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06744/1.805, allocations: 30.74 MB / 1.063 GB, free: 59.35 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/1.806, allocations: 0.7326 MB / 1.064 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006364/1.806, allocations: 106.1 kB / 1.064 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/1.806, allocations: 35.42 kB / 1.064 GB, free: 58.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/1.806, allocations: 4 kB / 1.064 GB, free: 58.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.01742/1.824, allocations: 12.12 MB / 1.076 GB, free: 46.32 MB / 0.5105 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