Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test4",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.01243/0.01243, allocations: 162.2 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.775/1.775, allocations: 170.8 MB / 186.7 MB, free: 1.109 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.002389/0.002389, 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.4618/0.4618, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004732, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1049, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002295/0.1073, allocations: 1.218 MB / 412.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000647/0.108, allocations: 239.9 kB / 413.2 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.653e-05/0.108, allocations: 8 kB / 413.2 MB, free: 3.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.1083, allocations: 79.86 kB / 413.2 MB, free: 3.172 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1085, allocations: 51.88 kB / 413.3 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.1087, allocations: 31.91 kB / 413.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.1089, allocations: 67.81 kB / 413.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.109, allocations: 19.97 kB / 413.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.1091, allocations: 31.91 kB / 413.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1092, allocations: 39.83 kB / 413.5 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.1092, allocations: 4 kB / 413.5 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.398e-05/0.1093, allocations: 23.98 kB / 413.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.1094, allocations: 27.86 kB / 413.5 MB, free: 2.879 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.1095, allocations: 37.64 kB / 413.6 MB, free: 2.836 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.1096, allocations: 68.05 kB / 413.6 MB, free: 2.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1096, allocations: 4 kB / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1096, allocations: 0 / 413.6 MB, free: 2.766 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1097, allocations: 0 / 413.6 MB, free: 2.766 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005559/0.1102, allocations: 416.6 kB / 414 MB, free: 2.305 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1103, allocations: 12.03 kB / 414.1 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.643e-05/0.1103, allocations: 34.56 kB / 414.1 MB, free: 2.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.737e-05/0.1104, allocations: 11.89 kB / 414.1 MB, free: 2.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1106, allocations: 192.2 kB / 414.3 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1106, allocations: 8 kB / 414.3 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.1107, allocations: 7.984 kB / 414.3 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001933/0.1109, allocations: 61.61 kB / 414.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1109, allocations: 0 / 414.4 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.1109, allocations: 4 kB / 414.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1109, allocations: 0 / 414.4 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.1111, allocations: 35.97 kB / 414.4 MB, free: 1.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.1116, allocations: 308.7 kB / 414.7 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.1118, allocations: 58.48 kB / 414.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.1119, allocations: 24.98 kB / 414.8 MB, free: 1.445 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1119, allocations: 4 kB / 414.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.112, allocations: 42.55 kB / 414.8 MB, free: 1.391 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.112, allocations: 3.938 kB / 414.8 MB, free: 1.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009188/0.1129, allocations: 205.1 kB / 415 MB, free: 1.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.113, allocations: 51.41 kB / 415.1 MB, free: 1.117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.1133, allocations: 220 kB / 415.3 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1133, allocations: 29.7 kB / 415.3 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.257e-05/0.1134, allocations: 108.2 kB / 415.4 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1134, allocations: 27.72 kB / 415.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1135, allocations: 0 / 415.5 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1136, allocations: 330.8 kB / 415.8 MB, free: 396 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.1138, allocations: 27.97 kB / 415.8 MB, free: 368 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.1139, allocations: 35.92 kB / 415.8 MB, free: 332 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1141, allocations: 61.88 kB / 415.9 MB, free: 264 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1141, allocations: 7.938 kB / 415.9 MB, free: 256 kB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004033/0.1145, allocations: 147.1 kB / 416.1 MB, free: 96 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.761e-05/0.1146, allocations: 33.69 kB / 416.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1146, allocations: 0 / 416.1 MB, free: 56 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.1146, allocations: 3.953 kB / 416.1 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1148, allocations: 19.98 kB / 416.1 MB, free: 32 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1148, allocations: 8 kB / 416.1 MB, free: 24 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.1149, allocations: 4 kB / 416.1 MB, free: 20 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.1149, allocations: 4 kB / 416.1 MB, free: 16 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001518/0.1151, allocations: 130.9 kB / 416.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.1151, allocations: 7.906 kB / 416.3 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.1156, allocations: 139 kB / 416.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.1156, allocations: 3.953 kB / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1156, allocations: 0 / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1156, allocations: 4 kB / 416.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.1164, allocations: 402.4 kB / 416.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1164, allocations: 0 / 416.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.1165, allocations: 23.92 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/0.1165, allocations: 3.953 kB / 416.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1166, allocations: 7.938 kB / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1166, allocations: 384 / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1166, allocations: 0 / 416.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.117, allocations: 207.4 kB / 417 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.1171, allocations: 88.92 kB / 417.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1171, allocations: 7.953 kB / 417.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1173, allocations: 7.984 kB / 417.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.1173, allocations: 8 kB / 417.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1173, allocations: 8 kB / 417.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.1175, allocations: 163.9 kB / 417.3 MB, free: 14.72 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1176, allocations: 7.938 kB / 417.3 MB, free: 14.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003187/0.1179, allocations: 20 kB / 417.3 MB, free: 14.69 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001252/0.1192, allocations: 0.8764 MB / 418.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.1196, allocations: 135.3 kB / 418.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.1196, allocations: 0 / 418.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1198, allocations: 39.97 kB / 418.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1202, allocations: 11.95 kB / 418.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.122, allocations: 0.7759 MB / 419.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.1224, allocations: 0.7119 MB / 419.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.624e-05/0.1225, allocations: 11.98 kB / 419.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.1226, allocations: 35.42 kB / 419.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1226, allocations: 3.938 kB / 419.9 MB, free: 12.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06/0.1826, allocations: 2.283 MB / 422.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003627/0.1831, allocations: 241.3 kB / 422.5 MB, free: 9.48 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.558, allocations: 4 kB / 422.5 MB, free: 9.477 MB / 330.7 MB "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(clock.y),der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],t_new.nout,t_new.smoothness,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.u,t_new.verboseRead,t_new.y[1],t_new.y[2],time