Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003077/0.003081, allocations: 363.7 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.35/4.35, allocations: 388.9 MB / 405.6 MB, free: 9.582 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.003743/0.003743, allocations: 241 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.6579/0.6579, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005279/0.0005281, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1126, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6083, allocations: 82.14 MB / 0.7603 GB, free: 3.156 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.6087, allocations: 81.83 kB / 0.7604 GB, free: 3.113 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.02019/0.6289, allocations: 4.925 MB / 0.7652 GB, free: 14.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.6289, allocations: 4 kB / 0.7652 GB, free: 14.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.6289, allocations: 0 / 0.7652 GB, free: 14.92 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.0007424/0.6297, allocations: 0.4962 MB / 0.7657 GB, free: 14.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.6298, allocations: 12.83 kB / 0.7657 GB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.342e-05/0.6298, allocations: 15.81 kB / 0.7657 GB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.6303, allocations: 217.6 kB / 0.7659 GB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.6303, allocations: 6.438 kB / 0.7659 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.6304, allocations: 4 kB / 0.7659 GB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001966/0.6306, allocations: 58.48 kB / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.6306, allocations: 0 / 0.766 GB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.6306, allocations: 3.953 kB / 0.766 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.6306, allocations: 7.984 kB / 0.766 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.6308, allocations: 35.22 kB / 0.766 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.6314, allocations: 327.7 kB / 0.7664 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.6317, allocations: 64.67 kB / 0.7664 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.755e-05/0.6318, allocations: 16.3 kB / 0.7664 GB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.6318, allocations: 7.062 kB / 0.7664 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002307/0.632, allocations: 74.55 kB / 0.7665 GB, free: 13.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.184e-06/0.6321, allocations: 0 / 0.7665 GB, free: 13.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009096/0.633, allocations: 202.8 kB / 0.7667 GB, free: 13.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.633, allocations: 51.41 kB / 0.7668 GB, free: 13.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004621/0.6335, allocations: 267 kB / 0.767 GB, free: 13.03 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.6336, allocations: 33.2 kB / 0.767 GB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.045e-05/0.6337, allocations: 110.1 kB / 0.7671 GB, free: 12.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.6337, allocations: 23.27 kB / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.6337, allocations: 3.438 kB / 0.7672 GB, free: 12.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.6339, allocations: 325.5 kB / 0.7675 GB, free: 12.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.6341, allocations: 38.73 kB / 0.7675 GB, free: 12.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001644/0.6343, allocations: 58.62 kB / 0.7676 GB, free: 12.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.6344, allocations: 69.52 kB / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6345, allocations: 0 / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005119/0.635, allocations: 191.3 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-05/0.6351, allocations: 37.69 kB / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.6351, allocations: 0 / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.6351, allocations: 0 / 0.7679 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.6353, allocations: 20.03 kB / 0.7679 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.6353, allocations: 3.938 kB / 0.7679 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.6354, allocations: 10.92 kB / 0.7679 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.6354, allocations: 4 kB / 0.7679 GB, free: 12.2 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.0002192/0.6357, allocations: 141.4 kB / 0.768 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.6357, allocations: 19.77 kB / 0.768 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004579/0.6362, allocations: 130.1 kB / 0.7682 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.6362, allocations: 4 kB / 0.7682 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6362, allocations: 0 / 0.7682 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6363, allocations: 3.984 kB / 0.7682 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000781/0.637, allocations: 443.3 kB / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6371, allocations: 0 / 0.7686 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.979e-05/0.6372, allocations: 8 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.6372, allocations: 3.984 kB / 0.7686 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.6372, allocations: 7.875 kB / 0.7686 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.6372, allocations: 4.031 kB / 0.7686 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6372, allocations: 3.938 kB / 0.7686 GB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003946/0.6376, allocations: 220.4 kB / 0.7688 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.6378, allocations: 104.3 kB / 0.7689 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.6378, allocations: 7.422 kB / 0.7689 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.638, allocations: 4 kB / 0.7689 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.638, allocations: 11.98 kB / 0.769 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.6381, allocations: 7.438 kB / 0.769 GB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002976/0.6384, allocations: 200.2 kB / 0.7692 GB, free: 10.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6384, allocations: 0 / 0.7692 GB, free: 10.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004487/0.6388, allocations: 47.88 kB / 0.7692 GB, free: 10.89 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.001385/0.6402, allocations: 435.2 kB / 0.7696 GB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005001/0.6408, allocations: 172.4 kB / 0.7698 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6408, allocations: 0 / 0.7698 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.6409, allocations: 33.86 kB / 0.7698 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.6415, allocations: 30.25 kB / 0.7698 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008892/0.6424, allocations: 338 kB / 0.7702 GB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.6428, allocations: 0.7278 MB / 0.7709 GB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.6429, allocations: 28.56 kB / 0.7709 GB, free: 9.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.643, allocations: 15.44 kB / 0.7709 GB, free: 9.309 MB / 362.7 MB Notification: Performance of SimCode: time 1.353e-06/0.643, allocations: 0 / 0.7709 GB, free: 9.309 MB / 362.7 MB Notification: Performance of Templates: time 0.007848/0.6509, allocations: 1.892 MB / 0.7728 GB, free: 7.441 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[10,1],t_new.table[10,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time