Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,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.Test15") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004405/0.004411, allocations: 371.7 kB / 15.96 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.197/4.197, allocations: 388.9 MB / 405.6 MB, free: 9.617 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.003549/0.003548, allocations: 236.7 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.5793/0.5793, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004567, allocations: 12 kB / 0.6265 GB, free: 96.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09274/0.09323, allocations: 54.88 MB / 0.6801 GB, free: 41.6 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002029/0.09535, allocations: 1.347 MB / 0.6814 GB, free: 40.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.0968, allocations: 0.7229 MB / 0.6821 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.254e-05/0.09692, allocations: 0 / 0.6821 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.09726, allocations: 31.84 kB / 0.6822 GB, free: 39.47 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.09757, allocations: 27.91 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003621/0.09795, allocations: 47.89 kB / 0.6822 GB, free: 39.4 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.09823, allocations: 87.69 kB / 0.6823 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.09841, allocations: 15.98 kB / 0.6823 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.09858, allocations: 35.86 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.69e-05/0.0987, allocations: 31.83 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.09874, allocations: 4 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.09898, allocations: 32 kB / 0.6824 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.939e-05/0.09906, allocations: 11.92 kB / 0.6824 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.09914, allocations: 41.64 kB / 0.6825 GB, free: 39.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002718/0.09943, allocations: 92.02 kB / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.09946, allocations: 0 / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.09947, allocations: 0 / 0.6826 GB, free: 39.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.09949, allocations: 3.938 kB / 0.6826 GB, free: 39.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005601/0.1001, allocations: 446.3 kB / 0.683 GB, free: 38.55 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.1001, allocations: 12.81 kB / 0.683 GB, free: 38.54 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.1002, allocations: 11.91 kB / 0.683 GB, free: 38.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.1004, allocations: 191.5 kB / 0.6832 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1004, allocations: 4 kB / 0.6832 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.1005, allocations: 4 kB / 0.6832 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.1007, allocations: 61.61 kB / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1007, allocations: 0 / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1007, allocations: 4 kB / 0.6833 GB, free: 38.22 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1007, allocations: 3.953 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.1008, allocations: 23.92 kB / 0.6833 GB, free: 38.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.1012, allocations: 296.8 kB / 0.6836 GB, free: 37.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.1015, allocations: 62.59 kB / 0.6836 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.444e-05/0.1016, allocations: 24.86 kB / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1016, allocations: 3.984 kB / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.1018, allocations: 71.34 kB / 0.6837 GB, free: 37.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.1018, allocations: 0 / 0.6837 GB, free: 37.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006903/0.1025, allocations: 165.4 kB / 0.6839 GB, free: 37.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.1026, allocations: 59.39 kB / 0.684 GB, free: 37.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.1028, allocations: 174.2 kB / 0.6841 GB, free: 37.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1028, allocations: 25.7 kB / 0.6842 GB, free: 37.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.1028, allocations: 96.14 kB / 0.6842 GB, free: 37.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1029, allocations: 27.64 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.1029, allocations: 4 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.32e-05/0.103, allocations: 322.8 kB / 0.6846 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1031, allocations: 27.98 kB / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.1032, allocations: 45.7 kB / 0.6847 GB, free: 36.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.1034, allocations: 73.62 kB / 0.6847 GB, free: 36.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1034, allocations: 0 / 0.6847 GB, free: 36.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003275/0.1037, allocations: 154.6 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.1038, allocations: 37.66 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.1038, allocations: 0 / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1038, allocations: 11.92 kB / 0.6849 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.104, allocations: 16 kB / 0.6849 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.104, allocations: 4.062 kB / 0.6849 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.654e-05/0.1041, allocations: 12.03 kB / 0.6849 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.1041, allocations: 4 kB / 0.6849 GB, free: 36.36 MB / 346.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.0001105/0.1042, allocations: 125.6 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.1043, allocations: 7.906 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.1043, allocations: 16.77 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1043, allocations: 7.922 kB / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1043, allocations: 0 / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.698e-05/0.1044, allocations: 100.9 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.1045, allocations: 7.938 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.1045, allocations: 8 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.454e-05/0.1046, allocations: 7.922 kB / 0.6852 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002774/0.1049, allocations: 176.9 kB / 0.6854 GB, free: 35.88 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000284/0.1052, allocations: 274.7 kB / 0.6857 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001169/0.1053, allocations: 31.97 kB / 0.6857 GB, free: 35.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.1054, allocations: 128 kB / 0.6858 GB, free: 35.44 MB / 346.7 MB Notification: Performance of Backend: time 9.12e-07/0.1054, allocations: 0 / 0.6858 GB, free: 35.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.1071, allocations: 0.5151 MB / 0.6863 GB, free: 35.07 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006144/0.1078, allocations: 0.6592 MB / 0.6869 GB, free: 34.37 MB / 346.7 MB Notification: Performance of Templates: time 0.005616/0.1134, allocations: 1.638 MB / 0.6885 GB, free: 32.74 MB / 346.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.timeScale,t_new.verboseRead,t_new.y[1],time