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.0008371/0.0008373, allocations: 94.31 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009976/0.0009977, allocations: 201.3 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.7 MB / 246.8 MB, free: 9.766 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 8 kB / 419.5 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 63.57 MB / 483.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4223/0.5372, allocations: 148.9 MB / 0.6172 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006286/0.5436, allocations: 5.318 MB / 0.6224 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.5438, allocations: 0 / 0.6224 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.5441, allocations: 43.73 kB / 0.6224 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004107/0.5483, allocations: 1.164 MB / 0.6235 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003879/0.5487, allocations: 134.9 kB / 0.6237 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007425/0.5494, allocations: 470 kB / 0.6241 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.469e-05/0.5495, allocations: 13.67 kB / 0.6241 GB, free: 8.621 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004232/0.5499, allocations: 171.3 kB / 0.6243 GB, free: 8.453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004478/0.5504, allocations: 187.3 kB / 0.6245 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.985e-05/0.5504, allocations: 4 kB / 0.6245 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.5533, allocations: 1.068 MB / 0.6255 GB, free: 7.195 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.5535, allocations: 43.81 kB / 0.6256 GB, free: 7.152 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.5537, allocations: 137.2 kB / 0.6257 GB, free: 7.012 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00233/0.556, allocations: 0.8614 MB / 0.6265 GB, free: 6.148 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.556, allocations: 7.938 kB / 0.6265 GB, free: 6.141 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5561, allocations: 3.938 kB / 0.6265 GB, free: 6.137 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.5561, allocations: 0 / 0.6265 GB, free: 6.137 MB / 462.1 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.001654/0.5577, allocations: 0.6203 MB / 0.6271 GB, free: 5.465 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5578, allocations: 10.31 kB / 0.6271 GB, free: 5.457 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008184/0.566, allocations: 0.6102 MB / 0.6277 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.5665, allocations: 263.7 kB / 0.628 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001444/0.5667, allocations: 123.4 kB / 0.6281 GB, free: 4.406 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.5668, allocations: 24 kB / 0.6281 GB, free: 4.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.5682, allocations: 0.5595 MB / 0.6287 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.5682, allocations: 3.938 kB / 0.6287 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.5683, allocations: 15.62 kB / 0.6287 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.784e-05/0.5684, allocations: 8 kB / 0.6287 GB, free: 3.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001517/0.5699, allocations: 0.6338 MB / 0.6293 GB, free: 3.133 MB / 462.1 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.002677/0.5726, allocations: 1.709 MB / 0.631 GB, free: 1.273 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.573, allocations: 165.7 kB / 0.6312 GB, free: 1.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.5731, allocations: 72.88 kB / 0.6312 GB, free: 1.031 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/0.5749, allocations: 1.471 MB / 0.6327 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.5749, allocations: 46.55 kB / 0.6327 GB, free: 15.24 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 1.983e-06/0.5749, allocations: 0 / 0.6327 GB, free: 15.24 MB / 478.1 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.001038/0.576, allocations: 318.4 kB / 0.633 GB, free: 14.93 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.576, allocations: 63.34 kB / 0.6331 GB, free: 14.85 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.5762, allocations: 187 kB / 0.6332 GB, free: 14.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.5763, allocations: 29.7 kB / 0.6333 GB, free: 14.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.5764, allocations: 183.3 kB / 0.6335 GB, free: 14.44 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.621e-05/0.5765, allocations: 63.11 kB / 0.6335 GB, free: 14.38 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.5765, allocations: 37.7 kB / 0.6335 GB, free: 14.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5767, allocations: 330.8 kB / 0.6339 GB, free: 14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.5768, allocations: 68.7 kB / 0.6339 GB, free: 13.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.5771, allocations: 268 kB / 0.6342 GB, free: 13.58 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.5776, allocations: 362.2 kB / 0.6345 GB, free: 13.13 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.5776, allocations: 0 / 0.6345 GB, free: 13.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006788/0.5783, allocations: 368.6 kB / 0.6349 GB, free: 12.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.5783, allocations: 12.88 kB / 0.6349 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.5784, allocations: 11.98 kB / 0.6349 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.5784, allocations: 12 kB / 0.6349 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.5788, allocations: 127.8 kB / 0.635 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004094/0.5792, allocations: 0.6055 MB / 0.6356 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.5795, allocations: 39.53 kB / 0.6357 GB, free: 11.94 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.661e-05/0.5796, allocations: 40 kB / 0.6357 GB, free: 11.9 MB / 478.1 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.0001755/0.5798, allocations: 153.7 kB / 0.6359 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.5799, allocations: 19.81 kB / 0.6359 GB, free: 11.72 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.5808, allocations: 463.2 kB / 0.6363 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.5809, allocations: 7.938 kB / 0.6363 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5809, allocations: 0 / 0.6363 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.5809, allocations: 0 / 0.6363 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008746/0.5818, allocations: 0.639 MB / 0.6369 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5818, allocations: 2.438 kB / 0.6369 GB, free: 10.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.582, allocations: 51.97 kB / 0.637 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.582, allocations: 4 kB / 0.637 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.582, allocations: 11.98 kB / 0.637 GB, free: 10.44 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003208/0.5824, allocations: 0.6018 MB / 0.6376 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5824, allocations: 0 / 0.6376 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.5828, allocations: 302.1 kB / 0.6379 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.5829, allocations: 116.8 kB / 0.638 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.5829, allocations: 3.938 kB / 0.638 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.5832, allocations: 15.98 kB / 0.638 GB, free: 9.328 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.5832, allocations: 19.92 kB / 0.638 GB, free: 9.309 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.5833, allocations: 23.98 kB / 0.6381 GB, free: 9.285 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.5834, allocations: 131.9 kB / 0.6382 GB, free: 9.156 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5834, allocations: 0 / 0.6382 GB, free: 9.156 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000667/0.5841, allocations: 172 kB / 0.6383 GB, free: 8.988 MB / 478.1 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.0006973/0.5848, allocations: 270.3 kB / 0.6386 GB, free: 8.723 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.000528/0.5853, allocations: 224.8 kB / 0.6388 GB, free: 8.504 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5854, allocations: 0 / 0.6388 GB, free: 8.504 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.5856, allocations: 87.78 kB / 0.6389 GB, free: 8.418 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.5862, allocations: 76.86 kB / 0.639 GB, free: 8.344 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.5878, allocations: 0.9939 MB / 0.6399 GB, free: 7.301 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/0.5882, allocations: 0.7248 MB / 0.6407 GB, free: 6.547 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008377/0.589, allocations: 396.2 kB / 0.641 GB, free: 6.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.5892, allocations: 51.39 kB / 0.6411 GB, free: 6.109 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5892, allocations: 4 kB / 0.6411 GB, free: 6.105 MB / 478.1 MB Notification: Performance of Templates: time 0.01044/0.5996, allocations: 5.569 MB / 0.6465 GB, free: 0.5664 MB / 478.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/CO2/CO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches