Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,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.Test51") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004284/0.004283, allocations: 363.1 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.427/4.427, 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.003591/0.003591, allocations: 230.9 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.593/0.593, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004768, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5747/0.6874, allocations: 82.13 MB / 0.7603 GB, free: 3.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6877, allocations: 84.81 kB / 0.7604 GB, free: 3.094 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.02848/0.7162, allocations: 4.75 MB / 0.765 GB, free: 15.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.606e-06/0.7163, allocations: 4 kB / 0.765 GB, free: 15.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.7163, allocations: 0 / 0.765 GB, free: 15.06 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.001055/0.7174, allocations: 0.4887 MB / 0.7655 GB, free: 14.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.7175, allocations: 8.828 kB / 0.7655 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.871e-05/0.7176, allocations: 15.81 kB / 0.7655 GB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.7182, allocations: 210.4 kB / 0.7657 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.7182, allocations: 4 kB / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.7183, allocations: 4 kB / 0.7657 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002755/0.7186, allocations: 57.55 kB / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7186, allocations: 0 / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.7187, allocations: 3.953 kB / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.485e-06/0.7187, allocations: 3.938 kB / 0.7658 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.719, allocations: 27.72 kB / 0.7658 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.7198, allocations: 319 kB / 0.7661 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.7202, allocations: 62.17 kB / 0.7662 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.7204, allocations: 25.84 kB / 0.7662 GB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.7205, allocations: 3.938 kB / 0.7662 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.7208, allocations: 76 kB / 0.7663 GB, free: 13.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 4.288e-06/0.7208, allocations: 0 / 0.7663 GB, free: 13.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001351/0.7222, allocations: 186.2 kB / 0.7665 GB, free: 13.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.7223, allocations: 55.34 kB / 0.7665 GB, free: 13.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005604/0.7229, allocations: 221 kB / 0.7667 GB, free: 13.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.723, allocations: 32.52 kB / 0.7668 GB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.7231, allocations: 109.9 kB / 0.7669 GB, free: 13.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.7232, allocations: 26.89 kB / 0.7669 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.7233, allocations: 4 kB / 0.7669 GB, free: 13.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.7235, allocations: 325.5 kB / 0.7672 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.7237, allocations: 35.61 kB / 0.7672 GB, free: 12.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002599/0.724, allocations: 54.38 kB / 0.7673 GB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.7243, allocations: 73.69 kB / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7244, allocations: 0 / 0.7674 GB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007976/0.7252, allocations: 186.2 kB / 0.7675 GB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.7253, allocations: 36.45 kB / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.7253, allocations: 0 / 0.7676 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.7254, allocations: 4 kB / 0.7676 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.7256, allocations: 19.92 kB / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.7257, allocations: 0 / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.7259, allocations: 7.438 kB / 0.7676 GB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.7259, allocations: 8 kB / 0.7676 GB, free: 12.42 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.0002553/0.7262, allocations: 131.2 kB / 0.7677 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.7263, allocations: 15.77 kB / 0.7678 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.727, allocations: 129.3 kB / 0.7679 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.727, allocations: 0 / 0.7679 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.727, allocations: 4 kB / 0.7679 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.7271, allocations: 3.984 kB / 0.7679 GB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.7283, allocations: 420.4 kB / 0.7683 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.7283, allocations: 4.406 kB / 0.7683 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/0.7285, allocations: 8 kB / 0.7683 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/0.7285, allocations: 0 / 0.7683 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.7286, allocations: 19.55 kB / 0.7683 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.7286, allocations: 0 / 0.7683 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.285e-06/0.7286, allocations: 3.938 kB / 0.7683 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/0.7293, allocations: 223 kB / 0.7685 GB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001799/0.7295, allocations: 100.8 kB / 0.7686 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.7295, allocations: 11.92 kB / 0.7686 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.7298, allocations: 0 / 0.7686 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.7298, allocations: 4 kB / 0.7686 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.7299, allocations: 11.42 kB / 0.7687 GB, free: 11.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003535/0.7303, allocations: 157.6 kB / 0.7688 GB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.82e-07/0.7303, allocations: 0 / 0.7688 GB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006998/0.731, allocations: 54.64 kB / 0.7689 GB, free: 11.16 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.002152/0.7332, allocations: 435.6 kB / 0.7693 GB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007408/0.734, allocations: 173.1 kB / 0.7694 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.734, allocations: 0 / 0.7694 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.7343, allocations: 33.62 kB / 0.7695 GB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.7351, allocations: 31.23 kB / 0.7695 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.7362, allocations: 280.1 kB / 0.7698 GB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005667/0.7368, allocations: 0.7234 MB / 0.7705 GB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.737, allocations: 8.438 kB / 0.7705 GB, free: 9.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.7371, allocations: 15.44 kB / 0.7705 GB, free: 9.66 MB / 362.7 MB Notification: Performance of SimCode: time 1.804e-06/0.7372, allocations: 0 / 0.7705 GB, free: 9.66 MB / 362.7 MB Notification: Performance of Templates: time 0.01097/0.7482, allocations: 1.81 MB / 0.7723 GB, free: 7.883 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[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.timeScale,t_new.verboseRead,t_new.y[1],time