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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001652/0.001652, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002066/0.002066, allocations: 212.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.208/0.208, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 76.06 kB / 482 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1623/0.4841, allocations: 153 MB / 0.6811 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005636/0.4898, allocations: 5.322 MB / 0.6863 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.49, allocations: 4 kB / 0.6863 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.4904, allocations: 51.66 kB / 0.6864 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003735/0.4941, allocations: 1.32 MB / 0.6877 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.4945, allocations: 154.2 kB / 0.6878 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007079/0.4952, allocations: 394.1 kB / 0.6882 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.992e-05/0.4953, allocations: 9.688 kB / 0.6882 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.4956, allocations: 171.4 kB / 0.6884 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.4959, allocations: 175.4 kB / 0.6885 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.496, allocations: 8 kB / 0.6885 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002287/0.4983, allocations: 1.093 MB / 0.6896 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.4984, allocations: 47.75 kB / 0.6896 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.4985, allocations: 107.5 kB / 0.6897 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.5, allocations: 0.8593 MB / 0.6906 GB, free: 14.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.5, allocations: 4 kB / 0.6906 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5, allocations: 0 / 0.6906 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.5, allocations: 0 / 0.6906 GB, free: 14.41 MB / 0.545 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.001238/0.5013, allocations: 0.6888 MB / 0.6913 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.5013, allocations: 13.47 kB / 0.6913 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00808/0.5094, allocations: 0.6053 MB / 0.6919 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005089/0.51, allocations: 263.4 kB / 0.6921 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.5101, allocations: 123.4 kB / 0.6922 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.5102, allocations: 20 kB / 0.6923 GB, free: 12.6 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.5114, allocations: 0.5595 MB / 0.6928 GB, free: 12.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5114, allocations: 3.938 kB / 0.6928 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.301e-05/0.5115, allocations: 16 kB / 0.6928 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.5115, allocations: 8 kB / 0.6928 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.5129, allocations: 0.6299 MB / 0.6934 GB, free: 11.35 MB / 0.545 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.002087/0.515, allocations: 1.718 MB / 0.6951 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.5154, allocations: 154.4 kB / 0.6953 GB, free: 9.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.5155, allocations: 72.88 kB / 0.6953 GB, free: 9.246 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.517, allocations: 1.483 MB / 0.6968 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.517, allocations: 38.56 kB / 0.6968 GB, free: 7.453 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.054e-06/0.517, allocations: 0 / 0.6968 GB, free: 7.453 MB / 0.545 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.0009879/0.518, allocations: 328 kB / 0.6971 GB, free: 7.129 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.5181, allocations: 59.41 kB / 0.6972 GB, free: 7.059 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.5182, allocations: 182.5 kB / 0.6974 GB, free: 6.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.5183, allocations: 29.7 kB / 0.6974 GB, free: 6.836 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.5184, allocations: 183.3 kB / 0.6976 GB, free: 6.648 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.5184, allocations: 71 kB / 0.6976 GB, free: 6.578 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.5186, allocations: 89.95 kB / 0.6977 GB, free: 6.484 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.5187, allocations: 330.8 kB / 0.698 GB, free: 6.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.5188, allocations: 76.7 kB / 0.6981 GB, free: 6.078 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/0.5191, allocations: 260 kB / 0.6984 GB, free: 5.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.5195, allocations: 364.7 kB / 0.6987 GB, free: 5.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.5195, allocations: 4 kB / 0.6987 GB, free: 5.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000592/0.5201, allocations: 369.5 kB / 0.6991 GB, free: 4.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.5202, allocations: 8.156 kB / 0.6991 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.5202, allocations: 8 kB / 0.6991 GB, free: 4.895 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/0.5202, allocations: 15.98 kB / 0.6991 GB, free: 4.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/0.5206, allocations: 127.8 kB / 0.6992 GB, free: 4.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000335/0.521, allocations: 0.6054 MB / 0.6998 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002382/0.5212, allocations: 43.53 kB / 0.6998 GB, free: 4.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.5213, allocations: 43.98 kB / 0.6999 GB, free: 4.039 MB / 0.545 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.0001486/0.5214, allocations: 145.8 kB / 0.7 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/0.5215, allocations: 19.75 kB / 0.7 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.5223, allocations: 460 kB / 0.7005 GB, free: 3.395 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5223, allocations: 3.938 kB / 0.7005 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5223, allocations: 0 / 0.7005 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5224, allocations: 0 / 0.7005 GB, free: 3.391 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.5232, allocations: 0.6351 MB / 0.7011 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5232, allocations: 0 / 0.7011 GB, free: 2.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.5235, allocations: 63.95 kB / 0.7012 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5235, allocations: 3.938 kB / 0.7012 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.5235, allocations: 8 kB / 0.7012 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002935/0.5238, allocations: 0.6058 MB / 0.7018 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5238, allocations: 0 / 0.7018 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.5242, allocations: 297 kB / 0.7021 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5243, allocations: 104.9 kB / 0.7022 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.187e-05/0.5243, allocations: 15.84 kB / 0.7022 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.5246, allocations: 11.98 kB / 0.7022 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.5246, allocations: 23.92 kB / 0.7022 GB, free: 1.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.5247, allocations: 19.98 kB / 0.7022 GB, free: 1.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000114/0.5248, allocations: 139.6 kB / 0.7024 GB, free: 1.297 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5248, allocations: 0 / 0.7024 GB, free: 1.297 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006571/0.5255, allocations: 164 kB / 0.7025 GB, free: 1.137 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.0006128/0.5261, allocations: 281.9 kB / 0.7028 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005047/0.5266, allocations: 223.6 kB / 0.703 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5266, allocations: 1.812 kB / 0.703 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.5268, allocations: 79.83 kB / 0.7031 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.5274, allocations: 72.59 kB / 0.7031 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.529, allocations: 0.9063 MB / 0.704 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.5292, allocations: 0.7285 MB / 0.7047 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.5295, allocations: 87.3 kB / 0.7048 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of SimCode: time 5.91e-07/0.5295, allocations: 0 / 0.7048 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.008183/0.5377, allocations: 5.558 MB / 0.7102 GB, free: 9.133 MB / 0.5606 GB 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/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_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches