Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009582/0.009581, allocations: 162 kB / 15.12 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.833/1.833, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002119/0.002119, allocations: 113.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4806/0.4806, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006408, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1126, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002489/0.1152, allocations: 1.298 MB / 413 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1163, allocations: 423.5 kB / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.988e-05/0.1164, allocations: 0 / 413.4 MB, free: 2.965 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003863/0.1168, allocations: 99.78 kB / 413.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.1171, allocations: 63.86 kB / 413.6 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1174, allocations: 63.8 kB / 413.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.1176, allocations: 79.75 kB / 413.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1177, allocations: 11.97 kB / 413.7 MB, free: 2.652 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.1178, allocations: 35.91 kB / 413.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.118, allocations: 55.81 kB / 413.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.118, allocations: 0 / 413.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.1182, allocations: 39.98 kB / 413.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.608e-05/0.1182, allocations: 23.91 kB / 413.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.671e-05/0.1183, allocations: 45.58 kB / 413.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1185, allocations: 96.03 kB / 414 MB, free: 2.355 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1186, allocations: 0 / 414 MB, free: 2.355 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1186, allocations: 0 / 414 MB, free: 2.355 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1186, allocations: 0 / 414 MB, free: 2.355 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006649/0.1193, allocations: 428.5 kB / 414.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1193, allocations: 12.03 kB / 414.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.1194, allocations: 38.56 kB / 414.5 MB, free: 1.824 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.1194, allocations: 11.81 kB / 414.5 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.1197, allocations: 210.8 kB / 414.7 MB, free: 1.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1198, allocations: 4 kB / 414.7 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.1198, allocations: 4 kB / 414.7 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.12, allocations: 49.67 kB / 414.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.12, allocations: 0 / 414.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.12, allocations: 0 / 414.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.12, allocations: 0 / 414.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.842e-05/0.1201, allocations: 19.98 kB / 414.8 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.1207, allocations: 304.8 kB / 415.1 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1208, allocations: 50.5 kB / 415.1 MB, free: 1.078 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.1209, allocations: 16.84 kB / 415.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1209, allocations: 0 / 415.2 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.1212, allocations: 63.48 kB / 415.2 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.864e-06/0.1212, allocations: 4 kB / 415.2 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006048/0.1218, allocations: 153.1 kB / 415.4 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.1219, allocations: 51.41 kB / 415.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.1222, allocations: 231.4 kB / 415.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.1222, allocations: 25.7 kB / 415.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.1224, allocations: 112.1 kB / 415.8 MB, free: 388 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.578e-05/0.1224, allocations: 19.7 kB / 415.8 MB, free: 368 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.1224, allocations: 4 kB / 415.8 MB, free: 364 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1226, allocations: 330.8 kB / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.671e-05/0.1227, allocations: 23.94 kB / 416.1 MB, free: 0 / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.1228, allocations: 23.98 kB / 416.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1229, allocations: 49.8 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1229, allocations: 7.938 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002996/0.1232, allocations: 135.2 kB / 416.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.691e-05/0.1233, allocations: 29.7 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.1233, allocations: 0 / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1233, allocations: 4 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1235, allocations: 11.98 kB / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1235, allocations: 4 kB / 416.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.172e-05/0.1236, allocations: 11.95 kB / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1236, allocations: 4 kB / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * 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.0001503/0.1238, allocations: 126.9 kB / 416.5 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.1238, allocations: 11.81 kB / 416.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.169e-05/0.1239, allocations: 17.41 kB / 416.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1239, allocations: 0 / 416.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1239, allocations: 3.984 kB / 416.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1239, allocations: 4 kB / 416.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005292/0.1245, allocations: 362.5 kB / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1245, allocations: 0 / 416.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.134e-05/0.1246, allocations: 15.98 kB / 417 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1246, allocations: 0 / 417 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1246, allocations: 7.938 kB / 417 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1246, allocations: 0 / 417 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.1246, allocations: 3.953 kB / 417 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.1249, allocations: 179.9 kB / 417.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.125, allocations: 96.91 kB / 417.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.125, allocations: 0 / 417.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.81e-05/0.1251, allocations: 4.062 kB / 417.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.618e-05/0.1252, allocations: 7.984 kB / 417.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1252, allocations: 7.953 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002173/0.1255, allocations: 175.5 kB / 417.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1255, allocations: 0 / 417.4 MB, free: 14.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003626/0.1258, allocations: 31.94 kB / 417.5 MB, free: 14.57 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001598/0.1275, allocations: 0.9718 MB / 418.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003195/0.1278, allocations: 111.4 kB / 418.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1278, allocations: 4 kB / 418.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.408e-05/0.1279, allocations: 20 kB / 418.6 MB, free: 13.47 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/0.1284, allocations: 24.27 kB / 418.6 MB, free: 13.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.1302, allocations: 0.7813 MB / 419.4 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.1306, allocations: 0.716 MB / 420.1 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.541e-05/0.1307, allocations: 16.66 kB / 420.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1308, allocations: 35.42 kB / 420.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.323e-06/0.1309, allocations: 0 / 420.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.1574, allocations: 2.958 MB / 423.1 MB, free: 8.887 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003677/0.1579, allocations: 246.5 kB / 423.3 MB, free: 8.602 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/2.712, allocations: 0 / 423.3 MB, free: 8.602 MB / 330.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),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_min,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.verboseRead,t_new.y[1],t_new.y[2],time