Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003566/0.003572, allocations: 363.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.656/4.656, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.00361/0.00361, allocations: 226.1 kB / 451 MB, free: 145 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.5299/0.5299, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.00063, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1084, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6023, allocations: 82.12 MB / 0.7603 GB, free: 3.176 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/0.6028, allocations: 77.22 kB / 0.7604 GB, free: 3.137 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.03039/0.6332, allocations: 4.496 MB / 0.7648 GB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6333, allocations: 0 / 0.7648 GB, free: 15.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.6333, allocations: 0 / 0.7648 GB, free: 15.34 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.0009084/0.6342, allocations: 473.8 kB / 0.7652 GB, free: 14.83 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.6343, allocations: 8.828 kB / 0.7652 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.527e-05/0.6344, allocations: 11.91 kB / 0.7652 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005018/0.635, allocations: 202.8 kB / 0.7654 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.635, allocations: 11.92 kB / 0.7654 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.6351, allocations: 4 kB / 0.7654 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.6354, allocations: 57.22 kB / 0.7655 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.6354, allocations: 0 / 0.7655 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.6354, allocations: 3.953 kB / 0.7655 GB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.6355, allocations: 8 kB / 0.7655 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001672/0.6357, allocations: 27.55 kB / 0.7655 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.6364, allocations: 299.9 kB / 0.7658 GB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.6368, allocations: 65.55 kB / 0.7659 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.637, allocations: 24.66 kB / 0.7659 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.637, allocations: 0 / 0.7659 GB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003025/0.6373, allocations: 75.59 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.6374, allocations: 0 / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001202/0.6386, allocations: 190.3 kB / 0.7661 GB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.6387, allocations: 51.41 kB / 0.7662 GB, free: 13.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.639, allocations: 176.8 kB / 0.7664 GB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.771e-05/0.6391, allocations: 33.64 kB / 0.7664 GB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.6392, allocations: 103.5 kB / 0.7665 GB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.6393, allocations: 27.52 kB / 0.7665 GB, free: 13.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/0.6393, allocations: 0 / 0.7665 GB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6395, allocations: 322.4 kB / 0.7668 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.6398, allocations: 42.28 kB / 0.7669 GB, free: 13.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002482/0.64, allocations: 52.25 kB / 0.7669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002712/0.6403, allocations: 81.62 kB / 0.767 GB, free: 13.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6404, allocations: 0 / 0.767 GB, free: 13.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007291/0.6411, allocations: 189.3 kB / 0.7672 GB, free: 12.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.539e-05/0.6412, allocations: 33.7 kB / 0.7672 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.6413, allocations: 0 / 0.7672 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6413, allocations: 0 / 0.7672 GB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.6416, allocations: 19.98 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6416, allocations: 0 / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.6418, allocations: 7.625 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.6418, allocations: 8.031 kB / 0.7672 GB, free: 12.78 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.0002262/0.6421, allocations: 129.2 kB / 0.7674 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.6421, allocations: 15.8 kB / 0.7674 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005814/0.6427, allocations: 122.8 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.6428, allocations: 0 / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.6428, allocations: 0 / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.6428, allocations: 7.922 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009978/0.6438, allocations: 410.8 kB / 0.7679 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.6439, allocations: 4 kB / 0.7679 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.644, allocations: 15.92 kB / 0.7679 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.644, allocations: 0 / 0.7679 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.6441, allocations: 0 / 0.7679 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.6441, allocations: 4 kB / 0.7679 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6441, allocations: 0 / 0.7679 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.6447, allocations: 213.1 kB / 0.7681 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001647/0.6449, allocations: 100.7 kB / 0.7682 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.6449, allocations: 7.172 kB / 0.7682 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.6452, allocations: 4 kB / 0.7682 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.6453, allocations: 7.984 kB / 0.7682 GB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.6453, allocations: 7.438 kB / 0.7682 GB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002538/0.6456, allocations: 136.2 kB / 0.7684 GB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6456, allocations: 4 kB / 0.7684 GB, free: 11.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006407/0.6463, allocations: 39.55 kB / 0.7684 GB, free: 11.58 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.002024/0.6483, allocations: 451.5 kB / 0.7688 GB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.649, allocations: 172.5 kB / 0.769 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.649, allocations: 0 / 0.769 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002096/0.6493, allocations: 34.92 kB / 0.769 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/0.65, allocations: 30.38 kB / 0.7691 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.651, allocations: 239 kB / 0.7693 GB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.6515, allocations: 0.7128 MB / 0.77 GB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001386/0.6517, allocations: 16.42 kB / 0.77 GB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.6518, allocations: 11.44 kB / 0.77 GB, free: 10.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6518, allocations: 3.938 kB / 0.77 GB, free: 10.1 MB / 362.7 MB Notification: Performance of Templates: time 0.009536/0.6614, allocations: 1.732 MB / 0.7717 GB, free: 8.395 MB / 362.7 MB