Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00285/0.002857, 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.146/4.146, allocations: 388.9 MB / 405.6 MB, free: 9.648 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.00359/0.003589, allocations: 232.2 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.705/0.705, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004717, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1103, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5056/0.616, allocations: 82.09 MB / 0.7603 GB, free: 3.293 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003901/0.6165, allocations: 83.39 kB / 0.7603 GB, free: 3.246 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.02661/0.6431, allocations: 4.39 MB / 0.7646 GB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6432, allocations: 0 / 0.7646 GB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.6432, allocations: 4 kB / 0.7646 GB, free: 15.55 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.0007452/0.6439, allocations: 475.9 kB / 0.7651 GB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.644, allocations: 8.828 kB / 0.7651 GB, free: 15.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.431e-05/0.6441, allocations: 11.91 kB / 0.7651 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.6445, allocations: 194.5 kB / 0.7653 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.6445, allocations: 7.5 kB / 0.7653 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.6446, allocations: 8 kB / 0.7653 GB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.6448, allocations: 56.69 kB / 0.7654 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.6448, allocations: 4 kB / 0.7654 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.6448, allocations: 0 / 0.7654 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6449, allocations: 0 / 0.7654 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.645, allocations: 34.84 kB / 0.7654 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005975/0.6456, allocations: 305.2 kB / 0.7657 GB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.6459, allocations: 68.52 kB / 0.7658 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.76e-05/0.646, allocations: 24.34 kB / 0.7658 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.6461, allocations: 3.938 kB / 0.7658 GB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002456/0.6463, allocations: 71.17 kB / 0.7659 GB, free: 14.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.705e-06/0.6463, allocations: 0 / 0.7659 GB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009142/0.6473, allocations: 191.8 kB / 0.766 GB, free: 14.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.6473, allocations: 51.41 kB / 0.7661 GB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002379/0.6476, allocations: 162.8 kB / 0.7662 GB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.6476, allocations: 25.7 kB / 0.7663 GB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.6477, allocations: 90.77 kB / 0.7664 GB, free: 13.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.6478, allocations: 27.02 kB / 0.7664 GB, free: 13.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.6478, allocations: 7.312 kB / 0.7664 GB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.648, allocations: 326.1 kB / 0.7667 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.6481, allocations: 33.61 kB / 0.7667 GB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.6483, allocations: 60.22 kB / 0.7668 GB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001856/0.6485, allocations: 73.27 kB / 0.7669 GB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.6486, allocations: 3.953 kB / 0.7669 GB, free: 13.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005299/0.6491, allocations: 185.8 kB / 0.767 GB, free: 13.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.86e-05/0.6492, allocations: 33.69 kB / 0.7671 GB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.6492, allocations: 8.031 kB / 0.7671 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6492, allocations: 0 / 0.7671 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.6494, allocations: 15.94 kB / 0.7671 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6494, allocations: 80 / 0.7671 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.6495, allocations: 15.61 kB / 0.7671 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.6496, allocations: 7.984 kB / 0.7671 GB, free: 12.99 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.0001674/0.6498, allocations: 120.9 kB / 0.7672 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.6498, allocations: 11.86 kB / 0.7672 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.6502, allocations: 121.5 kB / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6503, allocations: 0 / 0.7674 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.6503, allocations: 4 kB / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.6503, allocations: 3.984 kB / 0.7674 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007532/0.6511, allocations: 403.7 kB / 0.7677 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6511, allocations: 0 / 0.7677 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.846e-05/0.6512, allocations: 11.31 kB / 0.7678 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6512, allocations: 0 / 0.7678 GB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.6512, allocations: 8.219 kB / 0.7678 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.6513, allocations: 0 / 0.7678 GB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.6513, allocations: 11.86 kB / 0.7678 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.6517, allocations: 205.2 kB / 0.768 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.6518, allocations: 100.8 kB / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.6519, allocations: 0 / 0.7681 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.652, allocations: 16.19 kB / 0.7681 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.874e-05/0.6521, allocations: 7.984 kB / 0.7681 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.6521, allocations: 4 kB / 0.7681 GB, free: 11.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.6522, allocations: 115.1 kB / 0.7682 GB, free: 11.87 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6523, allocations: 0 / 0.7682 GB, free: 11.87 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004258/0.6527, allocations: 43.42 kB / 0.7682 GB, free: 11.83 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.00142/0.6541, allocations: 439.4 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000531/0.6547, allocations: 171.2 kB / 0.7688 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6547, allocations: 0 / 0.7688 GB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.6549, allocations: 33.69 kB / 0.7689 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.6554, allocations: 27.23 kB / 0.7689 GB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007089/0.6561, allocations: 219 kB / 0.7691 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/0.6565, allocations: 0.7017 MB / 0.7698 GB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.6566, allocations: 16.58 kB / 0.7698 GB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.359e-05/0.6567, allocations: 18.73 kB / 0.7698 GB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6567, allocations: 4 kB / 0.7698 GB, free: 10.37 MB / 362.7 MB Notification: Performance of Templates: time 0.006919/0.6637, allocations: 1.679 MB / 0.7715 GB, free: 8.711 MB / 362.7 MB