Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004328/0.004329, allocations: 363.3 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.105/4.105, allocations: 388.9 MB / 405.6 MB, free: 9.594 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.003587/0.003586, allocations: 225.4 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.5328/0.5328, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006725/0.0006729, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1175, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5492/0.6668, allocations: 82.35 MB / 0.7605 GB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003899/0.6673, allocations: 82.62 kB / 0.7606 GB, free: 2.898 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.03848/0.7058, allocations: 5.156 MB / 0.7656 GB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.7058, allocations: 0 / 0.7656 GB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.649e-05/0.7059, allocations: 4 kB / 0.7656 GB, free: 14.79 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.0009253/0.7068, allocations: 471.4 kB / 0.7661 GB, free: 14.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.7069, allocations: 12.83 kB / 0.7661 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.993e-05/0.707, allocations: 7.906 kB / 0.7661 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.7075, allocations: 197.6 kB / 0.7663 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.7075, allocations: 4 kB / 0.7663 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.7076, allocations: 11.06 kB / 0.7663 GB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.7079, allocations: 71.11 kB / 0.7664 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.7079, allocations: 0 / 0.7664 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.708, allocations: 6.828 kB / 0.7664 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.708, allocations: 4 kB / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.7082, allocations: 19.23 kB / 0.7664 GB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/0.7089, allocations: 299.3 kB / 0.7667 GB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.7092, allocations: 73.78 kB / 0.7668 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.7094, allocations: 20.42 kB / 0.7668 GB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.7094, allocations: 0 / 0.7668 GB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.7097, allocations: 78.95 kB / 0.7669 GB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.414e-06/0.7097, allocations: 0 / 0.7669 GB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001118/0.7109, allocations: 178.4 kB / 0.767 GB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.775e-05/0.711, allocations: 77.11 kB / 0.7671 GB, free: 13.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.7113, allocations: 154.4 kB / 0.7672 GB, free: 13.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.111e-05/0.7113, allocations: 29.7 kB / 0.7673 GB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.7114, allocations: 90.7 kB / 0.7674 GB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.471e-05/0.7115, allocations: 27.58 kB / 0.7674 GB, free: 12.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.7115, allocations: 0 / 0.7674 GB, free: 12.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.7118, allocations: 322.7 kB / 0.7677 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.7119, allocations: 38.97 kB / 0.7677 GB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.7122, allocations: 51.56 kB / 0.7678 GB, free: 12.51 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.7124, allocations: 67.88 kB / 0.7678 GB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7124, allocations: 3.953 kB / 0.7679 GB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005895/0.713, allocations: 161 kB / 0.768 GB, free: 12.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.7131, allocations: 40.16 kB / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7131, allocations: 0 / 0.768 GB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.7132, allocations: 8.062 kB / 0.7681 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000186/0.7134, allocations: 12 kB / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.7134, allocations: 0 / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.7136, allocations: 4 kB / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.7136, allocations: 14.67 kB / 0.7681 GB, free: 12.23 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.0001911/0.7138, allocations: 125.3 kB / 0.7682 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.7139, allocations: 11.86 kB / 0.7682 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.7144, allocations: 121.6 kB / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.7145, allocations: 4 kB / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7145, allocations: 0 / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.7145, allocations: 0 / 0.7683 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.7155, allocations: 417.7 kB / 0.7687 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.7155, allocations: 0 / 0.7687 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.7156, allocations: 8 kB / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.7156, allocations: 0 / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.7157, allocations: 8.359 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.7157, allocations: 4.031 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.7157, allocations: 0 / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005114/0.7162, allocations: 217.4 kB / 0.769 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.7164, allocations: 96.31 kB / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/0.7164, allocations: 3.312 kB / 0.7691 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.7166, allocations: 7.984 kB / 0.7691 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.7167, allocations: 8 kB / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.7168, allocations: 7.188 kB / 0.7691 GB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.717, allocations: 109.8 kB / 0.7692 GB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.717, allocations: 0 / 0.7692 GB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007117/0.7177, allocations: 51.3 kB / 0.7692 GB, free: 11.07 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.002355/0.7201, allocations: 0.5187 MB / 0.7697 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006355/0.7208, allocations: 155.3 kB / 0.7699 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7208, allocations: 0 / 0.7699 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.721, allocations: 38.05 kB / 0.7699 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.7217, allocations: 27.2 kB / 0.7699 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008275/0.7225, allocations: 218.4 kB / 0.7702 GB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.723, allocations: 0.6965 MB / 0.7708 GB, free: 9.598 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001433/0.7232, allocations: 8.438 kB / 0.7708 GB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.7233, allocations: 22.86 kB / 0.7709 GB, free: 9.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/0.7233, allocations: 0 / 0.7709 GB, free: 9.57 MB / 362.7 MB Notification: Performance of Templates: time 0.009727/0.733, allocations: 1.968 MB / 0.7728 GB, free: 7.625 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.timeScale,t_new.verboseRead,t_new.y[1],time