Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test23",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.009298/0.009298, 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.729/1.729, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001729/0.001729, allocations: 114.4 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.4671/0.4671, allocations: 38.04 MB / 303.7 MB, free: 42.49 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006458/0.0006461, allocations: 12 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1079, allocations: 48.7 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002443/0.1104, allocations: 1.298 MB / 413 MB, free: 3.371 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.1116, allocations: 419.5 kB / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.1117, allocations: 0 / 413.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.112, allocations: 31.89 kB / 413.4 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1122, allocations: 35.89 kB / 413.5 MB, free: 2.891 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.1124, allocations: 59.81 kB / 413.5 MB, free: 2.832 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1126, allocations: 67.77 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.1127, allocations: 7.984 kB / 413.6 MB, free: 2.758 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.1128, allocations: 23.92 kB / 413.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.592e-05/0.1129, allocations: 27.84 kB / 413.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.1129, allocations: 4 kB / 413.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.1131, allocations: 35.98 kB / 413.7 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.1131, allocations: 19.92 kB / 413.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.051e-05/0.1132, allocations: 33.7 kB / 413.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1134, allocations: 95.98 kB / 413.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1134, allocations: 7.922 kB / 413.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1134, allocations: 0 / 413.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1134, allocations: 0 / 413.9 MB, free: 2.508 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.000581/0.114, allocations: 404.7 kB / 414.3 MB, free: 2.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1141, allocations: 8.031 kB / 414.3 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.072e-05/0.1141, allocations: 34.56 kB / 414.3 MB, free: 2.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.1142, allocations: 11.89 kB / 414.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.1144, allocations: 199.4 kB / 414.5 MB, free: 1.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.1145, allocations: 8 kB / 414.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1145, allocations: 0 / 414.5 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.1147, allocations: 45.67 kB / 414.6 MB, free: 1.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1147, allocations: 3.938 kB / 414.6 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.1147, allocations: 4 kB / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1147, allocations: 0 / 414.6 MB, free: 1.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.1148, allocations: 11.98 kB / 414.6 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.1152, allocations: 280.9 kB / 414.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1155, allocations: 46.56 kB / 414.9 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.1155, allocations: 12.8 kB / 414.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1156, allocations: 0 / 414.9 MB, free: 1.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.1157, allocations: 63.39 kB / 415 MB, free: 1.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.1158, allocations: 3.938 kB / 415 MB, free: 1.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004656/0.1162, allocations: 117.3 kB / 415.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1163, allocations: 55.41 kB / 415.1 MB, free: 1.023 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.1165, allocations: 182.3 kB / 415.3 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1166, allocations: 33.69 kB / 415.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.1167, allocations: 96.14 kB / 415.4 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1167, allocations: 15.8 kB / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.1167, allocations: 0 / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1169, allocations: 318.8 kB / 415.8 MB, free: 372 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.117, allocations: 23.98 kB / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.108e-05/0.117, allocations: 16 kB / 415.8 MB, free: 332 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.692e-05/0.1171, allocations: 49.69 kB / 415.9 MB, free: 276 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.1171, allocations: 0 / 415.9 MB, free: 276 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000243/0.1174, allocations: 127.3 kB / 416 MB, free: 136 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.1174, allocations: 33.7 kB / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1175, allocations: 0 / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1175, allocations: 0 / 416 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.239e-05/0.1176, allocations: 11.98 kB / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.1176, allocations: 0 / 416 MB, free: 84 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.527e-05/0.1177, allocations: 7.953 kB / 416 MB, free: 76 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.1177, allocations: 4.062 kB / 416 MB, free: 72 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.0001548/0.1178, allocations: 134.8 kB / 416.2 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.1179, allocations: 11.91 kB / 416.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.049e-05/0.1179, allocations: 8.312 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.118, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.118, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.118, allocations: 0 / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1184, allocations: 346.5 kB / 416.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.103e-06/0.1185, allocations: 4 kB / 416.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.1185, allocations: 7.938 kB / 416.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1185, allocations: 0 / 416.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1185, allocations: 0 / 416.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.1185, allocations: 4 kB / 416.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.1186, allocations: 3.953 kB / 416.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.1188, allocations: 171.6 kB / 416.7 MB, free: 15.31 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.1189, allocations: 85.02 kB / 416.8 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.1189, allocations: 15.92 kB / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/0.119, allocations: 0 / 416.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.1191, allocations: 7.984 kB / 416.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1191, allocations: 3.953 kB / 416.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.1193, allocations: 135.2 kB / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1193, allocations: 0 / 417 MB, free: 15.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003645/0.1197, allocations: 39.92 kB / 417 MB, free: 15.01 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.001422/0.1211, allocations: 0.9446 MB / 417.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1214, allocations: 107.4 kB / 418 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1214, allocations: 4 kB / 418.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.1214, allocations: 15.94 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.0004118/0.1219, allocations: 19.98 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.001433/0.1233, allocations: 0.6436 MB / 418.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1237, allocations: 0.7043 MB / 419.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.185e-05/0.1238, allocations: 11.86 kB / 419.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.494e-05/0.1239, allocations: 23.42 kB / 419.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1239, allocations: 4 kB / 419.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.1502, allocations: 2.599 MB / 422.1 MB, free: 9.895 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003507/0.1506, allocations: 251.6 kB / 422.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/2.652, allocations: 4 kB / 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