Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002679/0.002679, allocations: 349.7 kB / 15.94 MB, free: 6.215 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.743/3.743, 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.00345/0.00345, allocations: 225.5 kB / 397.9 MB, free: 4.973 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.5261/0.5261, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006975/0.0006979, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1092, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4779/0.5872, allocations: 75.66 MB / 0.6806 GB, free: 37.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.5876, allocations: 80.47 kB / 0.6807 GB, free: 37.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.6069, allocations: 3.88 MB / 0.6845 GB, free: 33.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.607, allocations: 0 / 0.6845 GB, free: 33.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.607, allocations: 8 kB / 0.6845 GB, free: 33.21 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004969/0.6075, allocations: 425.2 kB / 0.6849 GB, free: 32.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6076, allocations: 15.97 kB / 0.6849 GB, free: 32.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.6076, allocations: 11.89 kB / 0.6849 GB, free: 32.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.6079, allocations: 194.9 kB / 0.6851 GB, free: 32.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.6079, allocations: 7.75 kB / 0.6851 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.608, allocations: 0 / 0.6851 GB, free: 32.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.6081, allocations: 37.69 kB / 0.6852 GB, free: 32.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.6081, allocations: 2.031 kB / 0.6852 GB, free: 32.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.6081, allocations: 4 kB / 0.6852 GB, free: 32.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6081, allocations: 0 / 0.6852 GB, free: 32.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/0.6082, allocations: 15.92 kB / 0.6852 GB, free: 32.42 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.6084, allocations: 195 kB / 0.6854 GB, free: 32.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.437e-05/0.6085, allocations: 32.69 kB / 0.6854 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.6085, allocations: 12.92 kB / 0.6854 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.6085, allocations: 0 / 0.6854 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.6087, allocations: 59.23 kB / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.6087, allocations: 0 / 0.6855 GB, free: 32.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002369/0.609, allocations: 69.53 kB / 0.6855 GB, free: 31.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.649e-05/0.609, allocations: 51.41 kB / 0.6856 GB, free: 31.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.6092, allocations: 196.8 kB / 0.6858 GB, free: 31.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.6093, allocations: 32.83 kB / 0.6858 GB, free: 31.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.6094, allocations: 96.14 kB / 0.6859 GB, free: 31.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.6094, allocations: 11.89 kB / 0.6859 GB, free: 31.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.6094, allocations: 0 / 0.6859 GB, free: 31.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.6095, allocations: 322.8 kB / 0.6862 GB, free: 31.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.6095, allocations: 19.98 kB / 0.6862 GB, free: 31.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.239e-05/0.6096, allocations: 20.98 kB / 0.6862 GB, free: 31.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.438e-05/0.6097, allocations: 48.48 kB / 0.6863 GB, free: 31.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6097, allocations: 0 / 0.6863 GB, free: 31.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002055/0.6099, allocations: 123.2 kB / 0.6864 GB, free: 31.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.61, allocations: 33.7 kB / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.61, allocations: 6.703 kB / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.61, allocations: 0 / 0.6864 GB, free: 31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.994e-05/0.6101, allocations: 7.984 kB / 0.6865 GB, free: 30.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6101, allocations: 8.5 kB / 0.6865 GB, free: 30.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.536e-05/0.6102, allocations: 7.062 kB / 0.6865 GB, free: 30.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.6102, allocations: 4 kB / 0.6865 GB, free: 30.97 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 (5): * Single equations (assignments): 4 * 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 9.004e-05/0.6103, allocations: 131.8 kB / 0.6866 GB, free: 30.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.6104, allocations: 7.906 kB / 0.6866 GB, free: 30.83 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.6105, allocations: 76.95 kB / 0.6867 GB, free: 30.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6106, allocations: 7.938 kB / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6106, allocations: 2.688 kB / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6106, allocations: 0 / 0.6867 GB, free: 30.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.6107, allocations: 185.6 kB / 0.6869 GB, free: 30.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6107, allocations: 0 / 0.6869 GB, free: 30.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.6108, allocations: 7.984 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.6108, allocations: 0 / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.6108, allocations: 0 / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6108, allocations: 0 / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6108, allocations: 1.844 kB / 0.6869 GB, free: 30.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.611, allocations: 88.97 kB / 0.687 GB, free: 30.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.6111, allocations: 108 kB / 0.6871 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.6111, allocations: 0 / 0.6871 GB, free: 30.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.6112, allocations: 4 kB / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.6112, allocations: 0 / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.6112, allocations: 3.984 kB / 0.6871 GB, free: 30.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001481/0.6114, allocations: 152.9 kB / 0.6872 GB, free: 30.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6114, allocations: 0 / 0.6872 GB, free: 30.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002915/0.6117, allocations: 28 kB / 0.6872 GB, free: 30.09 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 (4): * Single equations (assignments): 3 * 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.0009103/0.6126, allocations: 310.4 kB / 0.6875 GB, free: 29.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.6129, allocations: 106 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6129, allocations: 3.938 kB / 0.6876 GB, free: 29.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.213e-05/0.6129, allocations: 15.94 kB / 0.6877 GB, free: 29.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.6133, allocations: 15.98 kB / 0.6877 GB, free: 29.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004955/0.6138, allocations: 212.2 kB / 0.6879 GB, free: 29.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.614, allocations: 0.7043 MB / 0.6886 GB, free: 28.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.313e-05/0.6141, allocations: 8.188 kB / 0.6886 GB, free: 28.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.6141, allocations: 15.42 kB / 0.6886 GB, free: 28.81 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6141, allocations: 0 / 0.6886 GB, free: 28.81 MB / 362.7 MB Notification: Performance of Templates: time 0.005191/0.6193, allocations: 1.35 MB / 0.6899 GB, free: 27.6 MB / 362.7 MB