Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTimeTable_Test7",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.009826/0.00983, allocations: 165.7 kB / 15.12 MB, free: 5.957 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.746/1.746, allocations: 170.8 MB / 186.7 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.002659/0.002659, allocations: 106.8 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.5058/0.5058, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005172, allocations: 16 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1047, allocations: 48.71 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002457/0.1072, allocations: 1.298 MB / 413 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.1084, allocations: 419.5 kB / 413.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.965e-05/0.1085, allocations: 4 kB / 413.4 MB, free: 2.949 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003884/0.1089, allocations: 99.78 kB / 413.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002204/0.1092, allocations: 63.8 kB / 413.6 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1094, allocations: 55.86 kB / 413.6 MB, free: 2.734 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001658/0.1096, allocations: 75.77 kB / 413.7 MB, free: 2.66 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.1097, allocations: 19.95 kB / 413.7 MB, free: 2.641 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.068e-05/0.1098, allocations: 23.92 kB / 413.8 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.11, allocations: 51.81 kB / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.11, allocations: 7.938 kB / 413.8 MB, free: 2.559 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1102, allocations: 31.98 kB / 413.8 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.1102, allocations: 23.92 kB / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.1103, allocations: 37.64 kB / 413.9 MB, free: 2.461 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.1105, allocations: 96.03 kB / 414 MB, free: 2.367 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.1105, allocations: 4 kB / 414 MB, free: 2.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1106, allocations: 4 kB / 414 MB, free: 2.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.1106, allocations: 0 / 414 MB, free: 2.359 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.0005999/0.1112, allocations: 420.5 kB / 414.4 MB, free: 1.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1112, allocations: 12.03 kB / 414.4 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.1113, allocations: 34.56 kB / 414.5 MB, free: 1.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.1113, allocations: 7.906 kB / 414.5 MB, free: 1.832 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.1116, allocations: 214.8 kB / 414.7 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1117, allocations: 0 / 414.7 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1117, allocations: 4 kB / 414.7 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.1118, allocations: 49.67 kB / 414.7 MB, free: 1.523 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1119, allocations: 3.906 kB / 414.7 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1119, allocations: 0 / 414.7 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.1119, allocations: 0 / 414.7 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.112, allocations: 19.92 kB / 414.8 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.1125, allocations: 284.9 kB / 415 MB, free: 1.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.1127, allocations: 50.5 kB / 415.1 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.1128, allocations: 12.86 kB / 415.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1128, allocations: 0 / 415.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.113, allocations: 55.48 kB / 415.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.113, allocations: 0 / 415.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004823/0.1135, allocations: 117.2 kB / 415.3 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.1136, allocations: 51.41 kB / 415.3 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.1139, allocations: 230.3 kB / 415.5 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1139, allocations: 29.7 kB / 415.6 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.114, allocations: 112.1 kB / 415.7 MB, free: 476 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1141, allocations: 7.812 kB / 415.7 MB, free: 468 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.1141, allocations: 4 kB / 415.7 MB, free: 464 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1142, allocations: 326.8 kB / 416 MB, free: 128 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.1143, allocations: 15.98 kB / 416 MB, free: 112 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.783e-05/0.1144, allocations: 27.92 kB / 416.1 MB, free: 84 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.294e-05/0.1145, allocations: 49.73 kB / 416.1 MB, free: 28 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1145, allocations: 4 kB / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002774/0.1148, allocations: 119.2 kB / 416.2 MB, free: 15.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.1148, allocations: 37.64 kB / 416.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1148, allocations: 0 / 416.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1149, allocations: 3.984 kB / 416.3 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.928e-05/0.115, allocations: 8 kB / 416.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.115, allocations: 4 kB / 416.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.1151, allocations: 3.953 kB / 416.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.1151, allocations: 4 kB / 416.3 MB, free: 15.83 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 (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.0001415/0.1152, allocations: 130.9 kB / 416.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.1153, allocations: 11.91 kB / 416.4 MB, free: 15.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.1153, allocations: 16.98 kB / 416.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.1154, allocations: 0 / 416.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1154, allocations: 0 / 416.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1154, allocations: 0 / 416.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.1159, allocations: 354.5 kB / 416.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.1159, allocations: 0 / 416.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.46e-05/0.1159, allocations: 4 kB / 416.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.116, allocations: 7.938 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.116, allocations: 4 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.116, allocations: 4 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.116, allocations: 3.953 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.1162, allocations: 167.8 kB / 417 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.904e-05/0.1163, allocations: 92.94 kB / 417.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.1164, allocations: 4 kB / 417.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.1165, allocations: 0 / 417.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1165, allocations: 11.98 kB / 417.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.1166, allocations: 11.94 kB / 417.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002099/0.1168, allocations: 168.2 kB / 417.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1168, allocations: 0 / 417.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003694/0.1172, allocations: 31.98 kB / 417.3 MB, free: 14.73 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.001424/0.1186, allocations: 0.9473 MB / 418.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002673/0.1189, allocations: 107.3 kB / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1189, allocations: 0 / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.006e-05/0.119, allocations: 16 kB / 418.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.1195, allocations: 15.98 kB / 418.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1211, allocations: 0.7357 MB / 419.1 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1214, allocations: 0.7121 MB / 419.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.369e-05/0.1215, allocations: 8.141 kB / 419.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.1216, allocations: 35.42 kB / 419.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of SimCode: time 3.877e-06/0.1216, allocations: 96 / 419.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.1497, allocations: 2.797 MB / 422.7 MB, free: 9.312 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003388/0.1501, allocations: 242.4 kB / 422.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/2.728, allocations: 0 / 422.9 MB, free: 9.031 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[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],time