Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00408/0.004087, 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.296/4.296, 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.005389/0.005388, allocations: 230.4 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.5398/0.5398, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006508/0.0006518, allocations: 15.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1041, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.5999, allocations: 83.48 MB / 0.7616 GB, free: 1.859 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.6003, allocations: 82.44 kB / 0.7617 GB, free: 1.812 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.02662/0.6269, allocations: 4.187 MB / 0.7658 GB, free: 14.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.627, allocations: 4 kB / 0.7658 GB, free: 14.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.731e-05/0.627, allocations: 0 / 0.7658 GB, free: 14.25 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.00182/0.6289, allocations: 0.616 MB / 0.7664 GB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/0.629, allocations: 12.03 kB / 0.7664 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.6291, allocations: 27.77 kB / 0.7664 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006166/0.6297, allocations: 221 kB / 0.7666 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.6298, allocations: 11.61 kB / 0.7666 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.6299, allocations: 11.94 kB / 0.7667 GB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000946/0.6309, allocations: 138.5 kB / 0.7668 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.6309, allocations: 0 / 0.7668 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.631, allocations: 3.125 kB / 0.7668 GB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.631, allocations: 7.953 kB / 0.7668 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.6323, allocations: 135.4 kB / 0.7669 GB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.634, allocations: 447.7 kB / 0.7674 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001773/0.6358, allocations: 196 kB / 0.7675 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/0.6365, allocations: 89.05 kB / 0.7676 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.6366, allocations: 0 / 0.7676 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009171/0.6375, allocations: 155 kB / 0.7678 GB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 4.058e-06/0.6376, allocations: 0 / 0.7678 GB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.002476/0.6401, allocations: 304 kB / 0.7681 GB, free: 11.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.633e-05/0.6402, allocations: 51.41 kB / 0.7681 GB, free: 11.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004525/0.6406, allocations: 212.5 kB / 0.7683 GB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.369e-05/0.6407, allocations: 33.58 kB / 0.7684 GB, free: 11.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.6409, allocations: 115 kB / 0.7685 GB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.638e-05/0.641, allocations: 42.59 kB / 0.7685 GB, free: 11.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-05/0.641, allocations: 3.75 kB / 0.7685 GB, free: 11.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.6412, allocations: 333.6 kB / 0.7688 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007709/0.642, allocations: 95.88 kB / 0.7689 GB, free: 11.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007513/0.6428, allocations: 111.6 kB / 0.769 GB, free: 11.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.6437, allocations: 167.6 kB / 0.7692 GB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.6438, allocations: 0 / 0.7692 GB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001929/0.6457, allocations: 337.1 kB / 0.7695 GB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.6458, allocations: 66.72 kB / 0.7696 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/0.6459, allocations: 4 kB / 0.7696 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/0.6459, allocations: 7.938 kB / 0.7696 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.6465, allocations: 35.97 kB / 0.7696 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/0.6465, allocations: 11.92 kB / 0.7696 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.6471, allocations: 42.69 kB / 0.7697 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.6471, allocations: 8 kB / 0.7697 GB, free: 10.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0002907/0.6475, allocations: 131.5 kB / 0.7698 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.6475, allocations: 15.81 kB / 0.7698 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/0.6492, allocations: 242.4 kB / 0.77 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.6493, allocations: 7.953 kB / 0.7701 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/0.6493, allocations: 0 / 0.7701 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.6493, allocations: 7.938 kB / 0.7701 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.6498, allocations: 228.5 kB / 0.7703 GB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.6498, allocations: 4 kB / 0.7703 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004528/0.6503, allocations: 30.97 kB / 0.7703 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6503, allocations: 0 / 0.7703 GB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.6504, allocations: 4 kB / 0.7703 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.6504, allocations: 0 / 0.7703 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.6504, allocations: 3.953 kB / 0.7703 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.6529, allocations: 353.8 kB / 0.7707 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.6531, allocations: 108.2 kB / 0.7708 GB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.552e-05/0.6532, allocations: 15.25 kB / 0.7708 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/0.6537, allocations: 23.97 kB / 0.7708 GB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.6539, allocations: 22.09 kB / 0.7708 GB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.6539, allocations: 11.89 kB / 0.7708 GB, free: 9.254 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003184/0.6543, allocations: 158.1 kB / 0.771 GB, free: 9.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6543, allocations: 0 / 0.771 GB, free: 9.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006407/0.6549, allocations: 47.5 kB / 0.771 GB, free: 9.078 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001906/0.6569, allocations: 410.2 kB / 0.7714 GB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.6588, allocations: 347.5 kB / 0.7717 GB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.6588, allocations: 0 / 0.7717 GB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007488/0.6596, allocations: 91.31 kB / 0.7718 GB, free: 8.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.6604, allocations: 42.94 kB / 0.7719 GB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.6619, allocations: 347.2 kB / 0.7722 GB, free: 8.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.6624, allocations: 0.7243 MB / 0.7729 GB, free: 7.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002551/0.6626, allocations: 17.42 kB / 0.7729 GB, free: 7.297 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6628, allocations: 26.48 kB / 0.773 GB, free: 7.277 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6628, allocations: 0 / 0.773 GB, free: 7.277 MB / 362.7 MB Notification: Performance of Templates: time 0.01489/0.6777, allocations: 2.574 MB / 0.7755 GB, free: 4.738 MB / 362.7 MB