Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.CO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008925/0.0008926, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007117/0.0007117, allocations: 99.58 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1858/0.1858, allocations: 44.83 MB / 392 MB, free: 9.34 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002239/0.0002239, allocations: 12 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08671, allocations: 62.95 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.3062/0.393, allocations: 136.2 MB / 0.6484 GB, free: 5.234 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005076/0.3981, allocations: 4.91 MB / 0.6532 GB, free: 320 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.3983, allocations: 0 / 0.6532 GB, free: 320 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.3985, allocations: 43.73 kB / 0.6532 GB, free: 276 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003039/0.4016, allocations: 1.048 MB / 0.6542 GB, free: 15.22 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003285/0.4019, allocations: 134.3 kB / 0.6543 GB, free: 15.09 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.4024, allocations: 410.1 kB / 0.6547 GB, free: 14.69 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.836e-05/0.4025, allocations: 13.67 kB / 0.6548 GB, free: 14.68 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002793/0.4028, allocations: 167.3 kB / 0.6549 GB, free: 14.52 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000294/0.4031, allocations: 179.5 kB / 0.6551 GB, free: 14.34 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 3.406e-05/0.4031, allocations: 4 kB / 0.6551 GB, free: 14.34 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.4051, allocations: 0.9436 MB / 0.656 GB, free: 13.39 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.4051, allocations: 43.81 kB / 0.656 GB, free: 13.35 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.4052, allocations: 61.58 kB / 0.6561 GB, free: 13.28 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009144/0.4061, allocations: 0.5785 MB / 0.6567 GB, free: 12.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4062, allocations: 0 / 0.6567 GB, free: 12.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4062, allocations: 8 kB / 0.6567 GB, free: 12.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.4062, allocations: 0 / 0.6567 GB, free: 12.7 MB / 474.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.001185/0.4074, allocations: 0.624 MB / 0.6573 GB, free: 12.02 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.4074, allocations: 12.03 kB / 0.6573 GB, free: 12.01 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007037/0.4145, allocations: 0.6049 MB / 0.6579 GB, free: 11.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.4148, allocations: 254.7 kB / 0.6581 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.415, allocations: 131.3 kB / 0.6583 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.4151, allocations: 24 kB / 0.6583 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.4161, allocations: 0.5672 MB / 0.6588 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4162, allocations: 0 / 0.6588 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.4163, allocations: 12 kB / 0.6588 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.4163, allocations: 8 kB / 0.6589 GB, free: 10.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.4176, allocations: 0.6221 MB / 0.6595 GB, free: 9.691 MB / 474.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.001962/0.4195, allocations: 1.725 MB / 0.6611 GB, free: 7.816 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.4199, allocations: 152 kB / 0.6613 GB, free: 7.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.42, allocations: 83.97 kB / 0.6614 GB, free: 7.578 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001379/0.4214, allocations: 1.475 MB / 0.6628 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.4215, allocations: 38.56 kB / 0.6629 GB, free: 5.793 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.4215, allocations: 0 / 0.6629 GB, free: 5.793 MB / 474.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.0008787/0.4223, allocations: 332.5 kB / 0.6632 GB, free: 5.465 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.4224, allocations: 55.41 kB / 0.6632 GB, free: 5.398 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.4225, allocations: 187 kB / 0.6634 GB, free: 5.207 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.4226, allocations: 29.7 kB / 0.6634 GB, free: 5.172 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.4227, allocations: 179.3 kB / 0.6636 GB, free: 4.992 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.4227, allocations: 75.09 kB / 0.6637 GB, free: 4.918 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.855e-05/0.4228, allocations: 4 kB / 0.6637 GB, free: 4.914 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4229, allocations: 326.8 kB / 0.664 GB, free: 4.586 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.423, allocations: 68.7 kB / 0.6641 GB, free: 4.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4233, allocations: 256.8 kB / 0.6643 GB, free: 4.176 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.4235, allocations: 104.8 kB / 0.6644 GB, free: 4.074 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4235, allocations: 0 / 0.6644 GB, free: 4.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000574/0.424, allocations: 375.1 kB / 0.6648 GB, free: 3.703 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.4241, allocations: 8 kB / 0.6648 GB, free: 3.695 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4241, allocations: 8 kB / 0.6648 GB, free: 3.688 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4241, allocations: 12.81 kB / 0.6648 GB, free: 3.676 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003713/0.4245, allocations: 127.8 kB / 0.6649 GB, free: 3.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003218/0.4248, allocations: 0.6016 MB / 0.6655 GB, free: 2.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.4251, allocations: 43.53 kB / 0.6655 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.331e-05/0.4251, allocations: 43.98 kB / 0.6656 GB, free: 2.84 MB / 474.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 (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.0001318/0.4253, allocations: 153.5 kB / 0.6657 GB, free: 2.68 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.4253, allocations: 19.91 kB / 0.6657 GB, free: 2.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008624/0.4262, allocations: 456.6 kB / 0.6662 GB, free: 2.191 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4262, allocations: 4 kB / 0.6662 GB, free: 2.188 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4262, allocations: 3.938 kB / 0.6662 GB, free: 2.184 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4262, allocations: 7.922 kB / 0.6662 GB, free: 2.176 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007786/0.427, allocations: 0.6353 MB / 0.6668 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.427, allocations: 0 / 0.6668 GB, free: 1.441 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4272, allocations: 52.84 kB / 0.6669 GB, free: 1.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.4273, allocations: 4 kB / 0.6669 GB, free: 1.387 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.4273, allocations: 15.94 kB / 0.6669 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003088/0.4276, allocations: 0.5977 MB / 0.6675 GB, free: 0.75 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4276, allocations: 4.281 kB / 0.6675 GB, free: 0.7461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.428, allocations: 298.1 kB / 0.6678 GB, free: 424 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.4281, allocations: 116.8 kB / 0.6679 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.4281, allocations: 6.625 kB / 0.6679 GB, free: 284 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.4284, allocations: 15.98 kB / 0.6679 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.223e-05/0.4284, allocations: 15.92 kB / 0.6679 GB, free: 252 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.872e-05/0.4284, allocations: 24 kB / 0.6679 GB, free: 228 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.4285, allocations: 131.1 kB / 0.668 GB, free: 96 kB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4286, allocations: 4 kB / 0.6681 GB, free: 92 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005761/0.4291, allocations: 164 kB / 0.6682 GB, free: 15.93 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 (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.0005827/0.4297, allocations: 277.8 kB / 0.6685 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.4302, allocations: 221.2 kB / 0.6687 GB, free: 15.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4302, allocations: 0 / 0.6687 GB, free: 15.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001835/0.4304, allocations: 83.83 kB / 0.6688 GB, free: 15.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.4309, allocations: 62.66 kB / 0.6688 GB, free: 15.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4324, allocations: 1.02 MB / 0.6698 GB, free: 14.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.4327, allocations: 0.725 MB / 0.6705 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000276/0.4329, allocations: 83.36 kB / 0.6706 GB, free: 13.39 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4329, allocations: 4 kB / 0.6706 GB, free: 13.39 MB / 490.7 MB Notification: Performance of Templates: time 0.00809/0.441, allocations: 5.426 MB / 0.6759 GB, free: 7.977 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches