Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002741/0.002746, allocations: 361.4 kB / 15.95 MB, free: 6.207 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 3.988/3.988, allocations: 388.9 MB / 405.6 MB, free: 48.64 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003638/0.003638, allocations: 228.7 kB / 451 MB, free: 3.113 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7988/0.7988, allocations: 80.02 MB / 0.5627 GB, free: 6.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005088, allocations: 16 kB / 0.6265 GB, free: 4.832 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1309, allocations: 54.88 MB / 0.6801 GB, free: 13.81 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.6166, allocations: 82.11 MB / 0.7603 GB, free: 38.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003923/0.617, allocations: 82.91 kB / 0.7604 GB, free: 38.27 MB / 394.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.02847/0.6455, allocations: 4.488 MB / 0.7648 GB, free: 33.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6456, allocations: 0 / 0.7648 GB, free: 33.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.6456, allocations: 4 kB / 0.7648 GB, free: 33.86 MB / 394.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.0005574/0.6462, allocations: 464.3 kB / 0.7652 GB, free: 33.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.6462, allocations: 8.031 kB / 0.7652 GB, free: 33.34 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.6463, allocations: 11.81 kB / 0.7652 GB, free: 33.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.6466, allocations: 212.2 kB / 0.7654 GB, free: 33.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.6466, allocations: 5.484 kB / 0.7654 GB, free: 33.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.6467, allocations: 5.219 kB / 0.7654 GB, free: 33.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.6469, allocations: 57.67 kB / 0.7655 GB, free: 33.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.6469, allocations: 1.438 kB / 0.7655 GB, free: 33.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.6469, allocations: 3.953 kB / 0.7655 GB, free: 33.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.6469, allocations: 0 / 0.7655 GB, free: 33.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.6471, allocations: 23.97 kB / 0.7655 GB, free: 32.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004183/0.6475, allocations: 308.3 kB / 0.7658 GB, free: 32.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.6478, allocations: 67.5 kB / 0.7659 GB, free: 32.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.724e-05/0.6479, allocations: 20.86 kB / 0.7659 GB, free: 32.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.6479, allocations: 3.984 kB / 0.7659 GB, free: 32.54 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.6481, allocations: 77.06 kB / 0.766 GB, free: 32.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.6481, allocations: 0 / 0.766 GB, free: 32.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007715/0.6489, allocations: 184.5 kB / 0.7661 GB, free: 32.27 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.6489, allocations: 55.41 kB / 0.7662 GB, free: 32.21 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002037/0.6492, allocations: 175.2 kB / 0.7664 GB, free: 32.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.6492, allocations: 33.7 kB / 0.7664 GB, free: 31.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.162e-05/0.6493, allocations: 106.7 kB / 0.7665 GB, free: 31.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.6493, allocations: 24.66 kB / 0.7665 GB, free: 31.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.6493, allocations: 4 kB / 0.7665 GB, free: 31.85 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.6494, allocations: 326.6 kB / 0.7668 GB, free: 31.53 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.6495, allocations: 39.92 kB / 0.7669 GB, free: 31.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.6497, allocations: 58.39 kB / 0.7669 GB, free: 31.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.6499, allocations: 73.69 kB / 0.767 GB, free: 31.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6499, allocations: 0 / 0.767 GB, free: 31.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004115/0.6503, allocations: 187.2 kB / 0.7672 GB, free: 31.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.979e-05/0.6504, allocations: 40.33 kB / 0.7672 GB, free: 31.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.6504, allocations: 0 / 0.7672 GB, free: 31.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.6504, allocations: 0 / 0.7672 GB, free: 31.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.6506, allocations: 18.39 kB / 0.7672 GB, free: 31.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6506, allocations: 4 kB / 0.7672 GB, free: 31.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.671e-05/0.6507, allocations: 4 kB / 0.7672 GB, free: 31.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.6508, allocations: 8 kB / 0.7673 GB, free: 31.08 MB / 394.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.000119/0.6509, allocations: 130.3 kB / 0.7674 GB, free: 30.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.986e-05/0.6509, allocations: 15.8 kB / 0.7674 GB, free: 30.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.6513, allocations: 122.1 kB / 0.7675 GB, free: 30.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6513, allocations: 4 kB / 0.7675 GB, free: 30.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6513, allocations: 1.625 kB / 0.7675 GB, free: 30.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6514, allocations: 3.938 kB / 0.7675 GB, free: 30.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.652, allocations: 407.2 kB / 0.7679 GB, free: 30.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.652, allocations: 3.625 kB / 0.7679 GB, free: 30.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.152e-05/0.6521, allocations: 15.88 kB / 0.7679 GB, free: 30.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.6521, allocations: 4 kB / 0.7679 GB, free: 30.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.6521, allocations: 7.984 kB / 0.7679 GB, free: 30.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6521, allocations: 7.375 kB / 0.7679 GB, free: 30.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6521, allocations: 4 kB / 0.7679 GB, free: 30.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.6524, allocations: 208.2 kB / 0.7681 GB, free: 30.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.182e-05/0.6525, allocations: 100.9 kB / 0.7682 GB, free: 29.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.346e-05/0.6526, allocations: 0 / 0.7682 GB, free: 29.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.6527, allocations: 16.73 kB / 0.7683 GB, free: 29.96 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.6528, allocations: 4 kB / 0.7683 GB, free: 29.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.6528, allocations: 0 / 0.7683 GB, free: 29.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001397/0.6529, allocations: 137.2 kB / 0.7684 GB, free: 29.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.653, allocations: 0 / 0.7684 GB, free: 29.82 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.6533, allocations: 43.92 kB / 0.7684 GB, free: 29.78 MB / 394.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.001299/0.6547, allocations: 442 kB / 0.7689 GB, free: 29.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004094/0.6551, allocations: 163.3 kB / 0.769 GB, free: 29.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6551, allocations: 0 / 0.769 GB, free: 29.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.6552, allocations: 35.92 kB / 0.769 GB, free: 29.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.6557, allocations: 25.36 kB / 0.7691 GB, free: 29.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.6563, allocations: 245.5 kB / 0.7693 GB, free: 29.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.6565, allocations: 0.7161 MB / 0.77 GB, free: 28.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.954e-05/0.6566, allocations: 11.56 kB / 0.77 GB, free: 28.37 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.6566, allocations: 19.42 kB / 0.77 GB, free: 28.35 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6567, allocations: 6.719 kB / 0.77 GB, free: 28.34 MB / 394.7 MB Notification: Performance of Templates: time 0.006005/0.6627, allocations: 1.728 MB / 0.7717 GB, free: 26.74 MB / 394.7 MB