Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009533/0.009533, allocations: 175.7 kB / 15.13 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.049/2.049, allocations: 194.5 MB / 210.3 MB, free: 8.578 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001805/0.001805, allocations: 120 kB / 255.6 MB, free: 11.19 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2875/0.2875, allocations: 40.01 MB / 340.8 MB, free: 11.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005082, allocations: 18.52 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09799/0.09855, allocations: 54.87 MB / 461.2 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002006/0.1006, allocations: 1.365 MB / 462.5 MB, free: 1.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.102, allocations: 0.7189 MB / 463.2 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.422e-05/0.1021, allocations: 0 / 463.2 MB, free: 1.188 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1024, allocations: 31.89 kB / 463.3 MB, free: 1.156 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1026, allocations: 31.84 kB / 463.3 MB, free: 1.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.1028, allocations: 51.89 kB / 463.4 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.103, allocations: 87.69 kB / 463.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.1031, allocations: 19.97 kB / 463.5 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.598e-05/0.1032, allocations: 27.86 kB / 463.5 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.62e-05/0.1033, allocations: 27.86 kB / 463.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.1033, allocations: 4 kB / 463.5 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1035, allocations: 39.97 kB / 463.6 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.1035, allocations: 15.92 kB / 463.6 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1036, allocations: 37.7 kB / 463.6 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.1038, allocations: 87.75 kB / 463.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1038, allocations: 0 / 463.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1038, allocations: 4 kB / 463.7 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1038, allocations: 0 / 463.7 MB, free: 0.7227 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000486/0.1043, allocations: 442.4 kB / 464.1 MB, free: 236 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1043, allocations: 8.031 kB / 464.1 MB, free: 228 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1044, allocations: 38.55 kB / 464.2 MB, free: 180 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1044, allocations: 7.906 kB / 464.2 MB, free: 172 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.1047, allocations: 191.5 kB / 464.4 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.1047, allocations: 8 kB / 464.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.1048, allocations: 8 kB / 464.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.105, allocations: 53.67 kB / 464.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.105, allocations: 3.938 kB / 464.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.105, allocations: 11.88 kB / 464.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.105, allocations: 0 / 464.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.1052, allocations: 16 kB / 464.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.1056, allocations: 292.8 kB / 464.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1059, allocations: 62.61 kB / 464.8 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.144e-05/0.106, allocations: 28.84 kB / 464.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.106, allocations: 0 / 464.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.1063, allocations: 75.28 kB / 464.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1063, allocations: 0 / 464.9 MB, free: 15.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008057/0.1071, allocations: 181.2 kB / 465.1 MB, free: 15.13 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.1072, allocations: 51.41 kB / 465.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.1074, allocations: 172.5 kB / 465.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.1075, allocations: 33.7 kB / 465.3 MB, free: 14.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.1075, allocations: 96.12 kB / 465.4 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.1076, allocations: 23.66 kB / 465.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.826e-06/0.1076, allocations: 0 / 465.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1078, allocations: 322.8 kB / 465.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1079, allocations: 35.98 kB / 465.8 MB, free: 14.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.1081, allocations: 45.64 kB / 465.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.1082, allocations: 73.25 kB / 465.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1082, allocations: 0 / 465.9 MB, free: 14.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004055/0.1087, allocations: 155.2 kB / 466.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.866e-05/0.1087, allocations: 39.72 kB / 466.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1087, allocations: 0 / 466.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.1088, allocations: 8.031 kB / 466.1 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.1089, allocations: 19.94 kB / 466.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.109, allocations: 0 / 466.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.376e-05/0.109, allocations: 4 kB / 466.1 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/0.1091, allocations: 7.984 kB / 466.2 MB, free: 14 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001442/0.1092, allocations: 125.2 kB / 466.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1093, allocations: 15.86 kB / 466.3 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.327e-05/0.1094, allocations: 16.7 kB / 466.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1094, allocations: 0 / 466.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1094, allocations: 4 kB / 466.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.1094, allocations: 0 / 466.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.1101, allocations: 399.2 kB / 466.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1101, allocations: 0 / 466.7 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-05/0.1102, allocations: 8 kB / 466.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1102, allocations: 0 / 466.7 MB, free: 13.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.1102, allocations: 7.938 kB / 466.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.1102, allocations: 8.031 kB / 466.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1102, allocations: 7.969 kB / 466.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.1106, allocations: 200.4 kB / 466.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.983e-05/0.1107, allocations: 89 kB / 467 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.1107, allocations: 12.36 kB / 467 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1109, allocations: 0 / 467 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1109, allocations: 8 kB / 467 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.1109, allocations: 11.98 kB / 467.1 MB, free: 13 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001424/0.1111, allocations: 124.1 kB / 467.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1111, allocations: 0 / 467.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.1115, allocations: 28 kB / 467.2 MB, free: 12.86 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001799/0.1133, allocations: 1.066 MB / 468.3 MB, free: 11.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000401/0.1137, allocations: 147.3 kB / 468.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1138, allocations: 0 / 468.4 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.1139, allocations: 31.92 kB / 468.4 MB, free: 11.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1144, allocations: 27.36 kB / 468.5 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.1161, allocations: 0.6981 MB / 469.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003279/0.1164, allocations: 0.7082 MB / 469.9 MB, free: 10.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.788e-05/0.1165, allocations: 8.438 kB / 469.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.1166, allocations: 31.42 kB / 469.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1166, allocations: 0 / 469.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.1466, allocations: 2.836 MB / 472.7 MB, free: 7.297 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003971/0.1471, allocations: 244.8 kB / 473 MB, free: 6.984 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/2.67, allocations: 4 kB / 473 MB, free: 6.98 MB / 314.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),der(t_new.timeScaled),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,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_maxScaled,t_new.t_min,t_new.t_minScaled,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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time