Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00283/0.002829, allocations: 364.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.2/4.2, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003674/0.003674, allocations: 233.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5635/0.5635, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004641, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4846/0.5887, allocations: 82.11 MB / 0.7603 GB, free: 3.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003981/0.5892, allocations: 82.56 kB / 0.7604 GB, free: 3.199 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03059/0.6198, allocations: 4.491 MB / 0.7647 GB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6199, allocations: 0 / 0.7647 GB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.842e-05/0.6199, allocations: 0 / 0.7647 GB, free: 15.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009771/0.6209, allocations: 476.2 kB / 0.7652 GB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.621, allocations: 12.83 kB / 0.7652 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/0.6211, allocations: 11.91 kB / 0.7652 GB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/0.6216, allocations: 209.5 kB / 0.7654 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.103e-05/0.6217, allocations: 4 kB / 0.7654 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.6217, allocations: 4 kB / 0.7654 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.622, allocations: 52.36 kB / 0.7655 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.622, allocations: 0 / 0.7655 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.6221, allocations: 14.95 kB / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.6221, allocations: 0 / 0.7655 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.6223, allocations: 23.05 kB / 0.7655 GB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007383/0.623, allocations: 311.8 kB / 0.7658 GB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.6234, allocations: 64.42 kB / 0.7659 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.6236, allocations: 20.53 kB / 0.7659 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.6236, allocations: 7.984 kB / 0.7659 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.6239, allocations: 74.86 kB / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.206e-06/0.6239, allocations: 0 / 0.766 GB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001175/0.6251, allocations: 187.2 kB / 0.7662 GB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.6252, allocations: 51.41 kB / 0.7662 GB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.6256, allocations: 177.6 kB / 0.7664 GB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.6257, allocations: 29.7 kB / 0.7664 GB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.6258, allocations: 106.5 kB / 0.7665 GB, free: 13.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.6259, allocations: 23.41 kB / 0.7665 GB, free: 13.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.6259, allocations: 0 / 0.7665 GB, free: 13.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.6262, allocations: 329.8 kB / 0.7668 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.6264, allocations: 36.86 kB / 0.7669 GB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.6267, allocations: 57.88 kB / 0.7669 GB, free: 13.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.627, allocations: 72.69 kB / 0.767 GB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.627, allocations: 4 kB / 0.767 GB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001182/0.6282, allocations: 180.1 kB / 0.7672 GB, free: 12.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.6284, allocations: 37.69 kB / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.6285, allocations: 384 / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.6285, allocations: 4 kB / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.629, allocations: 15.98 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.396e-05/0.629, allocations: 4 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.6293, allocations: 7.5 kB / 0.7672 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.6293, allocations: 8 kB / 0.7672 GB, free: 12.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002235/0.6296, allocations: 131.7 kB / 0.7674 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.694e-05/0.6297, allocations: 15.86 kB / 0.7674 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001121/0.6308, allocations: 125.8 kB / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.6309, allocations: 0 / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6309, allocations: 0 / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.631, allocations: 0 / 0.7675 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008771/0.6318, allocations: 419.1 kB / 0.7679 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.6319, allocations: 0 / 0.7679 GB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.813e-05/0.632, allocations: 11.94 kB / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.632, allocations: 0 / 0.7679 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.632, allocations: 11.48 kB / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.632, allocations: 0 / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.632, allocations: 0 / 0.7679 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003985/0.6325, allocations: 213.5 kB / 0.7681 GB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.6326, allocations: 100.3 kB / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.6326, allocations: 4 kB / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.6328, allocations: 7.734 kB / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.6328, allocations: 4 kB / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.6329, allocations: 4 kB / 0.7682 GB, free: 11.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.6331, allocations: 142.9 kB / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6331, allocations: 0 / 0.7684 GB, free: 11.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.6335, allocations: 39.44 kB / 0.7684 GB, free: 11.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001518/0.6351, allocations: 449.1 kB / 0.7688 GB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006875/0.6358, allocations: 160.4 kB / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.6358, allocations: 0 / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.636, allocations: 33.67 kB / 0.769 GB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.6365, allocations: 34.44 kB / 0.7691 GB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006938/0.6372, allocations: 252.9 kB / 0.7693 GB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003852/0.6376, allocations: 0.7134 MB / 0.77 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.6377, allocations: 12.44 kB / 0.77 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.6378, allocations: 19.42 kB / 0.77 GB, free: 10.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6378, allocations: 0 / 0.77 GB, free: 10.15 MB / 362.7 MB Notification: Performance of Templates: time 0.006914/0.6447, allocations: 1.733 MB / 0.7717 GB, free: 8.441 MB / 362.7 MB