Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.nextTimeEvent|t_s.y.1.|d_t_s.y|t_min.nextTimeEvent|t_min.y.1.|d_t_min.y|t_h.nextTimeEvent|t_h.y.1.|d_t_h.y|t_d.nextTimeEvent|t_d.y.1.|d_t_d.y|t_ms.nextTimeEvent|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00401/0.004016, allocations: 368.3 kB / 15.96 MB, free: 6.199 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.05/4.05, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.007092/0.007091, allocations: 228.8 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.9802/0.9802, allocations: 80.02 MB / 0.5627 GB, free: 35.63 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007367/0.000737, allocations: 12 kB / 0.6265 GB, free: 2.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4664, allocations: 54.87 MB / 0.6801 GB, free: 41.77 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.0037/0.4702, allocations: 1.888 MB / 0.6819 GB, free: 40.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004584/0.4748, allocations: 1.637 MB / 0.6835 GB, free: 39.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.4752, allocations: 6.844 kB / 0.6836 GB, free: 39.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.476, allocations: 255.7 kB / 0.6838 GB, free: 39.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006851/0.4767, allocations: 206.1 kB / 0.684 GB, free: 39.84 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.478, allocations: 249.8 kB / 0.6842 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008831/0.4789, allocations: 449.4 kB / 0.6847 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002418/0.4792, allocations: 52.42 kB / 0.6847 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.4797, allocations: 198.9 kB / 0.6849 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.4802, allocations: 229.5 kB / 0.6851 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.751e-05/0.4803, allocations: 12.22 kB / 0.6851 GB, free: 39.41 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.481, allocations: 139.7 kB / 0.6853 GB, free: 39.37 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4813, allocations: 97.17 kB / 0.6854 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.4815, allocations: 96.84 kB / 0.6855 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.4825, allocations: 378.6 kB / 0.6858 GB, free: 39.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.4825, allocations: 3.938 kB / 0.6858 GB, free: 39.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.4826, allocations: 0.7188 kB / 0.6858 GB, free: 39.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.4826, allocations: 1.531 kB / 0.6858 GB, free: 39.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001807/0.4844, allocations: 0.9968 MB / 0.6868 GB, free: 38.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.4845, allocations: 12.75 kB / 0.6868 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.4847, allocations: 47.91 kB / 0.6868 GB, free: 38.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008564/0.4856, allocations: 364.3 kB / 0.6872 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.978e-05/0.4857, allocations: 12.78 kB / 0.6872 GB, free: 37.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.649e-05/0.4858, allocations: 18.69 kB / 0.6872 GB, free: 37.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.4865, allocations: 218.6 kB / 0.6874 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.4866, allocations: 3.25 kB / 0.6874 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.4866, allocations: 4 kB / 0.6874 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.4866, allocations: 9.703 kB / 0.6875 GB, free: 37.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.4871, allocations: 100.7 kB / 0.6875 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00608/0.4932, allocations: 0.904 MB / 0.6884 GB, free: 37.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.4947, allocations: 298.2 kB / 0.6887 GB, free: 36.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.4953, allocations: 106.1 kB / 0.6888 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.818e-05/0.4954, allocations: 14.42 kB / 0.6888 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001103/0.4965, allocations: 223.5 kB / 0.689 GB, free: 36.63 MB / 346.7 MB Notification: Performance of pre-optimization done (n=30): time 6.973e-06/0.4966, allocations: 0 / 0.689 GB, free: 36.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.004993/0.5016, allocations: 0.9826 MB / 0.69 GB, free: 36.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.5017, allocations: 158.8 kB / 0.6902 GB, free: 35.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.5031, allocations: 0.5968 MB / 0.6907 GB, free: 35.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001644/0.5033, allocations: 43.61 kB / 0.6908 GB, free: 35.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.5036, allocations: 204.6 kB / 0.691 GB, free: 35.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.5038, allocations: 129.4 kB / 0.6911 GB, free: 35.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.5039, allocations: 14.44 kB / 0.6911 GB, free: 35.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5041, allocations: 365 kB / 0.6915 GB, free: 35.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/0.5048, allocations: 150 kB / 0.6916 GB, free: 35.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.5056, allocations: 242.8 kB / 0.6918 GB, free: 34.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.5065, allocations: 322.2 kB / 0.6921 GB, free: 34.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5065, allocations: 0 / 0.6921 GB, free: 34.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002439/0.509, allocations: 0.6752 MB / 0.6928 GB, free: 34.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/0.5092, allocations: 162.5 kB / 0.693 GB, free: 34.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5092, allocations: 2.75 kB / 0.693 GB, free: 34.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.5093, allocations: 4.734 kB / 0.693 GB, free: 34.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.51, allocations: 84.27 kB / 0.693 GB, free: 34.09 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.362e-05/0.5101, allocations: 9.297 kB / 0.6931 GB, free: 34.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.5108, allocations: 34.84 kB / 0.6931 GB, free: 34.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.5109, allocations: 24.95 kB / 0.6931 GB, free: 34.07 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.t_s.nextTimeEvent,t_s.nextTimeEvent,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEventScaled,$whenCondition4,$PRE.t_min.nextTimeEvent,t_min.nextTimeEvent,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEventScaled,$whenCondition3,$PRE.t_h.nextTimeEvent,t_h.nextTimeEvent,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEventScaled,$whenCondition2,$PRE.t_d.nextTimeEvent,t_d.nextTimeEvent,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEventScaled,$whenCondition1,$PRE.t_ms.nextTimeEvent,t_ms.nextTimeEvent,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 5 * 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.0005766/0.5115, allocations: 215.6 kB / 0.6933 GB, free: 33.92 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/0.5117, allocations: 51.48 kB / 0.6934 GB, free: 33.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.512, allocations: 58.55 kB / 0.6934 GB, free: 33.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.512, allocations: 3.609 kB / 0.6934 GB, free: 33.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.512, allocations: 2.594 kB / 0.6934 GB, free: 33.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.5124, allocations: 160 kB / 0.6936 GB, free: 33.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.5126, allocations: 19.5 kB / 0.6936 GB, free: 33.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.513, allocations: 25.06 kB / 0.6936 GB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.5132, allocations: 37.28 kB / 0.6937 GB, free: 33.69 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001963/0.5152, allocations: 0.7702 MB / 0.6944 GB, free: 33.17 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001889/0.5171, allocations: 0.8691 MB / 0.6953 GB, free: 32.53 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006601/0.5178, allocations: 147.6 kB / 0.6954 GB, free: 32.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001016/0.5188, allocations: 420.6 kB / 0.6958 GB, free: 32.31 MB / 346.7 MB Notification: Performance of Backend: time 9.32e-07/0.5189, allocations: 4 kB / 0.6958 GB, free: 32.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008592/0.5275, allocations: 2.009 MB / 0.6978 GB, free: 31.11 MB / 346.7 MB Notification: Performance of SimCode: time 0.003265/0.5308, allocations: 1.276 MB / 0.699 GB, free: 30.17 MB / 346.7 MB Notification: Performance of Templates: time 0.02394/0.5548, allocations: 6.945 MB / 0.7058 GB, free: 29.47 MB / 346.7 MB "" Variables in the reference:time,t_s.nextTimeEvent,t_s.y[1],d_t_s.y,t_min.nextTimeEvent,t_min.y[1],d_t_min.y,t_h.nextTimeEvent,t_h.y[1],d_t_h.y,t_d.nextTimeEvent,t_d.y[1],d_t_d.y,t_ms.nextTimeEvent,t_ms.y[1],d_t_ms.y Variables in the result:d_t_d.u,d_t_d.y,d_t_h.u,d_t_h.y,d_t_min.u,d_t_min.y,d_t_ms.u,d_t_ms.y,d_t_s.u,d_t_s.y,t_d.columns[1],t_d.extrapolation,t_d.nextTimeEvent,t_d.nout,t_d.offset[1],t_d.p_offset[1],t_d.smoothness,t_d.startTime,t_d.t_max,t_d.t_maxScaled,t_d.t_min,t_d.t_minScaled,t_d.tableOnFile,t_d.tableOnFileRead,t_d.table[1,1],t_d.table[1,2],t_d.table[2,1],t_d.table[2,2],t_d.table[3,1],t_d.table[3,2],t_d.table[4,1],t_d.table[4,2],t_d.timeScale,t_d.verboseRead,t_d.y[1],t_h.columns[1],t_h.extrapolation,t_h.nextTimeEvent,t_h.nout,t_h.offset[1],t_h.p_offset[1],t_h.smoothness,t_h.startTime,t_h.t_max,t_h.t_maxScaled,t_h.t_min,t_h.t_minScaled,t_h.tableOnFile,t_h.tableOnFileRead,t_h.table[1,1],t_h.table[1,2],t_h.table[2,1],t_h.table[2,2],t_h.table[3,1],t_h.table[3,2],t_h.table[4,1],t_h.table[4,2],t_h.timeScale,t_h.verboseRead,t_h.y[1],t_min.columns[1],t_min.extrapolation,t_min.nextTimeEvent,t_min.nout,t_min.offset[1],t_min.p_offset[1],t_min.smoothness,t_min.startTime,t_min.t_max,t_min.t_maxScaled,t_min.t_min,t_min.t_minScaled,t_min.tableOnFile,t_min.tableOnFileRead,t_min.table[1,1],t_min.table[1,2],t_min.table[2,1],t_min.table[2,2],t_min.table[3,1],t_min.table[3,2],t_min.table[4,1],t_min.table[4,2],t_min.timeScale,t_min.verboseRead,t_min.y[1],t_ms.columns[1],t_ms.extrapolation,t_ms.nextTimeEvent,t_ms.nout,t_ms.offset[1],t_ms.p_offset[1],t_ms.smoothness,t_ms.startTime,t_ms.t_max,t_ms.t_maxScaled,t_ms.t_min,t_ms.t_minScaled,t_ms.tableOnFile,t_ms.tableOnFileRead,t_ms.table[1,1],t_ms.table[1,2],t_ms.table[2,1],t_ms.table[2,2],t_ms.table[3,1],t_ms.table[3,2],t_ms.table[4,1],t_ms.table[4,2],t_ms.timeScale,t_ms.verboseRead,t_ms.y[1],t_s.columns[1],t_s.extrapolation,t_s.nextTimeEvent,t_s.nout,t_s.offset[1],t_s.p_offset[1],t_s.smoothness,t_s.startTime,t_s.t_max,t_s.t_maxScaled,t_s.t_min,t_s.t_minScaled,t_s.tableOnFile,t_s.tableOnFileRead,t_s.table[1,1],t_s.table[1,2],t_s.table[2,1],t_s.table[2,2],t_s.table[3,1],t_s.table[3,2],t_s.table[4,1],t_s.table[4,2],t_s.timeScale,t_s.verboseRead,t_s.y[1],time