Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002739/0.002743, allocations: 366.5 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.071/4.071, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003732/0.003732, allocations: 236.9 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.5321/0.5321, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004643/0.0004645, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1001, allocations: 54.88 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002328/0.1025, allocations: 1.421 MB / 0.6815 GB, free: 40.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002547/0.1051, allocations: 1.504 MB / 0.683 GB, free: 38.69 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.1052, allocations: 4 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.1056, allocations: 43.83 kB / 0.683 GB, free: 38.64 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1059, allocations: 51.75 kB / 0.6831 GB, free: 38.59 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1062, allocations: 99.77 kB / 0.6832 GB, free: 38.49 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1064, allocations: 163.5 kB / 0.6833 GB, free: 38.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.514e-05/0.1065, allocations: 9.562 kB / 0.6833 GB, free: 38.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1066, allocations: 63.69 kB / 0.6834 GB, free: 38.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.1069, allocations: 71.62 kB / 0.6835 GB, free: 38.19 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.1069, allocations: 8 kB / 0.6835 GB, free: 38.18 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.1072, allocations: 87.95 kB / 0.6835 GB, free: 38.1 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1073, allocations: 23.91 kB / 0.6836 GB, free: 38.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.1073, allocations: 45.64 kB / 0.6836 GB, free: 38.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.1077, allocations: 156 kB / 0.6838 GB, free: 37.87 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1077, allocations: 0 / 0.6838 GB, free: 37.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1077, allocations: 0 / 0.6838 GB, free: 37.87 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1077, allocations: 4 kB / 0.6838 GB, free: 37.87 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000644/0.1084, allocations: 0.5599 MB / 0.6843 GB, free: 37.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1084, allocations: 12.03 kB / 0.6843 GB, free: 37.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.1085, allocations: 15.81 kB / 0.6843 GB, free: 37.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1088, allocations: 227.3 kB / 0.6846 GB, free: 36.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.1089, allocations: 11.98 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.1089, allocations: 8 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1092, allocations: 97.06 kB / 0.6847 GB, free: 36.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1092, allocations: 11.88 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1092, allocations: 4 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1092, allocations: 3.953 kB / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.1094, allocations: 31.97 kB / 0.6847 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.1097, allocations: 226.4 kB / 0.6849 GB, free: 36.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.11, allocations: 113.2 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.1102, allocations: 37.7 kB / 0.6851 GB, free: 36.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1102, allocations: 0 / 0.6851 GB, free: 36.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.1106, allocations: 117 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/0.1106, allocations: 0 / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006816/0.1113, allocations: 177.8 kB / 0.6854 GB, free: 36 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1113, allocations: 136.5 kB / 0.6855 GB, free: 35.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1116, allocations: 196.6 kB / 0.6857 GB, free: 35.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.1116, allocations: 33.7 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.1117, allocations: 108.3 kB / 0.6858 GB, free: 35.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.1118, allocations: 23.72 kB / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.1118, allocations: 4 kB / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.1119, allocations: 326.8 kB / 0.6861 GB, free: 35.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.1121, allocations: 43.98 kB / 0.6862 GB, free: 35.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.1123, allocations: 103.9 kB / 0.6863 GB, free: 34.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002232/0.1125, allocations: 123.4 kB / 0.6864 GB, free: 34.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1125, allocations: 4 kB / 0.6864 GB, free: 34.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005594/0.1131, allocations: 248.7 kB / 0.6866 GB, free: 34.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.459e-05/0.1132, allocations: 71.33 kB / 0.6867 GB, free: 34.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1132, allocations: 0 / 0.6867 GB, free: 34.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1132, allocations: 4 kB / 0.6867 GB, free: 34.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.1134, allocations: 19.98 kB / 0.6867 GB, free: 34.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.1134, allocations: 8.062 kB / 0.6867 GB, free: 34.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.1136, allocations: 19.8 kB / 0.6868 GB, free: 34.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.1136, allocations: 12 kB / 0.6868 GB, free: 34.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.000132/0.1138, allocations: 135.9 kB / 0.6869 GB, free: 34.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.1138, allocations: 15.81 kB / 0.6869 GB, free: 34.28 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.1139, allocations: 13 kB / 0.6869 GB, free: 34.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1139, allocations: 7.984 kB / 0.6869 GB, free: 34.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1139, allocations: 0 / 0.6869 GB, free: 34.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.114, allocations: 104.9 kB / 0.687 GB, free: 34.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.1141, allocations: 15.88 kB / 0.6871 GB, free: 34.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1142, allocations: 4 kB / 0.6871 GB, free: 34.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.1142, allocations: 7.984 kB / 0.6871 GB, free: 34.11 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000446/0.1147, allocations: 300.1 kB / 0.6874 GB, free: 33.81 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004308/0.1151, allocations: 393.8 kB / 0.6877 GB, free: 33.41 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001408/0.1153, allocations: 35.97 kB / 0.6878 GB, free: 33.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.1155, allocations: 146 kB / 0.6879 GB, free: 33.23 MB / 346.7 MB Notification: Performance of Backend: time 7.92e-07/0.1155, allocations: 0 / 0.6879 GB, free: 33.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003603/0.1191, allocations: 0.9938 MB / 0.6889 GB, free: 32.44 MB / 346.7 MB Notification: Performance of SimCode: time 0.0009105/0.1201, allocations: 0.7257 MB / 0.6896 GB, free: 31.66 MB / 346.7 MB Notification: Performance of Templates: time 0.009183/0.1293, allocations: 3.268 MB / 0.6928 GB, free: 28.41 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new_2.nextTimeEvent,t_new_2.y[1] Variables in the result: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],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.timeScale,t_new_2.verboseRead,t_new_2.y[1],time