Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0046/0.0046, allocations: 364.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.181/4.181, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003535/0.003535, allocations: 234.1 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.583/0.583, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004784, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09683/0.09734, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002022/0.09942, allocations: 1.312 MB / 0.6814 GB, free: 40.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1009, allocations: 0.7112 MB / 0.6821 GB, free: 39.62 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.731e-05/0.101, allocations: 3.938 kB / 0.6821 GB, free: 39.61 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.1014, allocations: 39.88 kB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.1016, allocations: 43.89 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.1018, allocations: 47.89 kB / 0.6822 GB, free: 39.48 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.102, allocations: 91.67 kB / 0.6823 GB, free: 39.39 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.927e-05/0.1021, allocations: 11.8 kB / 0.6823 GB, free: 39.38 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.971e-05/0.1022, allocations: 31.86 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.1023, allocations: 39.83 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.1023, allocations: 0 / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1024, allocations: 20 kB / 0.6824 GB, free: 39.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.1025, allocations: 31.91 kB / 0.6824 GB, free: 39.26 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.1026, allocations: 41.64 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1028, allocations: 96.02 kB / 0.6826 GB, free: 39.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1028, allocations: 0 / 0.6826 GB, free: 39.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1028, allocations: 0 / 0.6826 GB, free: 39.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1028, allocations: 0 / 0.6826 GB, free: 39.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005923/0.1034, allocations: 470 kB / 0.683 GB, free: 38.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.1035, allocations: 8.828 kB / 0.683 GB, free: 38.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.1035, allocations: 11.81 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.1038, allocations: 203.5 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/0.1039, allocations: 4 kB / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1039, allocations: 0 / 0.6832 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1041, allocations: 57.61 kB / 0.6833 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.1041, allocations: 0 / 0.6833 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1042, allocations: 0 / 0.6833 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.1042, allocations: 3.953 kB / 0.6833 GB, free: 38.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.241e-05/0.1043, allocations: 15.98 kB / 0.6833 GB, free: 38.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.1045, allocations: 201.7 kB / 0.6835 GB, free: 38.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.1047, allocations: 50.62 kB / 0.6835 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.811e-05/0.1048, allocations: 24.78 kB / 0.6836 GB, free: 37.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.1049, allocations: 0 / 0.6836 GB, free: 37.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002049/0.1051, allocations: 63.39 kB / 0.6836 GB, free: 37.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.905e-06/0.1051, allocations: 4 kB / 0.6836 GB, free: 37.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003664/0.1055, allocations: 97.48 kB / 0.6837 GB, free: 37.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1055, allocations: 71.28 kB / 0.6838 GB, free: 37.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1058, allocations: 252.6 kB / 0.684 GB, free: 37.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1058, allocations: 29.7 kB / 0.6841 GB, free: 37.37 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.1059, allocations: 108.1 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1059, allocations: 15.75 kB / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.106, allocations: 4 kB / 0.6842 GB, free: 37.24 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.106, allocations: 330.8 kB / 0.6845 GB, free: 36.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.511e-05/0.1061, allocations: 23.98 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.739e-05/0.1063, allocations: 37.64 kB / 0.6846 GB, free: 36.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.1064, allocations: 57.64 kB / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1064, allocations: 0 / 0.6846 GB, free: 36.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002981/0.1067, allocations: 139.1 kB / 0.6847 GB, free: 36.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.1068, allocations: 41.69 kB / 0.6848 GB, free: 36.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1068, allocations: 4.031 kB / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1068, allocations: 0 / 0.6848 GB, free: 36.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.1069, allocations: 12 kB / 0.6848 GB, free: 36.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.1069, allocations: 8.047 kB / 0.6848 GB, free: 36.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.941e-05/0.107, allocations: 7.953 kB / 0.6848 GB, free: 36.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.1071, allocations: 7.938 kB / 0.6848 GB, free: 36.55 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 (8): * Single equations (assignments): 7 * 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.0001137/0.1072, allocations: 137.8 kB / 0.685 GB, free: 36.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.1072, allocations: 15.81 kB / 0.685 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1073, allocations: 20.98 kB / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1073, allocations: 0 / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1073, allocations: 0 / 0.685 GB, free: 36.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.1074, allocations: 96.86 kB / 0.6851 GB, free: 36.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.1074, allocations: 11.94 kB / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.076e-05/0.1075, allocations: 320 / 0.6851 GB, free: 36.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.1075, allocations: 4 kB / 0.6851 GB, free: 36.24 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002354/0.1078, allocations: 157 kB / 0.6852 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002813/0.1081, allocations: 266.6 kB / 0.6855 GB, free: 35.8 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.997e-05/0.1082, allocations: 15.98 kB / 0.6855 GB, free: 35.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001882/0.1084, allocations: 194 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of Backend: time 1.863e-06/0.1084, allocations: 0 / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.11, allocations: 494.4 kB / 0.6862 GB, free: 35.25 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006967/0.1107, allocations: 0.7092 MB / 0.6869 GB, free: 34.49 MB / 346.7 MB Notification: Performance of Templates: time 0.007479/0.1182, allocations: 1.411 MB / 0.6882 GB, free: 33.09 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time