Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test42",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.01409/0.01409, allocations: 163.6 kB / 15.12 MB, free: 5.953 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.933/1.933, allocations: 170.8 MB / 186.6 MB, free: 1.113 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.001847/0.001846, allocations: 98.78 kB / 226.2 MB, free: 10.1 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.5264/0.5264, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007517/0.000752, allocations: 12 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1135, allocations: 48.72 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002552/0.1161, allocations: 1.294 MB / 413 MB, free: 3.375 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1173, allocations: 419.5 kB / 413.4 MB, free: 2.961 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.142e-05/0.1174, allocations: 4 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.1178, allocations: 39.89 kB / 413.5 MB, free: 2.918 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.118, allocations: 27.84 kB / 413.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1183, allocations: 59.86 kB / 413.6 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.1185, allocations: 59.78 kB / 413.6 MB, free: 2.773 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1186, allocations: 15.97 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.455e-05/0.1187, allocations: 23.91 kB / 413.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.1188, allocations: 27.86 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.1189, allocations: 7.938 kB / 413.7 MB, free: 2.699 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.119, allocations: 39.98 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.401e-05/0.1191, allocations: 19.92 kB / 413.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.1192, allocations: 41.62 kB / 413.8 MB, free: 2.594 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1194, allocations: 76.12 kB / 413.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1194, allocations: 3.938 kB / 413.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1194, allocations: 4 kB / 413.9 MB, free: 2.512 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1195, allocations: 0 / 413.9 MB, free: 2.512 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006804/0.1201, allocations: 408.7 kB / 414.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.54e-05/0.1202, allocations: 16.03 kB / 414.3 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.1203, allocations: 30.56 kB / 414.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1204, allocations: 7.906 kB / 414.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.1207, allocations: 203.4 kB / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1207, allocations: 0 / 414.5 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.1207, allocations: 4 kB / 414.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1209, allocations: 45.67 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1209, allocations: 3.938 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.1209, allocations: 4 kB / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.121, allocations: 0 / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.121, allocations: 15.98 kB / 414.6 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.1215, allocations: 276.9 kB / 414.9 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.1218, allocations: 38.56 kB / 414.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.55e-05/0.1218, allocations: 16.8 kB / 414.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1219, allocations: 0 / 414.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/0.1221, allocations: 67.39 kB / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 5.721e-06/0.1221, allocations: 0 / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005209/0.1226, allocations: 117.2 kB / 415.1 MB, free: 1.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.1227, allocations: 51.41 kB / 415.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.123, allocations: 194.3 kB / 415.3 MB, free: 0.832 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.123, allocations: 25.7 kB / 415.4 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.1231, allocations: 100.1 kB / 415.5 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1232, allocations: 11.81 kB / 415.5 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/0.1232, allocations: 4 kB / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1233, allocations: 322.8 kB / 415.8 MB, free: 368 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.641e-05/0.1234, allocations: 16 kB / 415.8 MB, free: 352 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.954e-05/0.1235, allocations: 19.98 kB / 415.8 MB, free: 332 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1236, allocations: 57.72 kB / 415.9 MB, free: 268 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1236, allocations: 0 / 415.9 MB, free: 268 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002807/0.1239, allocations: 115.2 kB / 416 MB, free: 140 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/0.124, allocations: 37.69 kB / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.124, allocations: 0 / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.124, allocations: 4 kB / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.94e-05/0.1241, allocations: 8 kB / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.1241, allocations: 0 / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1243, allocations: 16.02 kB / 416.1 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.1243, allocations: 7.984 kB / 416.1 MB, free: 60 kB / 314.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 (7): * Single equations (assignments): 6 * 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.0001816/0.1245, allocations: 122.8 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1245, allocations: 7.906 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.003e-05/0.1246, allocations: 16.3 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1246, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1246, allocations: 8 kB / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1247, allocations: 288 / 416.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.1252, allocations: 330.5 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1252, allocations: 0 / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.301e-05/0.1253, allocations: 11.92 kB / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/0.1253, allocations: 7.984 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.1253, allocations: 4 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1253, allocations: 0 / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.1253, allocations: 3.953 kB / 416.6 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.1256, allocations: 171.4 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.1257, allocations: 85.02 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.1257, allocations: 3.984 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.1258, allocations: 3.938 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1259, allocations: 4 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.1259, allocations: 11.95 kB / 416.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1261, allocations: 135.2 kB / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1261, allocations: 0 / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003899/0.1265, allocations: 35.94 kB / 417 MB, free: 15.02 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 (5): * Single equations (assignments): 4 * 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.002316/0.1288, allocations: 0.9453 MB / 417.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005046/0.1294, allocations: 103.4 kB / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.1294, allocations: 0 / 418 MB, free: 13.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.973e-05/0.1295, allocations: 23.92 kB / 418.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.13, allocations: 19.92 kB / 418.1 MB, free: 13.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1316, allocations: 0.6397 MB / 418.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.1319, allocations: 0.7004 MB / 419.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.414e-05/0.132, allocations: 11.84 kB / 419.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.1321, allocations: 31.42 kB / 419.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.523e-06/0.1321, allocations: 0 / 419.5 MB, free: 12.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.1551, allocations: 2.607 MB / 422.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004283/0.1556, allocations: 255.6 kB / 422.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/2.787, allocations: 0 / 422.3 MB, free: 9.57 MB / 330.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,der(d_t_new.u),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_min,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.verboseRead,t_new.y[1],time