Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002778/0.002782, allocations: 359.6 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.205/4.205, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003585/0.003585, allocations: 234.2 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.5411/0.5411, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006388, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1076, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5048/0.6125, allocations: 82.9 MB / 0.761 GB, free: 2.414 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.6128, allocations: 80.02 kB / 0.7611 GB, free: 2.371 MB / 346.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.6277, allocations: 3.6 MB / 0.7646 GB, free: 15.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6278, allocations: 0 / 0.7646 GB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.6278, allocations: 4 kB / 0.7646 GB, free: 15.33 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008193/0.6286, allocations: 0.515 MB / 0.7651 GB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.6287, allocations: 16.77 kB / 0.7652 GB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.6288, allocations: 19.77 kB / 0.7652 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.6292, allocations: 205.9 kB / 0.7654 GB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.6292, allocations: 11.94 kB / 0.7654 GB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.987e-05/0.6293, allocations: 8 kB / 0.7654 GB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.6296, allocations: 85.08 kB / 0.7655 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.6296, allocations: 0 / 0.7655 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.6296, allocations: 0 / 0.7655 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.6296, allocations: 3.953 kB / 0.7655 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.6299, allocations: 59.34 kB / 0.7655 GB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007199/0.6306, allocations: 367.2 kB / 0.7659 GB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004784/0.6311, allocations: 101.5 kB / 0.766 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.6313, allocations: 44.58 kB / 0.766 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.6314, allocations: 4 kB / 0.766 GB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003156/0.6317, allocations: 82.94 kB / 0.7661 GB, free: 13.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.585e-06/0.6317, allocations: 4 kB / 0.7661 GB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006428/0.6324, allocations: 152 kB / 0.7663 GB, free: 13.63 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.6324, allocations: 59.28 kB / 0.7663 GB, free: 13.56 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.6327, allocations: 168.2 kB / 0.7665 GB, free: 13.41 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.6327, allocations: 37.27 kB / 0.7665 GB, free: 13.37 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.67e-05/0.6328, allocations: 107.7 kB / 0.7666 GB, free: 13.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.6329, allocations: 27.39 kB / 0.7666 GB, free: 13.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.6329, allocations: 4 kB / 0.7666 GB, free: 13.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6331, allocations: 326.7 kB / 0.767 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.6333, allocations: 43.09 kB / 0.767 GB, free: 12.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.6335, allocations: 66.11 kB / 0.7671 GB, free: 12.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.6337, allocations: 93.44 kB / 0.7671 GB, free: 12.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.6338, allocations: 0 / 0.7671 GB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006032/0.6344, allocations: 207.2 kB / 0.7673 GB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.6344, allocations: 33.7 kB / 0.7674 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.6345, allocations: 64 / 0.7674 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.6345, allocations: 7.938 kB / 0.7674 GB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.6347, allocations: 27.92 kB / 0.7674 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.6347, allocations: 0 / 0.7674 GB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.6349, allocations: 23.52 kB / 0.7674 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.6349, allocations: 8 kB / 0.7674 GB, free: 12.48 MB / 362.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.0001577/0.6351, allocations: 124.5 kB / 0.7676 GB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.6351, allocations: 11.86 kB / 0.7676 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00052/0.6356, allocations: 148.5 kB / 0.7677 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6357, allocations: 0 / 0.7677 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6357, allocations: 0 / 0.7677 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.6357, allocations: 0 / 0.7677 GB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.636, allocations: 216.6 kB / 0.7679 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.636, allocations: 0 / 0.7679 GB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.6361, allocations: 15.94 kB / 0.7679 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6362, allocations: 3.953 kB / 0.7679 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.6362, allocations: 14.11 kB / 0.768 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6362, allocations: 0.5625 kB / 0.768 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6362, allocations: 0 / 0.768 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.6369, allocations: 195.5 kB / 0.7681 GB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.637, allocations: 104.2 kB / 0.7682 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.637, allocations: 7.938 kB / 0.7682 GB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.6372, allocations: 7.062 kB / 0.7683 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.6372, allocations: 7.984 kB / 0.7683 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.6373, allocations: 4 kB / 0.7683 GB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.6374, allocations: 130.2 kB / 0.7684 GB, free: 11.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6374, allocations: 0 / 0.7684 GB, free: 11.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000372/0.6378, allocations: 42.62 kB / 0.7684 GB, free: 11.48 MB / 362.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.001203/0.639, allocations: 387.7 kB / 0.7688 GB, free: 11.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006019/0.6397, allocations: 190.2 kB / 0.769 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.6397, allocations: 0 / 0.769 GB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.6399, allocations: 45.36 kB / 0.769 GB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.6403, allocations: 34.61 kB / 0.7691 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007643/0.6411, allocations: 295.7 kB / 0.7693 GB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.6415, allocations: 0.7199 MB / 0.77 GB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.6416, allocations: 8.562 kB / 0.7701 GB, free: 9.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.6417, allocations: 19.42 kB / 0.7701 GB, free: 9.961 MB / 362.7 MB Notification: Performance of SimCode: time 2.986e-06/0.6417, allocations: 0 / 0.7701 GB, free: 9.961 MB / 362.7 MB Notification: Performance of Templates: time 0.007112/0.6488, allocations: 1.795 MB / 0.7718 GB, free: 8.195 MB / 362.7 MB