Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002702/0.002706, 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.166/4.166, allocations: 388.9 MB / 405.6 MB, free: 47.9 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.003527/0.003527, allocations: 232.7 kB / 451 MB, free: 2.379 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.8398/0.8398, allocations: 80.01 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004914/0.0004916, allocations: 15.94 kB / 0.6265 GB, free: 4.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1613, allocations: 54.88 MB / 0.6801 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5942/0.7556, allocations: 82.15 MB / 0.7603 GB, free: 38.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.7559, allocations: 71.97 kB / 0.7604 GB, free: 38.03 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.02044/0.7764, allocations: 5.083 MB / 0.7654 GB, free: 33.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7764, allocations: 0 / 0.7654 GB, free: 33.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.7765, allocations: 4 kB / 0.7654 GB, free: 33.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006069/0.7771, allocations: 0.4915 MB / 0.7659 GB, free: 32.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.7771, allocations: 8.031 kB / 0.7659 GB, free: 32.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.7772, allocations: 11.91 kB / 0.7659 GB, free: 32.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.7776, allocations: 224.2 kB / 0.7661 GB, free: 32.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.7776, allocations: 2.188 kB / 0.7661 GB, free: 32.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/0.7777, allocations: 12 kB / 0.7661 GB, free: 32.21 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.7779, allocations: 61.66 kB / 0.7662 GB, free: 32.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.7779, allocations: 3.953 kB / 0.7662 GB, free: 32.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.7779, allocations: 1.125 kB / 0.7662 GB, free: 32.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.778, allocations: 1.656 kB / 0.7662 GB, free: 32.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.7781, allocations: 35.97 kB / 0.7662 GB, free: 32.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005081/0.7786, allocations: 349.8 kB / 0.7665 GB, free: 31.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.7789, allocations: 79.25 kB / 0.7666 GB, free: 31.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.97e-05/0.7791, allocations: 36.62 kB / 0.7666 GB, free: 31.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.7791, allocations: 0 / 0.7666 GB, free: 31.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002092/0.7793, allocations: 75.31 kB / 0.7667 GB, free: 31.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/0.7793, allocations: 0 / 0.7667 GB, free: 31.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009315/0.7803, allocations: 218 kB / 0.7669 GB, free: 31.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7803, allocations: 55.41 kB / 0.767 GB, free: 31.22 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.7807, allocations: 250.3 kB / 0.7672 GB, free: 30.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.7807, allocations: 25.7 kB / 0.7672 GB, free: 30.94 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.7808, allocations: 108.1 kB / 0.7673 GB, free: 30.83 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.7809, allocations: 33.84 kB / 0.7674 GB, free: 30.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.7809, allocations: 8 kB / 0.7674 GB, free: 30.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.783e-05/0.781, allocations: 326.8 kB / 0.7677 GB, free: 30.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.7811, allocations: 39.98 kB / 0.7677 GB, free: 30.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.7813, allocations: 73.97 kB / 0.7678 GB, free: 30.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.7815, allocations: 73.69 kB / 0.7679 GB, free: 30.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7815, allocations: 4 kB / 0.7679 GB, free: 30.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004744/0.782, allocations: 199.2 kB / 0.7681 GB, free: 30.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.782, allocations: 39.56 kB / 0.7681 GB, free: 30.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.7821, allocations: 0 / 0.7681 GB, free: 30.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.7821, allocations: 6.188 kB / 0.7681 GB, free: 30.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.7823, allocations: 15.94 kB / 0.7681 GB, free: 30 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.7823, allocations: 4 kB / 0.7681 GB, free: 30 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.7824, allocations: 15.89 kB / 0.7681 GB, free: 29.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.7824, allocations: 6.531 kB / 0.7681 GB, free: 29.98 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 (12): * Single equations (assignments): 11 * 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.0001454/0.7826, allocations: 137.2 kB / 0.7683 GB, free: 29.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.7826, allocations: 15.86 kB / 0.7683 GB, free: 29.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004223/0.7831, allocations: 155.4 kB / 0.7684 GB, free: 29.66 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7831, allocations: 0 / 0.7684 GB, free: 29.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.7831, allocations: 0 / 0.7684 GB, free: 29.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7831, allocations: 0 / 0.7684 GB, free: 29.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007064/0.7838, allocations: 468.5 kB / 0.7689 GB, free: 29.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.7839, allocations: 0 / 0.7689 GB, free: 29.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.776e-05/0.784, allocations: 13.12 kB / 0.7689 GB, free: 29.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.784, allocations: 3.281 kB / 0.7689 GB, free: 29.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.784, allocations: 7.922 kB / 0.7689 GB, free: 29.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.784, allocations: 7.406 kB / 0.7689 GB, free: 29.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.784, allocations: 0 / 0.7689 GB, free: 29.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.7844, allocations: 228.2 kB / 0.7691 GB, free: 28.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.7845, allocations: 109.7 kB / 0.7692 GB, free: 28.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.7846, allocations: 8 kB / 0.7693 GB, free: 28.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.7847, allocations: 6.344 kB / 0.7693 GB, free: 28.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.7848, allocations: 7.984 kB / 0.7693 GB, free: 28.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.7848, allocations: 11.09 kB / 0.7693 GB, free: 28.73 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002307/0.785, allocations: 180.4 kB / 0.7694 GB, free: 28.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7851, allocations: 3.938 kB / 0.7695 GB, free: 28.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004118/0.7855, allocations: 52.75 kB / 0.7695 GB, free: 28.5 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 (11): * Single equations (assignments): 9 * 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.001337/0.7868, allocations: 428.1 kB / 0.7699 GB, free: 28.33 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005377/0.7874, allocations: 185.7 kB / 0.7701 GB, free: 28.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.7874, allocations: 11 kB / 0.7701 GB, free: 28.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.7876, allocations: 43.92 kB / 0.7701 GB, free: 28.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.7882, allocations: 23.44 kB / 0.7702 GB, free: 28.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.789, allocations: 335.4 kB / 0.7705 GB, free: 27.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.7893, allocations: 0.7223 MB / 0.7712 GB, free: 26.97 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.7894, allocations: 16.56 kB / 0.7712 GB, free: 26.96 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.246e-05/0.7895, allocations: 27.41 kB / 0.7712 GB, free: 26.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.943e-06/0.7895, allocations: 0 / 0.7712 GB, free: 26.93 MB / 394.7 MB Notification: Performance of Templates: time 0.007362/0.7969, allocations: 1.974 MB / 0.7732 GB, free: 25.11 MB / 394.7 MB