Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002736/0.002736, allocations: 369.4 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.285/4.285, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003521/0.003521, allocations: 225.9 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.5936/0.5936, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004492, allocations: 23.17 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/0.09616, allocations: 54.86 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.001963/0.09818, allocations: 1.355 MB / 0.6814 GB, free: 40.28 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.0996, allocations: 0.7189 MB / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.09971, allocations: 0 / 0.6821 GB, free: 39.55 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.09998, allocations: 35.89 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1002, allocations: 27.84 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1004, allocations: 55.88 kB / 0.6822 GB, free: 39.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.1005, allocations: 87.7 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.1007, allocations: 8 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.249e-05/0.1007, allocations: 39.83 kB / 0.6824 GB, free: 39.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.31e-05/0.1008, allocations: 31.86 kB / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1009, allocations: 0 / 0.6824 GB, free: 39.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.101, allocations: 35.98 kB / 0.6824 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.101, allocations: 19.91 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.014e-05/0.1011, allocations: 37.64 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1013, allocations: 88.05 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1013, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1013, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1013, 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.0004816/0.1018, allocations: 461.8 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1019, allocations: 8.828 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.1019, allocations: 7.906 kB / 0.683 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.1021, allocations: 202.7 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.1022, allocations: 8 kB / 0.6832 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.1022, allocations: 4 kB / 0.6832 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1024, allocations: 61.55 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1024, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.1024, allocations: 4 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1024, allocations: 3.953 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.1026, allocations: 23.92 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003613/0.1029, allocations: 288.9 kB / 0.6836 GB, free: 37.88 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1032, allocations: 66.59 kB / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.428e-05/0.1033, allocations: 20.86 kB / 0.6837 GB, free: 37.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.1033, allocations: 4 kB / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1035, allocations: 71.33 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.1035, allocations: 0 / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006883/0.1042, allocations: 181.4 kB / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.1043, allocations: 55.41 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.1045, allocations: 186.2 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1045, allocations: 25.7 kB / 0.6842 GB, free: 37.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.1046, allocations: 104 kB / 0.6843 GB, free: 37.12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.1046, allocations: 19.75 kB / 0.6843 GB, free: 37.1 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/0.1046, allocations: 0 / 0.6843 GB, free: 37.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.1047, allocations: 322.8 kB / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1048, allocations: 31.98 kB / 0.6846 GB, free: 36.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.1049, allocations: 57.62 kB / 0.6847 GB, free: 36.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1051, allocations: 61.7 kB / 0.6848 GB, free: 36.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1051, allocations: 0 / 0.6848 GB, free: 36.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003283/0.1054, allocations: 155.2 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.1055, allocations: 49.58 kB / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.1055, allocations: 128 / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1055, allocations: 0 / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.1057, allocations: 19.98 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1057, allocations: 4 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.061e-05/0.1058, allocations: 8.031 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1058, allocations: 4 kB / 0.685 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.0001017/0.1059, allocations: 129.3 kB / 0.6851 GB, free: 36.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1059, allocations: 7.906 kB / 0.6851 GB, free: 36.22 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.106, allocations: 20.67 kB / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.106, allocations: 0 / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.106, allocations: 0 / 0.6851 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-05/0.1061, allocations: 96.91 kB / 0.6852 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1061, allocations: 3.938 kB / 0.6852 GB, free: 36.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.231e-05/0.1062, allocations: 11.98 kB / 0.6852 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1063, allocations: 7.938 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002744/0.1065, allocations: 177 kB / 0.6854 GB, free: 35.89 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002797/0.1068, allocations: 274.6 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001327/0.107, allocations: 35.92 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001709/0.1072, allocations: 138.1 kB / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of Backend: time 1.183e-06/0.1072, allocations: 0 / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.1089, allocations: 0.521 MB / 0.6864 GB, free: 35.05 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006225/0.1096, allocations: 0.6665 MB / 0.687 GB, free: 34.34 MB / 346.7 MB Notification: Performance of Templates: time 0.005758/0.1154, allocations: 1.628 MB / 0.6886 GB, free: 32.72 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