Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009891/0.0009891, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00126/0.00126, allocations: 160.2 kB / 24.91 MB, free: 8.758 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2794/0.2794, allocations: 34.85 MB / 296.6 MB, free: 460 kB / 266.7 MB " [Timeout remaining time 180] 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.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") translateModel(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 326 MB, free: 7.125 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.497e-05, allocations: 5.406 kB / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.FlueGasSixComponents): time 0.3318/0.3318, allocations: 145.7 MB / 471.7 MB, free: 12.58 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006514/0.3383, allocations: 6.952 MB / 478.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3385, allocations: 2.812 kB / 478.7 MB, free: 12.11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003262/0.3388, allocations: 80.89 kB / 478.7 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005591/0.3444, allocations: 2.261 MB / 481 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.3447, allocations: 146.4 kB / 481.1 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.3457, allocations: 0.5219 MB / 481.7 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.3458, allocations: 19.45 kB / 481.7 MB, free: 11.79 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007889/0.3466, allocations: 331.5 kB / 482 MB, free: 11.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008659/0.3474, allocations: 435.4 kB / 482.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.3475, allocations: 11.5 kB / 482.4 MB, free: 11.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00571/0.3532, allocations: 2.382 MB / 484.8 MB, free: 11.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.3534, allocations: 179.2 kB / 485 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.3537, allocations: 156.3 kB / 485.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002948/0.3566, allocations: 1.948 MB / 487.1 MB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3566, allocations: 3.312 kB / 487.1 MB, free: 11.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3566, allocations: 4 kB / 487.1 MB, free: 11.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3566, allocations: 0 / 487.1 MB, free: 11.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001248/0.3579, allocations: 0.8921 MB / 488 MB, free: 10.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.3579, allocations: 8.875 kB / 488 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.3598, allocations: 0.6399 MB / 488.7 MB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.3601, allocations: 273.4 kB / 488.9 MB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.3601, allocations: 231.2 kB / 489.1 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.991e-05/0.3602, allocations: 37.11 kB / 489.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.3609, allocations: 0.9496 MB / 490.1 MB, free: 9.758 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.3609, allocations: 7.062 kB / 490.1 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-05/0.3609, allocations: 16.41 kB / 490.2 MB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.361, allocations: 53.91 kB / 490.2 MB, free: 9.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.3622, allocations: 0.9109 MB / 491.1 MB, free: 9.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.3637, allocations: 1.747 MB / 492.9 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.3638, allocations: 67.3 kB / 492.9 MB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.98e-05/0.3638, allocations: 31.69 kB / 493 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/0.3656, allocations: 1.386 MB / 494.3 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3656, allocations: 43.84 kB / 494.4 MB, free: 7.766 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.853e-06/0.3656, allocations: 0 / 494.4 MB, free: 7.766 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005572/0.3662, allocations: 249.9 kB / 494.6 MB, free: 7.664 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/0.3662, allocations: 54.34 kB / 494.7 MB, free: 7.602 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.3664, allocations: 357.3 kB / 495 MB, free: 7.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3664, allocations: 28.83 kB / 495.1 MB, free: 7.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.3665, allocations: 376.1 kB / 495.4 MB, free: 7.055 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.3666, allocations: 72.42 kB / 495.5 MB, free: 7.008 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.3667, allocations: 154.6 kB / 495.7 MB, free: 6.965 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.3667, allocations: 338.6 kB / 496 MB, free: 6.645 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.3668, allocations: 58.14 kB / 496 MB, free: 6.633 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.367, allocations: 0.5093 MB / 496.5 MB, free: 6.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003962/0.3674, allocations: 0.6647 MB / 497.2 MB, free: 5.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.3674, allocations: 2.531 kB / 497.2 MB, free: 5.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0006345/0.368, allocations: 0.5614 MB / 497.8 MB, free: 5.078 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.368, allocations: 10.88 kB / 497.8 MB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3681, allocations: 16.94 kB / 497.8 MB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.3681, allocations: 21.56 kB / 497.8 MB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.3684, allocations: 186.1 kB / 498 MB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000154/0.3685, allocations: 0.6192 MB / 498.6 MB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.3687, allocations: 102.3 kB / 498.7 MB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.3688, allocations: 54.89 kB / 498.8 MB, free: 4.375 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (92): * Single equations (assignments): 91 * 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 8.278e-05/0.3689, allocations: 165.5 kB / 498.9 MB, free: 4.234 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.3691, allocations: 106.7 kB / 499 MB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001747/0.3692, allocations: 166.3 kB / 499.2 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3692, allocations: 2.969 kB / 499.2 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.3692, allocations: 0 / 499.2 MB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.3692, allocations: 3.938 kB / 499.2 MB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3695, allocations: 363.2 kB / 499.6 MB, free: 3.801 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3695, allocations: 6.938 kB / 499.6 MB, free: 3.797 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.078e-05/0.3696, allocations: 33.17 kB / 499.6 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3696, allocations: 6.844 kB / 499.6 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3696, allocations: 2.938 kB / 499.6 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001064/0.3697, allocations: 0.5868 MB / 0.4885 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3697, allocations: 0 / 0.4885 GB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.3698, allocations: 231.7 kB / 0.4887 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.3698, allocations: 36.25 kB / 0.4887 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.3699, allocations: 3.188 kB / 0.4887 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.37, allocations: 16.95 kB / 0.4888 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.37, allocations: 16.73 kB / 0.4888 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.37, allocations: 9.344 kB / 0.4888 GB, free: 2.945 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.507e-05/0.3701, allocations: 113.1 kB / 0.4889 GB, free: 2.914 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3701, allocations: 0 / 0.4889 GB, free: 2.914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006728/0.3708, allocations: 353.5 kB / 0.4892 GB, free: 2.855 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (13): * Single equations (assignments): 12 * 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.0008651/0.3716, allocations: 0.6338 MB / 0.4898 GB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.3719, allocations: 281.3 kB / 0.4901 GB, free: 2.465 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/0.3719, allocations: 13.03 kB / 0.4901 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.372, allocations: 48.84 kB / 0.4902 GB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3722, allocations: 69.5 kB / 0.4902 GB, free: 2.414 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005823/0.378, allocations: 6.842 MB / 0.4969 GB, free: 15.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.953e-05/0.3781, allocations: 109 kB / 0.497 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.3784, allocations: 181 kB / 0.4972 GB, free: 15.81 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.3785, allocations: 141.8 kB / 0.4973 GB, free: 15.75 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.3785, allocations: 0 / 0.4973 GB, free: 15.75 MB / 426.7 MB Notification: Performance of Templates: time 0.01137/0.3899, allocations: 11.05 MB / 0.5081 GB, free: 7.824 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/FlueGasSixComponents/FlueGasSixComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7665692446753383]