Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002784/0.002783, allocations: 362.5 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.556/4.556, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.003537/0.003536, allocations: 233.3 kB / 451 MB, free: 145.1 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.6502/0.6502, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006418/0.0006421, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1105, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.5849, allocations: 82.36 MB / 0.7605 GB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5853, allocations: 76.02 kB / 0.7606 GB, free: 2.918 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.0208/0.6061, allocations: 5.157 MB / 0.7656 GB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.6061, allocations: 0 / 0.7656 GB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.6061, allocations: 4 kB / 0.7656 GB, free: 14.8 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.0006926/0.6068, allocations: 473.6 kB / 0.7661 GB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.6069, allocations: 12.83 kB / 0.7661 GB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.607, allocations: 7.906 kB / 0.7661 GB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.6073, allocations: 202.6 kB / 0.7663 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.6074, allocations: 0 / 0.7663 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.6074, allocations: 4 kB / 0.7663 GB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002185/0.6076, allocations: 76.05 kB / 0.7664 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.6077, allocations: 0 / 0.7664 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.6077, allocations: 11.88 kB / 0.7664 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.6077, allocations: 11.94 kB / 0.7664 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.6078, allocations: 19.86 kB / 0.7664 GB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.6083, allocations: 295.4 kB / 0.7667 GB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.6086, allocations: 58 kB / 0.7668 GB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.6087, allocations: 24.72 kB / 0.7668 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.6087, allocations: 4 kB / 0.7668 GB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.609, allocations: 71.03 kB / 0.7668 GB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.609, allocations: 0 / 0.7668 GB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000822/0.6098, allocations: 183.6 kB / 0.767 GB, free: 13.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.6099, allocations: 77.11 kB / 0.7671 GB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.6101, allocations: 149.3 kB / 0.7672 GB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.6101, allocations: 33.52 kB / 0.7673 GB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.6102, allocations: 92.06 kB / 0.7674 GB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.6103, allocations: 27.52 kB / 0.7674 GB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.6103, allocations: 7.812 kB / 0.7674 GB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6104, allocations: 314.7 kB / 0.7677 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/0.6106, allocations: 33.36 kB / 0.7677 GB, free: 12.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.6107, allocations: 54.73 kB / 0.7678 GB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.6109, allocations: 74.3 kB / 0.7678 GB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6109, allocations: 7.938 kB / 0.7679 GB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004089/0.6113, allocations: 157.2 kB / 0.768 GB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.6114, allocations: 33.7 kB / 0.768 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6114, allocations: 0 / 0.768 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.6115, allocations: 0 / 0.768 GB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.6116, allocations: 19.98 kB / 0.7681 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.6116, allocations: 0 / 0.7681 GB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.441e-05/0.6117, allocations: 11.28 kB / 0.7681 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.6118, allocations: 7.938 kB / 0.7681 GB, free: 12.24 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.0001427/0.6119, allocations: 130.6 kB / 0.7682 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.612, allocations: 11.86 kB / 0.7682 GB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.6124, allocations: 117.7 kB / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6124, allocations: 0 / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6124, allocations: 0 / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.6124, allocations: 0 / 0.7683 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006858/0.6131, allocations: 420.8 kB / 0.7687 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6131, allocations: 192 / 0.7687 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.6132, allocations: 12 kB / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.201e-06/0.6132, allocations: 4.312 kB / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.6133, allocations: 0 / 0.7687 GB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.6133, allocations: 8 kB / 0.7687 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6133, allocations: 3.984 kB / 0.7688 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.6137, allocations: 215.5 kB / 0.769 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.486e-05/0.6138, allocations: 91.56 kB / 0.769 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.6139, allocations: 7.812 kB / 0.7691 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.614, allocations: 0 / 0.7691 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.6141, allocations: 7.984 kB / 0.7691 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.6141, allocations: 4 kB / 0.7691 GB, free: 11.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001462/0.6142, allocations: 119.2 kB / 0.7692 GB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6143, allocations: 0 / 0.7692 GB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004429/0.6147, allocations: 50.17 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.001649/0.6164, allocations: 0.5198 MB / 0.7697 GB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004543/0.6169, allocations: 150.9 kB / 0.7699 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6169, allocations: 0 / 0.7699 GB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.617, allocations: 37.73 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.0004898/0.6175, allocations: 30.25 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.0006105/0.6181, allocations: 206.4 kB / 0.7701 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.6185, allocations: 0.7043 MB / 0.7708 GB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.6187, allocations: 20.41 kB / 0.7708 GB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.099e-05/0.6187, allocations: 19.42 kB / 0.7709 GB, free: 9.562 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6187, allocations: 0 / 0.7709 GB, free: 9.562 MB / 362.7 MB Notification: Performance of Templates: time 0.007358/0.6261, allocations: 1.958 MB / 0.7728 GB, free: 7.629 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