Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005151/0.005158, allocations: 371.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.081/4.081, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.00358/0.00358, allocations: 228.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.5453/0.5453, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006281/0.0006284, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09458/0.09525, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001975/0.09729, allocations: 1.367 MB / 0.6814 GB, free: 40.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.09865, allocations: 0.7073 MB / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.09875, allocations: 0 / 0.6821 GB, free: 39.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.09902, allocations: 31.84 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.09919, allocations: 31.89 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001905/0.0994, allocations: 51.89 kB / 0.6822 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.09956, allocations: 95.69 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.204e-05/0.09967, allocations: 11.92 kB / 0.6823 GB, free: 39.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.09976, allocations: 31.86 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.09984, allocations: 27.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.09987, allocations: 4 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1, allocations: 35.98 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.1001, allocations: 15.92 kB / 0.6825 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.1001, allocations: 41.64 kB / 0.6825 GB, free: 39.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.1003, allocations: 88.03 kB / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1003, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1003, allocations: 0 / 0.6826 GB, free: 39.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1003, 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.0004721/0.1008, allocations: 446.3 kB / 0.683 GB, free: 38.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1009, allocations: 12.83 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.1009, allocations: 7.906 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.1012, allocations: 199.4 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.1012, allocations: 4 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.1012, allocations: 4 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1014, allocations: 61.61 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1014, allocations: 0 / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1015, allocations: 0 / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1015, allocations: 3.953 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1016, allocations: 23.92 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.102, allocations: 296.8 kB / 0.6836 GB, free: 37.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.1022, allocations: 66.61 kB / 0.6837 GB, free: 37.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.491e-05/0.1023, allocations: 16.86 kB / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1023, allocations: 0 / 0.6837 GB, free: 37.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.1025, allocations: 71.34 kB / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.1025, allocations: 0 / 0.6837 GB, free: 37.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000684/0.1032, allocations: 177.5 kB / 0.6839 GB, free: 37.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.1033, allocations: 55.41 kB / 0.684 GB, free: 37.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.1034, allocations: 173.9 kB / 0.6841 GB, free: 37.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1035, allocations: 33.7 kB / 0.6842 GB, free: 37.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.1035, allocations: 92.14 kB / 0.6843 GB, free: 37.17 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1036, allocations: 27.64 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-06/0.1036, allocations: 0 / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.1037, allocations: 322.8 kB / 0.6846 GB, free: 36.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1038, allocations: 35.98 kB / 0.6846 GB, free: 36.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.1039, allocations: 41.7 kB / 0.6847 GB, free: 36.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.1041, allocations: 69.62 kB / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1041, allocations: 0 / 0.6847 GB, free: 36.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003225/0.1044, allocations: 151.3 kB / 0.6849 GB, free: 36.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1045, allocations: 41.75 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1045, allocations: 3.938 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.1045, allocations: 7.969 kB / 0.6849 GB, free: 36.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1047, allocations: 24.05 kB / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1047, allocations: 0 / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.1048, allocations: 4 kB / 0.6849 GB, free: 36.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1048, allocations: 4 kB / 0.685 GB, free: 36.41 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 9.688e-05/0.1049, allocations: 125.8 kB / 0.6851 GB, free: 36.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1049, allocations: 11.89 kB / 0.6851 GB, free: 36.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.858e-05/0.105, allocations: 16.67 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.105, allocations: 4 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.105, allocations: 4 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/0.1051, allocations: 100.9 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.1051, allocations: 3.938 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.028e-05/0.1052, allocations: 4 kB / 0.6852 GB, free: 36.12 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.1052, allocations: 7.922 kB / 0.6852 GB, free: 36.11 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002693/0.1055, allocations: 176.9 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002845/0.1058, allocations: 274.7 kB / 0.6856 GB, free: 35.65 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.156e-05/0.1059, allocations: 27.98 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.106, allocations: 132 kB / 0.6858 GB, free: 35.49 MB / 346.7 MB Notification: Performance of Backend: time 8.02e-07/0.1061, allocations: 0 / 0.6858 GB, free: 35.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1077, allocations: 0.5231 MB / 0.6863 GB, free: 35.11 MB / 346.7 MB Notification: Performance of SimCode: time 0.0007325/0.1085, allocations: 0.6508 MB / 0.6869 GB, free: 34.41 MB / 346.7 MB Notification: Performance of Templates: time 0.005789/0.1143, allocations: 1.638 MB / 0.6885 GB, free: 32.79 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