Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004197/0.004196, 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 3.906/3.906, 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.005125/0.005125, 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.8595/0.8595, allocations: 80.02 MB / 0.5627 GB, free: 35.63 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006722/0.0006725, allocations: 12 kB / 0.6265 GB, free: 2.195 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5136, allocations: 54.87 MB / 0.6801 GB, free: 41.75 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002094/0.5157, allocations: 1.367 MB / 0.6814 GB, free: 41.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.5172, allocations: 0.7229 MB / 0.6821 GB, free: 40.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.277e-05/0.5173, allocations: 6.844 kB / 0.6822 GB, free: 40.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.5177, allocations: 90.19 kB / 0.6822 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.5179, allocations: 67.34 kB / 0.6823 GB, free: 40.7 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.5182, allocations: 59.23 kB / 0.6824 GB, free: 40.68 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.5183, allocations: 103.8 kB / 0.6825 GB, free: 40.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.5184, allocations: 11.28 kB / 0.6825 GB, free: 40.64 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.634e-05/0.5186, allocations: 46.31 kB / 0.6825 GB, free: 40.62 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.5187, allocations: 66.09 kB / 0.6826 GB, free: 40.61 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.5187, allocations: 3 kB / 0.6826 GB, free: 40.61 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.5189, allocations: 40.11 kB / 0.6826 GB, free: 40.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.5189, allocations: 29.8 kB / 0.6826 GB, free: 40.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.519, allocations: 39.42 kB / 0.6827 GB, free: 40.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.5192, allocations: 110 kB / 0.6828 GB, free: 40.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5192, allocations: 0.5625 kB / 0.6828 GB, free: 40.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5192, allocations: 0.875 kB / 0.6828 GB, free: 40.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.5192, allocations: 0 / 0.6828 GB, free: 40.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005401/0.5198, allocations: 479.3 kB / 0.6832 GB, free: 40.04 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5198, allocations: 9.688 kB / 0.6833 GB, free: 40.04 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.5199, allocations: 14.25 kB / 0.6833 GB, free: 40.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.5202, allocations: 217.8 kB / 0.6835 GB, free: 39.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.5202, allocations: 4 kB / 0.6835 GB, free: 39.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.5202, allocations: 9.781 kB / 0.6835 GB, free: 39.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.5204, allocations: 70.67 kB / 0.6836 GB, free: 39.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.5205, allocations: 2.906 kB / 0.6836 GB, free: 39.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5205, allocations: 0 / 0.6836 GB, free: 39.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.5205, allocations: 3.953 kB / 0.6836 GB, free: 39.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.5207, allocations: 38.14 kB / 0.6836 GB, free: 39.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.5211, allocations: 325.2 kB / 0.6839 GB, free: 39.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.5214, allocations: 72.72 kB / 0.684 GB, free: 39.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.901e-05/0.5215, allocations: 34.53 kB / 0.684 GB, free: 39.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.5215, allocations: 3.125 kB / 0.684 GB, free: 39.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.5217, allocations: 78.44 kB / 0.6841 GB, free: 39.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 2.004e-06/0.5217, allocations: 0 / 0.6841 GB, free: 39.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008092/0.5226, allocations: 232.3 kB / 0.6843 GB, free: 39.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.5226, allocations: 51.41 kB / 0.6844 GB, free: 39.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.5229, allocations: 249.4 kB / 0.6846 GB, free: 39.03 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.5229, allocations: 29.7 kB / 0.6846 GB, free: 39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.523, allocations: 111.8 kB / 0.6847 GB, free: 38.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.523, allocations: 34.47 kB / 0.6848 GB, free: 38.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.5231, allocations: 4 kB / 0.6848 GB, free: 38.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.5231, allocations: 325.6 kB / 0.6851 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.5233, allocations: 43.02 kB / 0.6851 GB, free: 38.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.5234, allocations: 55.88 kB / 0.6852 GB, free: 38.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.5236, allocations: 89.73 kB / 0.6853 GB, free: 38.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.5236, allocations: 3.938 kB / 0.6853 GB, free: 38.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003976/0.524, allocations: 195.5 kB / 0.6855 GB, free: 38.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.5241, allocations: 34.17 kB / 0.6855 GB, free: 38.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5241, allocations: 3.781 kB / 0.6855 GB, free: 38.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5241, allocations: 0 / 0.6855 GB, free: 38.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.5243, allocations: 27.2 kB / 0.6855 GB, free: 38.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.5243, allocations: 2.781 kB / 0.6855 GB, free: 38.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.5244, allocations: 8.031 kB / 0.6855 GB, free: 38.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.5245, allocations: 5.406 kB / 0.6855 GB, free: 38.29 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 (14): * Single equations (assignments): 13 * 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.0001224/0.5246, allocations: 134.3 kB / 0.6857 GB, free: 38.17 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.5246, allocations: 20.39 kB / 0.6857 GB, free: 38.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.591e-05/0.5247, allocations: 21.72 kB / 0.6857 GB, free: 38.15 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.5247, allocations: 1.219 kB / 0.6857 GB, free: 38.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5247, allocations: 6.266 kB / 0.6857 GB, free: 38.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.5248, allocations: 97.86 kB / 0.6858 GB, free: 38.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.5249, allocations: 4.031 kB / 0.6858 GB, free: 38.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.5249, allocations: 13.38 kB / 0.6858 GB, free: 38.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.525, allocations: 9.266 kB / 0.6858 GB, free: 38.04 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003451/0.5254, allocations: 208.6 kB / 0.686 GB, free: 37.9 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003479/0.5257, allocations: 307.9 kB / 0.6863 GB, free: 37.66 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000118/0.5259, allocations: 43.61 kB / 0.6864 GB, free: 37.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.526, allocations: 179.4 kB / 0.6865 GB, free: 37.54 MB / 346.7 MB Notification: Performance of Backend: time 9.42e-07/0.5261, allocations: 0 / 0.6865 GB, free: 37.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.5279, allocations: 0.5649 MB / 0.6871 GB, free: 37.34 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007459/0.5287, allocations: 0.7321 MB / 0.6878 GB, free: 36.68 MB / 346.7 MB Notification: Performance of Templates: time 0.006488/0.5352, allocations: 1.845 MB / 0.6896 GB, free: 36.54 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeScale,t_new.verboseRead,t_new.y[1],t_new.y[2],time