Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004638/0.004637, allocations: 366.2 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.342/4.342, 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.004589/0.004588, allocations: 232.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.5626/0.5626, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006707/0.0006709, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1118, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002137/0.114, allocations: 1.355 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1154, allocations: 0.7151 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.1156, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.1158, allocations: 35.83 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.116, allocations: 27.91 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1162, allocations: 51.88 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1164, allocations: 91.7 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.1165, allocations: 8 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.1166, allocations: 39.83 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.1166, allocations: 27.86 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.1167, allocations: 0 / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1168, allocations: 35.98 kB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.047e-05/0.1168, allocations: 19.91 kB / 0.6825 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.1169, allocations: 41.58 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1171, allocations: 92.03 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1171, allocations: 4 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1171, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1171, allocations: 0 / 0.6826 GB, free: 39.09 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.0004603/0.1176, allocations: 450.2 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1176, allocations: 12.83 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.059e-05/0.1177, allocations: 7.906 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.1179, allocations: 206.4 kB / 0.6832 GB, free: 38.33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1179, allocations: 4 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.118, allocations: 8 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.1182, allocations: 57.61 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1182, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1182, allocations: 3.984 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1182, allocations: 3.953 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000103/0.1184, allocations: 19.94 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1187, allocations: 288.9 kB / 0.6836 GB, free: 37.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.119, allocations: 66.61 kB / 0.6837 GB, free: 37.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.545e-05/0.119, allocations: 20.84 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.1191, allocations: 0 / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.1193, allocations: 71.34 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.1193, allocations: 3.984 kB / 0.6838 GB, free: 37.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000696/0.12, allocations: 189.1 kB / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.1201, allocations: 51.41 kB / 0.684 GB, free: 37.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.1202, allocations: 174.2 kB / 0.6842 GB, free: 37.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1203, allocations: 33.7 kB / 0.6842 GB, free: 37.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.1203, allocations: 104 kB / 0.6843 GB, free: 37.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.1204, allocations: 23.73 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.1204, allocations: 0 / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.455e-05/0.1205, allocations: 326.8 kB / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.1206, allocations: 31.98 kB / 0.6846 GB, free: 36.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.1207, allocations: 49.64 kB / 0.6847 GB, free: 36.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1209, allocations: 61.7 kB / 0.6848 GB, free: 36.63 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1209, allocations: 0 / 0.6848 GB, free: 36.63 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003341/0.1212, allocations: 163.1 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.1213, allocations: 37.66 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1213, allocations: 4 kB / 0.6849 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.1213, allocations: 4.031 kB / 0.685 GB, free: 36.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.1215, allocations: 15.98 kB / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1215, allocations: 4 kB / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.334e-05/0.1216, allocations: 4 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.1216, allocations: 8.094 kB / 0.685 GB, free: 36.38 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.0001067/0.1217, allocations: 125.8 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1217, allocations: 7.906 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.322e-05/0.1218, allocations: 16.67 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1218, allocations: 8 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1218, allocations: 0 / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.1219, allocations: 96.91 kB / 0.6852 GB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.122, allocations: 11.86 kB / 0.6852 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.867e-05/0.122, allocations: 4 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1221, allocations: 4 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002896/0.1224, allocations: 180.9 kB / 0.6854 GB, free: 35.89 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002913/0.1227, allocations: 274.7 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.523e-05/0.1228, allocations: 27.92 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001194/0.123, allocations: 142.1 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of Backend: time 8.31e-07/0.123, allocations: 0 / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.1247, allocations: 0.5282 MB / 0.6864 GB, free: 35.07 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006155/0.1253, allocations: 0.6625 MB / 0.687 GB, free: 34.36 MB / 346.7 MB Notification: Performance of Templates: time 0.005561/0.1309, allocations: 1.624 MB / 0.6886 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.table[3,1],t_new.table[3,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time