Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002715/0.00272, allocations: 360.2 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 4.253/4.253, allocations: 388.9 MB / 405.6 MB, free: 47.88 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.006535/0.006535, allocations: 228.8 kB / 451 MB, free: 2.355 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.9433/0.9433, allocations: 80.01 MB / 0.5627 GB, free: 6 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007483/0.0007486, allocations: 16 kB / 0.6265 GB, free: 4.555 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1445, allocations: 54.88 MB / 0.6801 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.6104, allocations: 82.91 MB / 0.7611 GB, free: 37.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.6107, allocations: 76.42 kB / 0.7611 GB, free: 37.29 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.01489/0.6257, allocations: 3.624 MB / 0.7647 GB, free: 33.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6257, allocations: 0 / 0.7647 GB, free: 33.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.6258, allocations: 7.438 kB / 0.7647 GB, free: 33.73 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007305/0.6265, allocations: 0.5146 MB / 0.7652 GB, free: 33.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6266, allocations: 12.03 kB / 0.7652 GB, free: 33.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.6266, allocations: 15.81 kB / 0.7652 GB, free: 33.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.627, allocations: 203.6 kB / 0.7654 GB, free: 32.88 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.627, allocations: 12.89 kB / 0.7654 GB, free: 32.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.6271, allocations: 8.703 kB / 0.7654 GB, free: 32.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002738/0.6274, allocations: 89.58 kB / 0.7655 GB, free: 32.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.6274, allocations: 0 / 0.7655 GB, free: 32.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.6274, allocations: 0 / 0.7655 GB, free: 32.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6274, allocations: 3.953 kB / 0.7655 GB, free: 32.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.6277, allocations: 56.56 kB / 0.7656 GB, free: 32.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.6284, allocations: 372 kB / 0.7659 GB, free: 32.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004566/0.6289, allocations: 101.2 kB / 0.766 GB, free: 32.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.6291, allocations: 44.58 kB / 0.7661 GB, free: 32.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.6291, allocations: 4 kB / 0.7661 GB, free: 32.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002821/0.6294, allocations: 88.69 kB / 0.7662 GB, free: 32.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 3.156e-06/0.6294, allocations: 3.938 kB / 0.7662 GB, free: 32.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006212/0.6301, allocations: 148.9 kB / 0.7663 GB, free: 31.91 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.6301, allocations: 59.34 kB / 0.7664 GB, free: 31.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.6303, allocations: 171.3 kB / 0.7665 GB, free: 31.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.6304, allocations: 29.7 kB / 0.7666 GB, free: 31.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.6304, allocations: 108 kB / 0.7667 GB, free: 31.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.6305, allocations: 27.69 kB / 0.7667 GB, free: 31.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.6305, allocations: 4 kB / 0.7667 GB, free: 31.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.6306, allocations: 330.1 kB / 0.767 GB, free: 31.15 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.6308, allocations: 45.28 kB / 0.767 GB, free: 31.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001865/0.631, allocations: 69.8 kB / 0.7671 GB, free: 31.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.6312, allocations: 92.16 kB / 0.7672 GB, free: 30.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6312, allocations: 0 / 0.7672 GB, free: 30.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005175/0.6318, allocations: 207 kB / 0.7674 GB, free: 30.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.977e-05/0.6318, allocations: 33.7 kB / 0.7674 GB, free: 30.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.6318, allocations: 1.062 kB / 0.7674 GB, free: 30.69 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.6319, allocations: 0 / 0.7674 GB, free: 30.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.632, allocations: 31.86 kB / 0.7675 GB, free: 30.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.6321, allocations: 2.438 kB / 0.7675 GB, free: 30.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.6322, allocations: 23.83 kB / 0.7675 GB, free: 30.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.6323, allocations: 8 kB / 0.7675 GB, free: 30.63 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.000129/0.6324, allocations: 121.8 kB / 0.7676 GB, free: 30.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.6324, allocations: 18.11 kB / 0.7676 GB, free: 30.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.6329, allocations: 139 kB / 0.7678 GB, free: 30.35 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.6329, allocations: 0 / 0.7678 GB, free: 30.35 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6329, allocations: 0 / 0.7678 GB, free: 30.35 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6329, allocations: 1.219 kB / 0.7678 GB, free: 30.35 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.6331, allocations: 213.5 kB / 0.768 GB, free: 30.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6332, allocations: 0 / 0.768 GB, free: 30.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.6333, allocations: 17.16 kB / 0.768 GB, free: 30.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.6333, allocations: 3.953 kB / 0.768 GB, free: 30.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.6334, allocations: 11.98 kB / 0.768 GB, free: 30.06 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6334, allocations: 3.562 kB / 0.768 GB, free: 30.06 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6334, allocations: 0 / 0.768 GB, free: 30.06 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005635/0.634, allocations: 188.9 kB / 0.7682 GB, free: 29.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.798e-05/0.6341, allocations: 106.2 kB / 0.7683 GB, free: 29.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.6341, allocations: 3.953 kB / 0.7683 GB, free: 29.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.6342, allocations: 5 kB / 0.7683 GB, free: 29.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.6343, allocations: 11.98 kB / 0.7683 GB, free: 29.72 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.6343, allocations: 4 kB / 0.7683 GB, free: 29.71 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.6345, allocations: 131.1 kB / 0.7684 GB, free: 29.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6345, allocations: 0 / 0.7684 GB, free: 29.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.6348, allocations: 39.94 kB / 0.7685 GB, free: 29.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001198/0.6361, allocations: 389.6 kB / 0.7688 GB, free: 29.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006013/0.6367, allocations: 190 kB / 0.769 GB, free: 29.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6367, allocations: 0 / 0.769 GB, free: 29.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.6369, allocations: 47.36 kB / 0.7691 GB, free: 29.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.6373, allocations: 31.3 kB / 0.7691 GB, free: 29.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/0.6381, allocations: 290.9 kB / 0.7694 GB, free: 28.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001815/0.6383, allocations: 0.7193 MB / 0.7701 GB, free: 28.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.6384, allocations: 20.03 kB / 0.7701 GB, free: 28.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.6385, allocations: 15.44 kB / 0.7701 GB, free: 28.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6385, allocations: 0 / 0.7701 GB, free: 28.05 MB / 394.7 MB Notification: Performance of Templates: time 0.006771/0.6453, allocations: 1.788 MB / 0.7719 GB, free: 26.4 MB / 394.7 MB