Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002679/0.002684, allocations: 346.5 kB / 15.94 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.863/3.863, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003516/0.003516, allocations: 229.4 kB / 397.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6014/0.6014, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007377/0.000738, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1213, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5586, allocations: 75.87 MB / 0.6808 GB, free: 36.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.5589, allocations: 67.97 kB / 0.6809 GB, free: 36.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01544/0.5743, allocations: 4.099 MB / 0.6849 GB, free: 32.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5744, allocations: 0 / 0.6849 GB, free: 32.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.5744, allocations: 0 / 0.6849 GB, free: 32.77 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.0005147/0.5749, allocations: 436.9 kB / 0.6853 GB, free: 32.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.575, allocations: 8.031 kB / 0.6853 GB, free: 32.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.575, allocations: 7.906 kB / 0.6853 GB, free: 32.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.5753, allocations: 215.1 kB / 0.6855 GB, free: 32.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.5753, allocations: 1.5 kB / 0.6855 GB, free: 32.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.5753, allocations: 4 kB / 0.6855 GB, free: 32.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.5755, allocations: 46.48 kB / 0.6856 GB, free: 31.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5755, allocations: 0 / 0.6856 GB, free: 31.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.5755, allocations: 7 kB / 0.6856 GB, free: 31.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.5755, allocations: 0 / 0.6856 GB, free: 31.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.5756, allocations: 15.98 kB / 0.6856 GB, free: 31.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.5761, allocations: 296.7 kB / 0.6859 GB, free: 31.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.5764, allocations: 49.72 kB / 0.6859 GB, free: 31.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.573e-05/0.5765, allocations: 8.859 kB / 0.6859 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.5765, allocations: 2.812 kB / 0.686 GB, free: 31.55 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.5768, allocations: 63.48 kB / 0.686 GB, free: 31.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.883e-06/0.5768, allocations: 0 / 0.686 GB, free: 31.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007485/0.5776, allocations: 121.2 kB / 0.6861 GB, free: 31.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.5776, allocations: 54.72 kB / 0.6862 GB, free: 31.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003546/0.578, allocations: 184.3 kB / 0.6864 GB, free: 31.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5781, allocations: 33.44 kB / 0.6864 GB, free: 31.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.826e-05/0.5781, allocations: 100.1 kB / 0.6865 GB, free: 30.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.5782, allocations: 23.73 kB / 0.6865 GB, free: 30.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5782, allocations: 0 / 0.6865 GB, free: 30.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5784, allocations: 318.8 kB / 0.6868 GB, free: 30.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.5785, allocations: 27.48 kB / 0.6868 GB, free: 30.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.5786, allocations: 27.97 kB / 0.6869 GB, free: 30.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.5788, allocations: 49.7 kB / 0.6869 GB, free: 30.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5788, allocations: 0 / 0.6869 GB, free: 30.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004323/0.5793, allocations: 135.2 kB / 0.687 GB, free: 30.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.5793, allocations: 33.7 kB / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.5794, allocations: 0 / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.5794, allocations: 0 / 0.6871 GB, free: 30.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.5795, allocations: 13.39 kB / 0.6871 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5795, allocations: 0 / 0.6871 GB, free: 30.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.5797, allocations: 7.953 kB / 0.6871 GB, free: 30.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.5797, allocations: 4 kB / 0.6871 GB, free: 30.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001333/0.5798, allocations: 130.9 kB / 0.6872 GB, free: 30.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.5799, allocations: 7.906 kB / 0.6872 GB, free: 30.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.5802, allocations: 93.83 kB / 0.6873 GB, free: 30.06 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5803, allocations: 4 kB / 0.6873 GB, free: 30.06 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.5803, allocations: 0 / 0.6873 GB, free: 30.06 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5803, allocations: 4.844 kB / 0.6873 GB, free: 30.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.5809, allocations: 354.5 kB / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5809, allocations: 0 / 0.6877 GB, free: 29.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.581, allocations: 17.84 kB / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.581, allocations: 0 / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.581, allocations: 0 / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.581, allocations: 0 / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.581, allocations: 3.953 kB / 0.6877 GB, free: 29.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.5813, allocations: 175.4 kB / 0.6879 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/0.5814, allocations: 96.11 kB / 0.6879 GB, free: 29.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.5815, allocations: 4 kB / 0.6879 GB, free: 29.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.5817, allocations: 11.92 kB / 0.688 GB, free: 29.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.478e-05/0.5818, allocations: 0 / 0.688 GB, free: 29.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.5818, allocations: 7.953 kB / 0.688 GB, free: 29.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002037/0.582, allocations: 136 kB / 0.6881 GB, free: 29.19 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.582, allocations: 0 / 0.6881 GB, free: 29.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008672/0.5829, allocations: 39.94 kB / 0.6881 GB, free: 29.15 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001699/0.5846, allocations: 359.8 kB / 0.6885 GB, free: 28.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004376/0.5851, allocations: 114.6 kB / 0.6886 GB, free: 28.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.5852, allocations: 0 / 0.6886 GB, free: 28.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.5853, allocations: 23.92 kB / 0.6886 GB, free: 28.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008901/0.5862, allocations: 18.89 kB / 0.6886 GB, free: 28.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.587, allocations: 213.3 kB / 0.6888 GB, free: 28.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.5873, allocations: 0.7066 MB / 0.6895 GB, free: 27.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.872e-05/0.5874, allocations: 9.484 kB / 0.6895 GB, free: 27.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.5874, allocations: 23.38 kB / 0.6896 GB, free: 27.83 MB / 362.7 MB Notification: Performance of SimCode: time 1.683e-06/0.5874, allocations: 0 / 0.6896 GB, free: 27.83 MB / 362.7 MB Notification: Performance of Templates: time 0.009127/0.5966, allocations: 1.534 MB / 0.6911 GB, free: 26.44 MB / 362.7 MB