Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0101/0.01011, allocations: 176 kB / 15.13 MB, free: 5.961 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 2.183/2.183, allocations: 194.5 MB / 210.3 MB, free: 7.602 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001775/0.001775, allocations: 108.2 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.257/0.257, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006451, allocations: 18.72 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1025, allocations: 54.88 MB / 461.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002224/0.1047, allocations: 1.494 MB / 462.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001947/0.1067, allocations: 0.9447 MB / 463.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1069, allocations: 0 / 463.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.1074, allocations: 211.6 kB / 463.8 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.1078, allocations: 139.5 kB / 463.9 MB, free: 392 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.1082, allocations: 107.8 kB / 464 MB, free: 284 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1085, allocations: 195.4 kB / 464.2 MB, free: 88 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001322/0.1086, allocations: 21.5 kB / 464.3 MB, free: 68 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.1088, allocations: 91.66 kB / 464.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.1091, allocations: 127.6 kB / 464.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.1092, allocations: 4 kB / 464.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.1095, allocations: 67.91 kB / 464.5 MB, free: 15.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1096, allocations: 47.83 kB / 464.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.1097, allocations: 61.58 kB / 464.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000386/0.1101, allocations: 175.7 kB / 464.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1101, allocations: 0 / 464.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1101, allocations: 0 / 464.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1101, allocations: 4 kB / 464.8 MB, free: 15.49 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009983/0.1112, allocations: 0.6142 MB / 465.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1112, allocations: 8.031 kB / 465.5 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.237e-05/0.1113, allocations: 38.56 kB / 465.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.213e-05/0.1114, allocations: 27.62 kB / 465.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.1118, allocations: 259 kB / 465.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.1119, allocations: 4 kB / 465.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.796e-05/0.1119, allocations: 19.98 kB / 465.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003356/0.1123, allocations: 103.3 kB / 465.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1123, allocations: 0 / 465.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1123, allocations: 3.953 kB / 465.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1123, allocations: 0 / 465.9 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.1125, allocations: 47.89 kB / 465.9 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007708/0.1133, allocations: 472.9 kB / 466.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.1138, allocations: 117.3 kB / 466.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.114, allocations: 45.66 kB / 466.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.114, allocations: 4 kB / 466.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003664/0.1144, allocations: 113 kB / 466.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.795e-06/0.1144, allocations: 0 / 466.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001441/0.1159, allocations: 375.9 kB / 467 MB, free: 13.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.116, allocations: 85.11 kB / 467.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006728/0.1167, allocations: 416.5 kB / 467.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.1167, allocations: 33.7 kB / 467.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.1169, allocations: 152.5 kB / 467.7 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.117, allocations: 47.36 kB / 467.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.117, allocations: 0 / 467.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1172, allocations: 342.8 kB / 468.1 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.1175, allocations: 68.16 kB / 468.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.1177, allocations: 87.78 kB / 468.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.1181, allocations: 143 kB / 468.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.1181, allocations: 0 / 468.4 MB, free: 11.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001895/0.12, allocations: 288.7 kB / 468.7 MB, free: 11.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/0.1202, allocations: 75.45 kB / 468.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1202, allocations: 0 / 468.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/0.1203, allocations: 4 kB / 468.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.1206, allocations: 31.92 kB / 468.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.1206, allocations: 7.984 kB / 468.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.1208, allocations: 11.94 kB / 468.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.1208, allocations: 12 kB / 468.8 MB, free: 11.17 MB / 314.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0003021/0.1212, allocations: 169.7 kB / 469 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.1212, allocations: 31.62 kB / 469 MB, free: 10.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1213, allocations: 31.36 kB / 469 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1214, allocations: 4 kB / 469 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1214, allocations: 0 / 469 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.1214, allocations: 0 / 469 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.1226, allocations: 0.632 MB / 469.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1226, allocations: 0 / 469.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.1228, allocations: 20 kB / 469.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.1228, allocations: 0 / 469.7 MB, free: 10.21 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1228, allocations: 11.98 kB / 469.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.1228, allocations: 4.312 kB / 469.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1228, allocations: 0 / 469.7 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.1235, allocations: 372.1 kB / 470.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.1237, allocations: 120.7 kB / 470.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.318e-05/0.1237, allocations: 8 kB / 470.2 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.124, allocations: 4 kB / 470.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.773e-05/0.124, allocations: 11.98 kB / 470.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.1241, allocations: 11.98 kB / 470.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004715/0.1246, allocations: 311 kB / 470.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1246, allocations: 0 / 470.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005953/0.1252, allocations: 67.94 kB / 470.6 MB, free: 9.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003422/0.1286, allocations: 1.472 MB / 472.1 MB, free: 7.867 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008567/0.1295, allocations: 302.6 kB / 472.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1296, allocations: 0 / 472.4 MB, free: 7.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.1298, allocations: 60.05 kB / 472.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.1305, allocations: 49.34 kB / 472.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.1344, allocations: 1.545 MB / 474 MB, free: 5.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.1349, allocations: 0.7712 MB / 474.8 MB, free: 5.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.1351, allocations: 25.48 kB / 474.8 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.1353, allocations: 75.41 kB / 474.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1353, allocations: 0 / 474.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03252/0.1679, allocations: 5.517 MB / 480.4 MB, free: 15.41 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003921/0.1683, allocations: 247.5 kB / 480.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.864/3.032, allocations: 0 / 480.6 MB, free: 15.1 MB / 330.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),der(t_new.timeScaled),der(t_new_2.timeScaled),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,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.timeScaled,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time