Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002725/0.002725, allocations: 370.8 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.053/4.053, allocations: 388.9 MB / 405.6 MB, free: 10.26 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.003526/0.003526, allocations: 218 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.6187/0.6187, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004781, allocations: 17.95 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002149/0.103, allocations: 1.433 MB / 0.6815 GB, free: 40.2 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.105, allocations: 0.9447 MB / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.1052, allocations: 0 / 0.6824 GB, free: 39.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.1058, allocations: 283.4 kB / 0.6827 GB, free: 38.97 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003635/0.1061, allocations: 175.6 kB / 0.6829 GB, free: 38.8 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.1065, allocations: 99.77 kB / 0.683 GB, free: 38.7 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1068, allocations: 199.5 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.948e-05/0.1069, allocations: 9.547 kB / 0.6832 GB, free: 38.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1071, allocations: 115.6 kB / 0.6833 GB, free: 38.38 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.1073, allocations: 159.6 kB / 0.6834 GB, free: 38.23 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.1074, allocations: 8 kB / 0.6834 GB, free: 38.22 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002386/0.1076, allocations: 59.97 kB / 0.6835 GB, free: 38.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1078, allocations: 135.6 kB / 0.6836 GB, free: 38.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.666e-05/0.1079, allocations: 77.45 kB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.1083, allocations: 291.8 kB / 0.684 GB, free: 37.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1083, allocations: 4 kB / 0.684 GB, free: 37.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1083, allocations: 4 kB / 0.684 GB, free: 37.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.1083, allocations: 3.938 kB / 0.684 GB, free: 37.65 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009772/0.1093, allocations: 0.7769 MB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1094, allocations: 8.031 kB / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.1095, allocations: 51.34 kB / 0.6848 GB, free: 36.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.1102, allocations: 411.2 kB / 0.6852 GB, free: 36.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.1102, allocations: 0 / 0.6852 GB, free: 36.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.596e-05/0.1102, allocations: 11.98 kB / 0.6852 GB, free: 36.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.1105, allocations: 83.36 kB / 0.6853 GB, free: 36.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1105, allocations: 0 / 0.6853 GB, free: 36.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1106, allocations: 4 kB / 0.6853 GB, free: 36.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.106e-06/0.1106, allocations: 7.953 kB / 0.6853 GB, free: 36.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1107, allocations: 35.91 kB / 0.6853 GB, free: 36.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.1112, allocations: 382.3 kB / 0.6857 GB, free: 35.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.1116, allocations: 113.2 kB / 0.6858 GB, free: 35.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.1118, allocations: 37.7 kB / 0.6858 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1118, allocations: 4 kB / 0.6858 GB, free: 35.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003322/0.1122, allocations: 101.1 kB / 0.6859 GB, free: 35.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.545e-06/0.1122, allocations: 11.94 kB / 0.6859 GB, free: 35.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007006/0.1129, allocations: 197 kB / 0.6861 GB, free: 35.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.1129, allocations: 85 kB / 0.6862 GB, free: 35.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.1143, allocations: 0.9988 MB / 0.6872 GB, free: 34.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.853e-05/0.1143, allocations: 33.69 kB / 0.6872 GB, free: 34.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002069/0.1146, allocations: 240.3 kB / 0.6874 GB, free: 33.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.1146, allocations: 27.64 kB / 0.6875 GB, free: 33.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.1146, allocations: 12 kB / 0.6875 GB, free: 33.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1148, allocations: 362.8 kB / 0.6878 GB, free: 33.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.115, allocations: 43.98 kB / 0.6879 GB, free: 33.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.1152, allocations: 86.98 kB / 0.688 GB, free: 33.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.1154, allocations: 111.3 kB / 0.6881 GB, free: 33.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.1154, allocations: 8 kB / 0.6881 GB, free: 33.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006292/0.1161, allocations: 272.4 kB / 0.6883 GB, free: 32.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.644e-05/0.1161, allocations: 67.39 kB / 0.6884 GB, free: 32.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.1162, allocations: 0 / 0.6884 GB, free: 32.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1162, allocations: 7.984 kB / 0.6884 GB, free: 32.79 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001969/0.1164, allocations: 20.56 kB / 0.6884 GB, free: 32.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.1164, allocations: 4 kB / 0.6884 GB, free: 32.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.1166, allocations: 31.69 kB / 0.6885 GB, free: 32.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1167, allocations: 12.06 kB / 0.6885 GB, free: 32.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0002814/0.117, allocations: 227.1 kB / 0.6887 GB, free: 32.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.521e-05/0.117, allocations: 43.44 kB / 0.6887 GB, free: 32.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.162e-05/0.1171, allocations: 59.77 kB / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1172, allocations: 0 / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1172, allocations: 0 / 0.6888 GB, free: 32.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.1173, allocations: 148.4 kB / 0.6889 GB, free: 32.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.36e-05/0.1174, allocations: 7.953 kB / 0.6889 GB, free: 32.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1176, allocations: 11.98 kB / 0.6889 GB, free: 32.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.1176, allocations: 8 kB / 0.689 GB, free: 32.2 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005001/0.1182, allocations: 288.1 kB / 0.6892 GB, free: 31.91 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004658/0.1186, allocations: 421.4 kB / 0.6896 GB, free: 31.48 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001423/0.1188, allocations: 35.98 kB / 0.6897 GB, free: 31.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009553/0.1198, allocations: 0.741 MB / 0.6904 GB, free: 30.71 MB / 346.7 MB Notification: Performance of Backend: time 4.81e-07/0.1198, allocations: 3.938 kB / 0.6904 GB, free: 30.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00339/0.1232, allocations: 0.9697 MB / 0.6913 GB, free: 29.92 MB / 346.7 MB Notification: Performance of SimCode: time 0.001794/0.125, allocations: 1.251 MB / 0.6926 GB, free: 28.62 MB / 346.7 MB Notification: Performance of Templates: time 0.01228/0.1373, allocations: 3.896 MB / 0.6964 GB, free: 24.75 MB / 346.7 MB "" Variables in the reference:time,startTime_0.nextTimeEvent,startTime_0.y[1],startTime.nextTimeEvent,startTime.y[1] Variables in the result:startTime.columns[1],startTime.extrapolation,startTime.nextTimeEvent,startTime.nout,startTime.offset[1],startTime.p_offset[1],startTime.smoothness,startTime.startTime,startTime.t_max,startTime.t_maxScaled,startTime.t_min,startTime.t_minScaled,startTime.tableOnFile,startTime.tableOnFileRead,startTime.table[1,1],startTime.table[1,2],startTime.table[10,1],startTime.table[10,2],startTime.table[11,1],startTime.table[11,2],startTime.table[12,1],startTime.table[12,2],startTime.table[13,1],startTime.table[13,2],startTime.table[14,1],startTime.table[14,2],startTime.table[15,1],startTime.table[15,2],startTime.table[16,1],startTime.table[16,2],startTime.table[17,1],startTime.table[17,2],startTime.table[18,1],startTime.table[18,2],startTime.table[19,1],startTime.table[19,2],startTime.table[2,1],startTime.table[2,2],startTime.table[20,1],startTime.table[20,2],startTime.table[21,1],startTime.table[21,2],startTime.table[22,1],startTime.table[22,2],startTime.table[23,1],startTime.table[23,2],startTime.table[24,1],startTime.table[24,2],startTime.table[25,1],startTime.table[25,2],startTime.table[26,1],startTime.table[26,2],startTime.table[27,1],startTime.table[27,2],startTime.table[28,1],startTime.table[28,2],startTime.table[3,1],startTime.table[3,2],startTime.table[4,1],startTime.table[4,2],startTime.table[5,1],startTime.table[5,2],startTime.table[6,1],startTime.table[6,2],startTime.table[7,1],startTime.table[7,2],startTime.table[8,1],startTime.table[8,2],startTime.table[9,1],startTime.table[9,2],startTime.timeScale,startTime.verboseRead,startTime.y[1],startTime_0.columns[1],startTime_0.extrapolation,startTime_0.nextTimeEvent,startTime_0.nout,startTime_0.offset[1],startTime_0.p_offset[1],startTime_0.smoothness,startTime_0.startTime,startTime_0.t_max,startTime_0.t_maxScaled,startTime_0.t_min,startTime_0.t_minScaled,startTime_0.tableOnFile,startTime_0.tableOnFileRead,startTime_0.table[1,1],startTime_0.table[1,2],startTime_0.table[10,1],startTime_0.table[10,2],startTime_0.table[11,1],startTime_0.table[11,2],startTime_0.table[12,1],startTime_0.table[12,2],startTime_0.table[13,1],startTime_0.table[13,2],startTime_0.table[14,1],startTime_0.table[14,2],startTime_0.table[15,1],startTime_0.table[15,2],startTime_0.table[16,1],startTime_0.table[16,2],startTime_0.table[17,1],startTime_0.table[17,2],startTime_0.table[18,1],startTime_0.table[18,2],startTime_0.table[19,1],startTime_0.table[19,2],startTime_0.table[2,1],startTime_0.table[2,2],startTime_0.table[20,1],startTime_0.table[20,2],startTime_0.table[21,1],startTime_0.table[21,2],startTime_0.table[22,1],startTime_0.table[22,2],startTime_0.table[23,1],startTime_0.table[23,2],startTime_0.table[24,1],startTime_0.table[24,2],startTime_0.table[25,1],startTime_0.table[25,2],startTime_0.table[26,1],startTime_0.table[26,2],startTime_0.table[27,1],startTime_0.table[27,2],startTime_0.table[28,1],startTime_0.table[28,2],startTime_0.table[3,1],startTime_0.table[3,2],startTime_0.table[4,1],startTime_0.table[4,2],startTime_0.table[5,1],startTime_0.table[5,2],startTime_0.table[6,1],startTime_0.table[6,2],startTime_0.table[7,1],startTime_0.table[7,2],startTime_0.table[8,1],startTime_0.table[8,2],startTime_0.table[9,1],startTime_0.table[9,2],startTime_0.timeScale,startTime_0.verboseRead,startTime_0.y[1],time