Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001741/0.001741, allocations: 207.3 kB / 17.99 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.8 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001136, allocations: 102.8 kB / 296.7 MB, free: 6.445 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3872/0.3872, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3236, allocations: 62.01 MB / 0.5151 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1617/0.4853, allocations: 148 MB / 0.6597 GB, free: 5.102 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.005739/0.4911, allocations: 5.397 MB / 0.6649 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.4912, allocations: 0 / 0.6649 GB, free: 15.69 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.4915, allocations: 43.73 kB / 0.665 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003264/0.4948, allocations: 1.168 MB / 0.6661 GB, free: 14.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.4951, allocations: 138.7 kB / 0.6662 GB, free: 14.35 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005818/0.4957, allocations: 470 kB / 0.6667 GB, free: 13.89 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.219e-05/0.4958, allocations: 17.62 kB / 0.6667 GB, free: 13.87 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.4961, allocations: 163.3 kB / 0.6669 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003156/0.4964, allocations: 183.5 kB / 0.667 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.4964, allocations: 7.938 kB / 0.667 GB, free: 13.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001966/0.4984, allocations: 1.061 MB / 0.6681 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.4985, allocations: 47.75 kB / 0.6681 GB, free: 12.41 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.4986, allocations: 111.5 kB / 0.6682 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.4999, allocations: 0.8654 MB / 0.6691 GB, free: 11.44 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4999, allocations: 0 / 0.6691 GB, free: 11.44 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4999, allocations: 0 / 0.6691 GB, free: 11.44 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.4999, allocations: 0 / 0.6691 GB, free: 11.44 MB / 490.7 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.001247/0.5012, allocations: 0.6866 MB / 0.6697 GB, free: 10.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.5012, allocations: 8.031 kB / 0.6698 GB, free: 10.69 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007777/0.509, allocations: 0.6092 MB / 0.6703 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.5095, allocations: 267.3 kB / 0.6706 GB, free: 9.781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5097, allocations: 127.4 kB / 0.6707 GB, free: 9.633 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.803e-05/0.5098, allocations: 20 kB / 0.6707 GB, free: 9.613 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.511, allocations: 0.5595 MB / 0.6713 GB, free: 9.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.511, allocations: 8 kB / 0.6713 GB, free: 9.008 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.218e-05/0.5111, allocations: 8 kB / 0.6713 GB, free: 9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.5111, allocations: 7.984 kB / 0.6713 GB, free: 8.992 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.5126, allocations: 0.6299 MB / 0.6719 GB, free: 8.363 MB / 490.7 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.00222/0.5148, allocations: 1.717 MB / 0.6736 GB, free: 6.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003338/0.5152, allocations: 158.5 kB / 0.6738 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.5153, allocations: 76.81 kB / 0.6738 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/0.5169, allocations: 1.483 MB / 0.6753 GB, free: 4.512 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.517, allocations: 34.56 kB / 0.6753 GB, free: 4.469 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.843e-06/0.517, allocations: 0 / 0.6753 GB, free: 4.469 MB / 490.7 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=19): time 0.0009494/0.5179, allocations: 324.9 kB / 0.6756 GB, free: 4.148 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.518, allocations: 55.41 kB / 0.6757 GB, free: 4.082 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.5181, allocations: 183.1 kB / 0.6758 GB, free: 3.895 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/0.5182, allocations: 33.69 kB / 0.6759 GB, free: 3.855 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5183, allocations: 187.2 kB / 0.6761 GB, free: 3.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/0.5183, allocations: 71.02 kB / 0.6761 GB, free: 3.598 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.5185, allocations: 97.88 kB / 0.6762 GB, free: 3.496 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5186, allocations: 326.8 kB / 0.6765 GB, free: 3.168 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.5188, allocations: 68.7 kB / 0.6766 GB, free: 3.102 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.5191, allocations: 260.1 kB / 0.6768 GB, free: 2.754 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.5195, allocations: 370.2 kB / 0.6772 GB, free: 2.297 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5195, allocations: 0 / 0.6772 GB, free: 2.297 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005725/0.5201, allocations: 370.7 kB / 0.6776 GB, free: 1.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.5201, allocations: 8 kB / 0.6776 GB, free: 1.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/0.5201, allocations: 8 kB / 0.6776 GB, free: 1.914 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.5202, allocations: 8.781 kB / 0.6776 GB, free: 1.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/0.5205, allocations: 123.9 kB / 0.6777 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003633/0.5209, allocations: 0.6131 MB / 0.6783 GB, free: 1.148 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.5211, allocations: 43.53 kB / 0.6783 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.513e-05/0.5212, allocations: 39.98 kB / 0.6784 GB, free: 1.066 MB / 490.7 MB 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.0001303/0.5214, allocations: 147.5 kB / 0.6785 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.5214, allocations: 27.84 kB / 0.6785 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000954/0.5224, allocations: 448 kB / 0.679 GB, free: 440 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5224, allocations: 8 kB / 0.679 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5224, allocations: 0 / 0.679 GB, free: 432 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5224, allocations: 3.984 kB / 0.679 GB, free: 428 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2255/0.7479, allocations: 0.6398 MB / 0.6796 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.748, allocations: 2.938 kB / 0.6796 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.7483, allocations: 53.91 kB / 0.6797 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.7483, allocations: 3.25 kB / 0.6797 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.7483, allocations: 11.14 kB / 0.6797 GB, free: 145.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002227/0.7486, allocations: 0.5983 MB / 0.6803 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7486, allocations: 2.531 kB / 0.6803 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.7493, allocations: 0.9116 MB / 0.6811 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.7494, allocations: 101.8 kB / 0.6812 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.7495, allocations: 14.97 kB / 0.6813 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.7497, allocations: 10.41 kB / 0.6813 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.7498, allocations: 24.16 kB / 0.6813 GB, free: 143.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.7498, allocations: 19.45 kB / 0.6813 GB, free: 143.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.75, allocations: 139.6 kB / 0.6814 GB, free: 143.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.75, allocations: 0 / 0.6814 GB, free: 143.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008961/0.7509, allocations: 167.9 kB / 0.6816 GB, free: 143.7 MB / 490.7 MB 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.0006666/0.7516, allocations: 274.4 kB / 0.6819 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000551/0.7521, allocations: 230.2 kB / 0.6821 GB, free: 143.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.7522, allocations: 1.094 kB / 0.6821 GB, free: 143.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.7524, allocations: 79.36 kB / 0.6822 GB, free: 143.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/0.753, allocations: 76.48 kB / 0.6822 GB, free: 143.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.7545, allocations: 1.1 MB / 0.6833 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.7547, allocations: 0.7274 MB / 0.684 GB, free: 142.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007405/0.7554, allocations: 384 kB / 0.6844 GB, free: 142.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000162/0.7556, allocations: 57.48 kB / 0.6844 GB, free: 142.2 MB / 490.7 MB Notification: Performance of SimCode: time 4.51e-07/0.7556, allocations: 0 / 0.6844 GB, free: 142.2 MB / 490.7 MB Notification: Performance of Templates: time 0.008318/0.7639, allocations: 5.675 MB / 0.69 GB, free: 141.8 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches