Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002628/0.002634, allocations: 361.9 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.415/4.415, allocations: 388.9 MB / 405.6 MB, free: 9.656 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.003515/0.003515, allocations: 225.6 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.5878/0.5878, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.000462, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5247/0.6275, allocations: 82 MB / 0.7602 GB, free: 3.301 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.6278, allocations: 71.59 kB / 0.7602 GB, free: 3.266 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.0184/0.6463, allocations: 4.432 MB / 0.7646 GB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6463, allocations: 0 / 0.7646 GB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.6463, allocations: 0.5 kB / 0.7646 GB, free: 15.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006819/0.647, allocations: 466 kB / 0.765 GB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6471, allocations: 12.83 kB / 0.765 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.6471, allocations: 8.656 kB / 0.765 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.6475, allocations: 200.8 kB / 0.7652 GB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.6476, allocations: 12.42 kB / 0.7652 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.794e-05/0.6476, allocations: 4.625 kB / 0.7652 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.6478, allocations: 46.92 kB / 0.7653 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.6478, allocations: 0 / 0.7653 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.6479, allocations: 12.52 kB / 0.7653 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6479, allocations: 0 / 0.7653 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.648, allocations: 16.36 kB / 0.7653 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.6483, allocations: 197.1 kB / 0.7655 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.6485, allocations: 54.69 kB / 0.7656 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.747e-05/0.6487, allocations: 24.47 kB / 0.7656 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.6487, allocations: 4 kB / 0.7656 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.6489, allocations: 66.83 kB / 0.7656 GB, free: 14.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 3.898e-06/0.6489, allocations: 3.984 kB / 0.7656 GB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004423/0.6494, allocations: 106.8 kB / 0.7657 GB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.6494, allocations: 62.09 kB / 0.7658 GB, free: 14.13 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002543/0.6497, allocations: 175.3 kB / 0.766 GB, free: 13.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.6498, allocations: 40.83 kB / 0.766 GB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.6498, allocations: 94.83 kB / 0.7661 GB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.6499, allocations: 15.83 kB / 0.7661 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.6499, allocations: 0 / 0.7661 GB, free: 13.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.65, allocations: 326.4 kB / 0.7664 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.6502, allocations: 27.36 kB / 0.7665 GB, free: 13.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.6503, allocations: 48.39 kB / 0.7665 GB, free: 13.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.6505, allocations: 68.06 kB / 0.7666 GB, free: 13.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6505, allocations: 0 / 0.7666 GB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004131/0.6509, allocations: 156.1 kB / 0.7667 GB, free: 13.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.651, allocations: 41.25 kB / 0.7668 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.651, allocations: 0 / 0.7668 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.6511, allocations: 0 / 0.7668 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.6512, allocations: 11.94 kB / 0.7668 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.6512, allocations: 7.953 kB / 0.7668 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.6513, allocations: 7.984 kB / 0.7668 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.6514, allocations: 8.031 kB / 0.7668 GB, free: 13.17 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 (8): * Single equations (assignments): 7 * 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.000169/0.6515, allocations: 125 kB / 0.7669 GB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.6516, allocations: 15.8 kB / 0.7669 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.6519, allocations: 88.23 kB / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.6519, allocations: 7.938 kB / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6519, allocations: 0 / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.652, allocations: 3.953 kB / 0.767 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.6522, allocations: 192.1 kB / 0.7672 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.6522, allocations: 3.938 kB / 0.7672 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.532e-05/0.6523, allocations: 8 kB / 0.7672 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6523, allocations: 0 / 0.7672 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.6523, allocations: 7.438 kB / 0.7672 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6523, allocations: 0 / 0.7672 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6523, allocations: 0 / 0.7672 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.6526, allocations: 115 kB / 0.7673 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/0.6527, allocations: 92.77 kB / 0.7674 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.6528, allocations: 3.984 kB / 0.7674 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.859e-05/0.6528, allocations: 15.5 kB / 0.7674 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.6529, allocations: 0 / 0.7674 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.6529, allocations: 4.25 kB / 0.7674 GB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001689/0.6531, allocations: 143.3 kB / 0.7676 GB, free: 12.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6531, allocations: 0 / 0.7676 GB, free: 12.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003261/0.6535, allocations: 24 kB / 0.7676 GB, free: 12.31 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001227/0.6547, allocations: 396.6 kB / 0.768 GB, free: 12.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.6551, allocations: 147.7 kB / 0.7681 GB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.6551, allocations: 4 kB / 0.7681 GB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.6553, allocations: 26.55 kB / 0.7681 GB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.6557, allocations: 23.78 kB / 0.7682 GB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.6563, allocations: 218.1 kB / 0.7684 GB, free: 11.67 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.6567, allocations: 0.7082 MB / 0.7691 GB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.126e-05/0.6568, allocations: 15.94 kB / 0.7691 GB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.863e-05/0.6568, allocations: 14.69 kB / 0.7691 GB, free: 10.91 MB / 362.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6568, allocations: 0 / 0.7691 GB, free: 10.91 MB / 362.7 MB Notification: Performance of Templates: time 0.006243/0.6631, allocations: 1.506 MB / 0.7706 GB, free: 9.434 MB / 362.7 MB