Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004755/0.004762, allocations: 361.2 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.421/4.421, allocations: 388.9 MB / 405.6 MB, free: 10.31 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.00577/0.00577, allocations: 231.8 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.639/0.639, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004805/0.0004807, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1128, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.543/0.6559, allocations: 81.94 MB / 0.7601 GB, free: 3.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/0.6563, allocations: 71.78 kB / 0.7602 GB, free: 3.27 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.02429/0.6806, allocations: 4.465 MB / 0.7645 GB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6806, allocations: 0 / 0.7645 GB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.469e-05/0.6807, allocations: 0 / 0.7645 GB, free: 15.48 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.0007346/0.6814, allocations: 488 kB / 0.765 GB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.6815, allocations: 8.828 kB / 0.765 GB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.6816, allocations: 11.91 kB / 0.765 GB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.682, allocations: 206.2 kB / 0.7652 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/0.682, allocations: 6.75 kB / 0.7652 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.682, allocations: 4 kB / 0.7652 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.6822, allocations: 53.53 kB / 0.7653 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6823, allocations: 0 / 0.7653 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6823, allocations: 3.953 kB / 0.7653 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.6823, allocations: 0 / 0.7653 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.6824, allocations: 26.92 kB / 0.7653 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.6827, allocations: 200.3 kB / 0.7655 GB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.683, allocations: 63.05 kB / 0.7656 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.6831, allocations: 15.98 kB / 0.7656 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.6831, allocations: 0 / 0.7656 GB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002609/0.6834, allocations: 72.31 kB / 0.7657 GB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 5.179e-06/0.6834, allocations: 0 / 0.7657 GB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004542/0.6839, allocations: 108.5 kB / 0.7658 GB, free: 14.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.684, allocations: 58.97 kB / 0.7658 GB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003445/0.6843, allocations: 203 kB / 0.766 GB, free: 13.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.6844, allocations: 25.7 kB / 0.766 GB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.6845, allocations: 108.6 kB / 0.7661 GB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.6845, allocations: 7.406 kB / 0.7661 GB, free: 13.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.6845, allocations: 7.938 kB / 0.7661 GB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6847, allocations: 325.1 kB / 0.7665 GB, free: 13.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.6849, allocations: 34.11 kB / 0.7665 GB, free: 13.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.685, allocations: 47.38 kB / 0.7665 GB, free: 13.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.6852, allocations: 65.08 kB / 0.7666 GB, free: 13.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6852, allocations: 0 / 0.7666 GB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004326/0.6856, allocations: 164 kB / 0.7668 GB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/0.6857, allocations: 34.7 kB / 0.7668 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.6857, allocations: 0 / 0.7668 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.6858, allocations: 0 / 0.7668 GB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.6859, allocations: 16.02 kB / 0.7668 GB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.6859, allocations: 7.953 kB / 0.7668 GB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.686, allocations: 10.75 kB / 0.7668 GB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.6861, allocations: 4 kB / 0.7668 GB, free: 13.09 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.0001561/0.6862, allocations: 127.6 kB / 0.7669 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.6863, allocations: 11.81 kB / 0.767 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003586/0.6867, allocations: 106.2 kB / 0.7671 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.6867, allocations: 4 kB / 0.7671 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6867, allocations: 4 kB / 0.7671 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.6867, allocations: 3.953 kB / 0.7671 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.6869, allocations: 186.2 kB / 0.7672 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.687, allocations: 0 / 0.7672 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.687, allocations: 8 kB / 0.7673 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.687, allocations: 0 / 0.7673 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.6871, allocations: 0 / 0.7673 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.6871, allocations: 0 / 0.7673 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.6871, allocations: 0 / 0.7673 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.6875, allocations: 137.4 kB / 0.7674 GB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001796/0.6877, allocations: 100.1 kB / 0.7675 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.782e-05/0.6878, allocations: 3.375 kB / 0.7675 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.6879, allocations: 4 kB / 0.7675 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.688, allocations: 0 / 0.7675 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.6881, allocations: 7.984 kB / 0.7675 GB, free: 12.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003663/0.6884, allocations: 152.4 kB / 0.7676 GB, free: 12.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.6885, allocations: 0 / 0.7676 GB, free: 12.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007456/0.6892, allocations: 39.62 kB / 0.7677 GB, free: 12.2 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.002146/0.6914, allocations: 392.4 kB / 0.7681 GB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000853/0.6923, allocations: 155.4 kB / 0.7682 GB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.6924, allocations: 0 / 0.7682 GB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.6926, allocations: 23.69 kB / 0.7682 GB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006872/0.6933, allocations: 31.31 kB / 0.7683 GB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009617/0.6943, allocations: 238.9 kB / 0.7685 GB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.695, allocations: 0.7082 MB / 0.7692 GB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.6952, allocations: 15.94 kB / 0.7692 GB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6953, allocations: 11.44 kB / 0.7692 GB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.374e-06/0.6953, allocations: 7.875 kB / 0.7692 GB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.009923/0.7053, allocations: 1.547 MB / 0.7707 GB, free: 9.246 MB / 362.7 MB