Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0013/0.0013, allocations: 107.7 kB / 18.45 MB, free: 4.621 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.001265/0.001265, allocations: 184.1 kB / 19.38 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1974/0.1974, allocations: 44.17 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 471.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.348, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1589/0.5069, allocations: 150.1 MB / 0.6662 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006227/0.5132, allocations: 5.318 MB / 0.6714 GB, free: 148 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.5135, allocations: 4 kB / 0.6714 GB, free: 144 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.5138, allocations: 51.61 kB / 0.6715 GB, free: 92 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004196/0.5181, allocations: 1.323 MB / 0.6728 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.5185, allocations: 143.3 kB / 0.6729 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006759/0.5191, allocations: 394 kB / 0.6733 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.5192, allocations: 9.688 kB / 0.6733 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.5196, allocations: 171.3 kB / 0.6734 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.5199, allocations: 167.5 kB / 0.6736 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.52, allocations: 8 kB / 0.6736 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.5227, allocations: 1.088 MB / 0.6747 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.055e-05/0.5228, allocations: 47.75 kB / 0.6747 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.5229, allocations: 111.5 kB / 0.6748 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001966/0.5249, allocations: 0.8499 MB / 0.6757 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5249, allocations: 0 / 0.6757 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.51e-07/0.5249, allocations: 0 / 0.6757 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.525, allocations: 0 / 0.6757 GB, free: 11.8 MB / 0.5294 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.001414/0.5264, allocations: 0.6828 MB / 0.6763 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.5264, allocations: 8.031 kB / 0.6763 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.5342, allocations: 0.5936 MB / 0.6769 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.5348, allocations: 267.3 kB / 0.6772 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.5349, allocations: 123.4 kB / 0.6773 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/0.5351, allocations: 28 kB / 0.6773 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.5364, allocations: 0.5556 MB / 0.6779 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.5364, allocations: 0 / 0.6779 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.454e-05/0.5365, allocations: 12 kB / 0.6779 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.5366, allocations: 8 kB / 0.6779 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.538, allocations: 0.626 MB / 0.6785 GB, free: 8.75 MB / 0.5294 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.002311/0.5403, allocations: 1.713 MB / 0.6802 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.5407, allocations: 166.4 kB / 0.6803 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.5408, allocations: 72.88 kB / 0.6804 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/0.5421, allocations: 1.463 MB / 0.6818 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.5421, allocations: 42.67 kB / 0.6819 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.5421, allocations: 3.938 kB / 0.6819 GB, free: 4.859 MB / 0.5294 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=19): time 0.0009576/0.5431, allocations: 330.9 kB / 0.6822 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.5431, allocations: 55.41 kB / 0.6822 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.5433, allocations: 182.5 kB / 0.6824 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.5434, allocations: 33.7 kB / 0.6824 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.5435, allocations: 179.3 kB / 0.6826 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.5435, allocations: 67.09 kB / 0.6827 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.5436, allocations: 97.86 kB / 0.6828 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5438, allocations: 334.8 kB / 0.6831 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.5439, allocations: 72.64 kB / 0.6831 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.5442, allocations: 256.1 kB / 0.6834 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.5446, allocations: 366.2 kB / 0.6837 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5447, allocations: 0 / 0.6837 GB, free: 2.688 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006048/0.5453, allocations: 373.5 kB / 0.6841 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.5453, allocations: 8 kB / 0.6841 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.5453, allocations: 8 kB / 0.6841 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.5453, allocations: 8 kB / 0.6841 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.5457, allocations: 123.8 kB / 0.6842 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003769/0.5461, allocations: 0.6094 MB / 0.6848 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.5464, allocations: 43.66 kB / 0.6849 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.642e-05/0.5464, allocations: 47.98 kB / 0.6849 GB, free: 1.449 MB / 0.5294 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.000156/0.5466, allocations: 137.7 kB / 0.6851 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.656e-05/0.5467, allocations: 23.75 kB / 0.6851 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007909/0.5475, allocations: 462.6 kB / 0.6855 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.5475, allocations: 4 kB / 0.6855 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.5475, allocations: 0 / 0.6855 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.5475, allocations: 0 / 0.6855 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.5483, allocations: 0.6313 MB / 0.6861 GB, free: 80 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5484, allocations: 4 kB / 0.6861 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.5486, allocations: 64.14 kB / 0.6862 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.5486, allocations: 8 kB / 0.6862 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5486, allocations: 4 kB / 0.6862 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002952/0.5489, allocations: 0.6015 MB / 0.6868 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5489, allocations: 4.109 kB / 0.6868 GB, free: 15.37 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.5493, allocations: 298.1 kB / 0.6871 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.329e-05/0.5494, allocations: 112.8 kB / 0.6872 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.5494, allocations: 15.94 kB / 0.6872 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.5497, allocations: 7.984 kB / 0.6872 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.5497, allocations: 19.98 kB / 0.6872 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.5498, allocations: 15.98 kB / 0.6873 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001059/0.5499, allocations: 139.6 kB / 0.6874 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5499, allocations: 0 / 0.6874 GB, free: 14.71 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006359/0.5505, allocations: 168 kB / 0.6875 GB, free: 14.55 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0006323/0.5512, allocations: 279.8 kB / 0.6878 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000495/0.5517, allocations: 225.1 kB / 0.688 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.5517, allocations: 0 / 0.688 GB, free: 14.06 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.5519, allocations: 88.33 kB / 0.6881 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.5525, allocations: 63.97 kB / 0.6882 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.5539, allocations: 0.8555 MB / 0.689 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.5542, allocations: 0.7323 MB / 0.6897 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.5544, allocations: 83.36 kB / 0.6898 GB, free: 12.16 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5545, allocations: 0 / 0.6898 GB, free: 12.16 MB / 0.545 GB Notification: Performance of Templates: time 0.008676/0.5631, allocations: 5.47 MB / 0.6951 GB, free: 6.691 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches