Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test77",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.01034/0.01034, allocations: 177.2 kB / 15.13 MB, free: 5.953 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.172/2.172, allocations: 194.5 MB / 210.3 MB, free: 7.594 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.001866/0.001865, allocations: 116.1 kB / 255.6 MB, free: 10.22 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.2637/0.2637, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.0005042, allocations: 13 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1012, allocations: 54.89 MB / 461.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002157/0.1034, allocations: 1.501 MB / 462.7 MB, free: 1.641 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.1053, allocations: 0.9369 MB / 463.6 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.1054, allocations: 8 kB / 463.6 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.1058, allocations: 147.7 kB / 463.8 MB, free: 0.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002718/0.1061, allocations: 99.67 kB / 463.9 MB, free: 456 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1064, allocations: 107.7 kB / 464 MB, free: 348 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.1067, allocations: 187.5 kB / 464.1 MB, free: 160 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1068, allocations: 17.55 kB / 464.2 MB, free: 144 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.107, allocations: 95.55 kB / 464.3 MB, free: 48 kB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.1072, allocations: 115.6 kB / 464.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.1072, allocations: 4 kB / 464.4 MB, free: 15.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.1075, allocations: 59.97 kB / 464.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.091e-05/0.1076, allocations: 43.83 kB / 464.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.1076, allocations: 49.64 kB / 464.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.108, allocations: 167.7 kB / 464.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.108, allocations: 0 / 464.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.108, allocations: 4 kB / 464.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.108, allocations: 0 / 464.7 MB, free: 15.61 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008859/0.1089, allocations: 0.5986 MB / 465.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.109, allocations: 8.031 kB / 465.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.814e-05/0.109, allocations: 38.56 kB / 465.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.1091, allocations: 23.72 kB / 465.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.1095, allocations: 242.6 kB / 465.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.1096, allocations: 4 kB / 465.6 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.971e-05/0.1096, allocations: 15.98 kB / 465.6 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1099, allocations: 103.3 kB / 465.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.11, allocations: 3.938 kB / 465.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.11, allocations: 3.953 kB / 465.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.11, allocations: 0 / 465.7 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.1102, allocations: 43.97 kB / 465.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006923/0.1109, allocations: 456.8 kB / 466.2 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.1114, allocations: 117.3 kB / 466.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.1116, allocations: 45.66 kB / 466.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1116, allocations: 4 kB / 466.4 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003505/0.112, allocations: 121 kB / 466.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.034e-06/0.112, allocations: 0 / 466.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.001363/0.1134, allocations: 356.8 kB / 466.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.1134, allocations: 85.09 kB / 466.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.114, allocations: 338.7 kB / 467.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.114, allocations: 33.7 kB / 467.3 MB, free: 12.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1142, allocations: 140.4 kB / 467.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.1142, allocations: 47.34 kB / 467.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.865e-05/0.1143, allocations: 8 kB / 467.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1144, allocations: 334.8 kB / 467.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.1147, allocations: 64.09 kB / 467.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.1149, allocations: 99.77 kB / 468 MB, free: 12.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002892/0.1152, allocations: 134.7 kB / 468.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1153, allocations: 0 / 468.1 MB, free: 11.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007246/0.116, allocations: 292.7 kB / 468.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.911e-05/0.1161, allocations: 71.58 kB / 468.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.1161, allocations: 0 / 468.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.1161, allocations: 7.938 kB / 468.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.1164, allocations: 28.17 kB / 468.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.1164, allocations: 4 kB / 468.5 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.1166, allocations: 16 kB / 468.5 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.1167, allocations: 19.86 kB / 468.5 MB, free: 11.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002074/0.1169, allocations: 153.8 kB / 468.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.1169, allocations: 23.72 kB / 468.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.801e-05/0.117, allocations: 33.7 kB / 468.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.1171, allocations: 3.984 kB / 468.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1171, allocations: 0 / 468.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.1171, allocations: 4 kB / 468.7 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.1182, allocations: 0.6163 MB / 469.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.1182, allocations: 0 / 469.4 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1184, allocations: 23.92 kB / 469.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.1184, allocations: 0 / 469.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.1184, allocations: 4 kB / 469.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.1184, allocations: 4 kB / 469.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1184, allocations: 0 / 469.4 MB, free: 10.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.1191, allocations: 370.8 kB / 469.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.1192, allocations: 112.8 kB / 469.9 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.1193, allocations: 4 kB / 469.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.1195, allocations: 11.98 kB / 469.9 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.1196, allocations: 15.92 kB / 469.9 MB, free: 9.953 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.1196, allocations: 8 kB / 469.9 MB, free: 9.945 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003718/0.12, allocations: 257.9 kB / 470.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.12, allocations: 0 / 470.2 MB, free: 9.695 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.1206, allocations: 67.94 kB / 470.2 MB, free: 9.629 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002911/0.1235, allocations: 1.453 MB / 471.7 MB, free: 8.246 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007778/0.1243, allocations: 294.7 kB / 472 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.1244, allocations: 128 / 472 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.1246, allocations: 75.83 kB / 472 MB, free: 7.859 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.1254, allocations: 40.8 kB / 472.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.1288, allocations: 1.367 MB / 473.4 MB, free: 6.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.1293, allocations: 0.7638 MB / 474.2 MB, free: 5.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.1294, allocations: 25.47 kB / 474.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.1296, allocations: 71.41 kB / 474.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of SimCode: time 1.363e-06/0.1296, allocations: 0 / 474.3 MB, free: 5.496 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.031/0.1606, allocations: 5.194 MB / 479.5 MB, free: 316 kB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003786/0.1611, allocations: 251.5 kB / 479.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.867/3.028, allocations: 0 / 479.7 MB, free: 15.99 MB / 330.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),der(t_new.timeScaled),der(t_new_2.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.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.table[6,1],t_new.table[6,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time