Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002798/0.002803, allocations: 362.5 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.361/4.361, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003519/0.003519, allocations: 226 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.625/0.625, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004548, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1035, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5301/0.6337, allocations: 81.98 MB / 0.7602 GB, free: 3.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/0.6341, allocations: 80.33 kB / 0.7602 GB, free: 3.254 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.01894/0.653, allocations: 4.734 MB / 0.7649 GB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6531, allocations: 0 / 0.7649 GB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.6531, allocations: 0 / 0.7649 GB, free: 15.22 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.0006976/0.6538, allocations: 495.6 kB / 0.7653 GB, free: 14.69 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.6539, allocations: 16.03 kB / 0.7653 GB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.654, allocations: 11.81 kB / 0.7654 GB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.6544, allocations: 218 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/0.6544, allocations: 4 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.6545, allocations: 4 kB / 0.7656 GB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.6547, allocations: 52.23 kB / 0.7656 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6547, allocations: 4 kB / 0.7656 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.6547, allocations: 3.953 kB / 0.7656 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.6547, allocations: 3.984 kB / 0.7656 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.696e-05/0.6548, allocations: 15.62 kB / 0.7657 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00027/0.6551, allocations: 209.9 kB / 0.7659 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.6554, allocations: 54.92 kB / 0.7659 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.435e-05/0.6555, allocations: 23.67 kB / 0.7659 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.6555, allocations: 0 / 0.7659 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.6557, allocations: 69.31 kB / 0.766 GB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.6557, allocations: 0 / 0.766 GB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004184/0.6562, allocations: 110.2 kB / 0.7661 GB, free: 13.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.6562, allocations: 51.41 kB / 0.7661 GB, free: 13.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.6566, allocations: 256.2 kB / 0.7664 GB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.6567, allocations: 29.64 kB / 0.7664 GB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.6568, allocations: 114.8 kB / 0.7665 GB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.216e-05/0.6568, allocations: 18.47 kB / 0.7665 GB, free: 13.42 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.6568, allocations: 0 / 0.7665 GB, free: 13.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.657, allocations: 324.9 kB / 0.7669 GB, free: 13.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6571, allocations: 29.92 kB / 0.7669 GB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.6573, allocations: 50.75 kB / 0.7669 GB, free: 13.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.6574, allocations: 62.83 kB / 0.767 GB, free: 12.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.6575, allocations: 0 / 0.767 GB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000414/0.6579, allocations: 164 kB / 0.7671 GB, free: 12.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.863e-05/0.6579, allocations: 33.7 kB / 0.7672 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.658, allocations: 3.984 kB / 0.7672 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.658, allocations: 4 kB / 0.7672 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.6581, allocations: 15.19 kB / 0.7672 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.6582, allocations: 3.953 kB / 0.7672 GB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.6583, allocations: 11.91 kB / 0.7672 GB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.6583, allocations: 4.391 kB / 0.7672 GB, free: 12.76 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.000158/0.6585, allocations: 141 kB / 0.7674 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.6585, allocations: 11.89 kB / 0.7674 GB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.6589, allocations: 105.4 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.6589, allocations: 0 / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.6589, allocations: 0 / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6589, allocations: 3.953 kB / 0.7675 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.6591, allocations: 212.8 kB / 0.7677 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.6592, allocations: 0 / 0.7677 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.246e-05/0.6592, allocations: 12.59 kB / 0.7677 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6592, allocations: 0 / 0.7677 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.6593, allocations: 8.5 kB / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6593, allocations: 3.984 kB / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6593, allocations: 0 / 0.7677 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.6596, allocations: 114.1 kB / 0.7678 GB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.6597, allocations: 104.5 kB / 0.7679 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.6598, allocations: 4.812 kB / 0.7679 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.6599, allocations: 8.625 kB / 0.7679 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.6599, allocations: 12.48 kB / 0.7679 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.66, allocations: 0.625 kB / 0.7679 GB, free: 12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002728/0.6602, allocations: 194.6 kB / 0.7681 GB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6602, allocations: 0 / 0.7681 GB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003376/0.6606, allocations: 35.31 kB / 0.7682 GB, free: 11.81 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.001172/0.6618, allocations: 383.9 kB / 0.7685 GB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004127/0.6622, allocations: 147.7 kB / 0.7687 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6622, allocations: 3.938 kB / 0.7687 GB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.6623, allocations: 27.17 kB / 0.7687 GB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.6627, allocations: 23.45 kB / 0.7687 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.6634, allocations: 296.8 kB / 0.769 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/0.6638, allocations: 0.716 MB / 0.7697 GB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.287e-05/0.6639, allocations: 19.44 kB / 0.7697 GB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.664, allocations: 15.44 kB / 0.7697 GB, free: 10.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/0.664, allocations: 0 / 0.7697 GB, free: 10.34 MB / 362.7 MB Notification: Performance of Templates: time 0.006745/0.6707, allocations: 1.646 MB / 0.7713 GB, free: 8.719 MB / 362.7 MB