Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test65",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.01011/0.01011, allocations: 164.9 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.629/1.629, allocations: 170.8 MB / 186.6 MB, free: 1.117 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.001721/0.00172, allocations: 118.7 kB / 226.2 MB, free: 10.08 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.5849/0.5849, allocations: 38.05 MB / 303.7 MB, free: 42.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004551/0.0004554, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1034, allocations: 48.71 MB / 411.7 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002374/0.1059, allocations: 1.267 MB / 413 MB, free: 3.391 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.107, allocations: 399.5 kB / 413.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.1071, allocations: 0 / 413.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003667/0.1075, allocations: 75.83 kB / 413.4 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.1077, allocations: 55.81 kB / 413.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.108, allocations: 51.88 kB / 413.5 MB, free: 2.816 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1082, allocations: 67.7 kB / 413.6 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.131e-05/0.1082, allocations: 11.97 kB / 413.6 MB, free: 2.738 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.1083, allocations: 31.91 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.1085, allocations: 43.83 kB / 413.7 MB, free: 2.664 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.1085, allocations: 3.984 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1086, allocations: 24 kB / 413.7 MB, free: 2.637 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.1087, allocations: 19.92 kB / 413.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5e-05/0.1088, allocations: 33.7 kB / 413.8 MB, free: 2.578 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.109, allocations: 76.12 kB / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.109, allocations: 0 / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.109, allocations: 0 / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.109, allocations: 0 / 413.9 MB, free: 2.504 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005741/0.1096, allocations: 408.6 kB / 414.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.1097, allocations: 12.03 kB / 414.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.96e-05/0.1097, allocations: 42.48 kB / 414.3 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.1098, allocations: 7.906 kB / 414.3 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.1101, allocations: 198.8 kB / 414.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1101, allocations: 4 kB / 414.5 MB, free: 1.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.1101, allocations: 4 kB / 414.5 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1103, allocations: 37.69 kB / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1103, allocations: 0 / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1103, allocations: 4 kB / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1103, allocations: 0 / 414.6 MB, free: 1.691 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.628e-05/0.1104, allocations: 7.984 kB / 414.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.1107, allocations: 185.5 kB / 414.7 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.1108, allocations: 38.5 kB / 414.8 MB, free: 1.406 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.1109, allocations: 4.859 kB / 414.8 MB, free: 1.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.1109, allocations: 4.062 kB / 414.8 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1112, allocations: 55.39 kB / 414.8 MB, free: 1.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.374e-06/0.1112, allocations: 0 / 414.8 MB, free: 1.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003006/0.1115, allocations: 65.53 kB / 414.9 MB, free: 1.258 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.1116, allocations: 59.41 kB / 415 MB, free: 1.188 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.112, allocations: 195.5 kB / 415.2 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.112, allocations: 25.7 kB / 415.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1121, allocations: 100.1 kB / 415.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1122, allocations: 7.906 kB / 415.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.314e-06/0.1122, allocations: 4 kB / 415.3 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1124, allocations: 318.8 kB / 415.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.385e-05/0.1125, allocations: 15.94 kB / 415.6 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.26e-05/0.1126, allocations: 15.98 kB / 415.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.1127, allocations: 53.66 kB / 415.7 MB, free: 444 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1127, allocations: 0 / 415.7 MB, free: 444 kB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002955/0.113, allocations: 111.2 kB / 415.8 MB, free: 320 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.1131, allocations: 33.69 kB / 415.8 MB, free: 280 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.1131, allocations: 4 kB / 415.8 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.1132, allocations: 0 / 415.8 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.1133, allocations: 4 kB / 415.8 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1133, allocations: 0 / 415.8 MB, free: 272 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.1134, allocations: 11.84 kB / 415.8 MB, free: 260 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1134, allocations: 4 kB / 415.9 MB, free: 256 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 (5): * Single equations (assignments): 4 * 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.0001704/0.1136, allocations: 134.8 kB / 416 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.1137, allocations: 7.906 kB / 416 MB, free: 104 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.1137, allocations: 8.25 kB / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1138, allocations: 128 / 416 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.1138, allocations: 4 kB / 416 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1138, allocations: 3.984 kB / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1141, allocations: 177.7 kB / 416.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.1141, allocations: 3.953 kB / 416.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.1142, allocations: 0 / 416.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.1142, allocations: 8 kB / 416.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.1142, allocations: 0 / 416.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.1142, allocations: 3.984 kB / 416.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1143, allocations: 3.938 kB / 416.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1145, allocations: 85.2 kB / 416.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-05/0.1146, allocations: 88.97 kB / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.1146, allocations: 0 / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.1147, allocations: 3.984 kB / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.141e-05/0.1148, allocations: 8 kB / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1148, allocations: 0 / 416.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002429/0.1151, allocations: 151.2 kB / 416.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1151, allocations: 0 / 416.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000482/0.1156, allocations: 12 kB / 416.5 MB, free: 15.46 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 (3): * Single equations (assignments): 2 * 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.001737/0.1173, allocations: 0.847 MB / 417.4 MB, free: 14.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1177, allocations: 87.39 kB / 417.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.1177, allocations: 4 kB / 417.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.1177, allocations: 4 kB / 417.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.1182, allocations: 19.98 kB / 417.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001801/0.1201, allocations: 0.6324 MB / 418.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1206, allocations: 0.7004 MB / 418.8 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.351e-05/0.1207, allocations: 16.11 kB / 418.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.512e-05/0.1208, allocations: 23.44 kB / 418.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1208, allocations: 0 / 418.9 MB, free: 13.05 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07036/0.1912, allocations: 2.398 MB / 421.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004034/0.1916, allocations: 251.6 kB / 421.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/2.743, allocations: 0 / 421.5 MB, free: 10.36 MB / 330.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_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.table[5,1],t_new.table[5,2],t_new.verboseRead,t_new.y[1],time