Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002738/0.002738, allocations: 360 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.347/4.347, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003663/0.003663, allocations: 236.5 kB / 451 MB, free: 145 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.5576/0.5576, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005046, allocations: 16 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5079/0.6125, allocations: 82.1 MB / 0.7603 GB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.6128, allocations: 82.66 kB / 0.7604 GB, free: 3.234 MB / 346.7 MB [/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.01938/0.6322, allocations: 4.447 MB / 0.7647 GB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6323, allocations: 0 / 0.7647 GB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.6323, allocations: 4 kB / 0.7647 GB, free: 15.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006969/0.633, allocations: 464.9 kB / 0.7651 GB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6331, allocations: 20.81 kB / 0.7652 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.6331, allocations: 7.906 kB / 0.7652 GB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.6335, allocations: 202.2 kB / 0.7654 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.6335, allocations: 4 kB / 0.7654 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.6336, allocations: 15.78 kB / 0.7654 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.6338, allocations: 56.61 kB / 0.7654 GB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6338, allocations: 0 / 0.7654 GB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.6339, allocations: 7.891 kB / 0.7654 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.6339, allocations: 4 kB / 0.7654 GB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.634, allocations: 19.48 kB / 0.7655 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.6346, allocations: 312 kB / 0.7658 GB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.6349, allocations: 61.11 kB / 0.7658 GB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.635, allocations: 27.41 kB / 0.7659 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.635, allocations: 4 kB / 0.7659 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.6353, allocations: 71 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.795e-06/0.6353, allocations: 4 kB / 0.7659 GB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008599/0.6362, allocations: 173.6 kB / 0.7661 GB, free: 13.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.6362, allocations: 51.41 kB / 0.7661 GB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002569/0.6365, allocations: 174.8 kB / 0.7663 GB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.6366, allocations: 36.77 kB / 0.7663 GB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/0.6366, allocations: 94.75 kB / 0.7664 GB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.6367, allocations: 26.95 kB / 0.7665 GB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.6367, allocations: 7.375 kB / 0.7665 GB, free: 13.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6369, allocations: 322.6 kB / 0.7668 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.637, allocations: 32.8 kB / 0.7668 GB, free: 13.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.6372, allocations: 58.77 kB / 0.7669 GB, free: 13.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.6374, allocations: 80.56 kB / 0.7669 GB, free: 13.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.6374, allocations: 0 / 0.7669 GB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005129/0.6379, allocations: 175.7 kB / 0.7671 GB, free: 13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.249e-05/0.638, allocations: 37.12 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.638, allocations: 4 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.638, allocations: 3.938 kB / 0.7671 GB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.6382, allocations: 15.98 kB / 0.7672 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.6382, allocations: 4 kB / 0.7672 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.739e-05/0.6383, allocations: 4 kB / 0.7672 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.232e-05/0.6384, allocations: 8.031 kB / 0.7672 GB, free: 12.93 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 (11): * Single equations (assignments): 10 * 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.0001652/0.6386, allocations: 127.9 kB / 0.7673 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.6386, allocations: 15.77 kB / 0.7673 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.639, allocations: 123.2 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.639, allocations: 0 / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6391, allocations: 3.938 kB / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6391, allocations: 0 / 0.7674 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.6398, allocations: 413.9 kB / 0.7678 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.6398, allocations: 0 / 0.7678 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.6399, allocations: 15.92 kB / 0.7678 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.6399, allocations: 4 kB / 0.7678 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.6399, allocations: 3.75 kB / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.64, allocations: 0 / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.64, allocations: 0 / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/0.6404, allocations: 222.8 kB / 0.7681 GB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.331e-05/0.6405, allocations: 96.88 kB / 0.7682 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.6405, allocations: 11 kB / 0.7682 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.6407, allocations: 384 / 0.7682 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.6407, allocations: 7.984 kB / 0.7682 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.6408, allocations: 7.938 kB / 0.7682 GB, free: 11.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001533/0.6409, allocations: 122.4 kB / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6409, allocations: 0 / 0.7683 GB, free: 11.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003977/0.6414, allocations: 43.8 kB / 0.7683 GB, free: 11.73 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001351/0.6427, allocations: 439.6 kB / 0.7688 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.6432, allocations: 170.3 kB / 0.7689 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6433, allocations: 0.625 kB / 0.7689 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.6434, allocations: 31.56 kB / 0.769 GB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004925/0.6439, allocations: 37.84 kB / 0.769 GB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.6446, allocations: 227.6 kB / 0.7692 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.6449, allocations: 0.7056 MB / 0.7699 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.035e-05/0.645, allocations: 16.17 kB / 0.7699 GB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.6451, allocations: 15.44 kB / 0.7699 GB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6451, allocations: 0 / 0.7699 GB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.006718/0.6518, allocations: 1.723 MB / 0.7716 GB, free: 8.582 MB / 362.7 MB