Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test24",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.009978/0.009983, allocations: 179 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.118/2.118, allocations: 194.5 MB / 210.3 MB, free: 7.598 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.002361/0.002361, allocations: 108.2 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.2815/0.2815, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005347/0.000535, allocations: 12.5 kB / 406.3 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1108, allocations: 54.87 MB / 461.2 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002653/0.1136, allocations: 1.369 MB / 462.5 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1154, allocations: 0.7072 MB / 463.2 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.546e-05/0.1155, allocations: 8 kB / 463.2 MB, free: 1.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.1158, allocations: 31.89 kB / 463.3 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002118/0.116, allocations: 39.83 kB / 463.3 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.1163, allocations: 51.89 kB / 463.4 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1165, allocations: 87.69 kB / 463.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.1167, allocations: 7.984 kB / 463.5 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.1168, allocations: 35.86 kB / 463.5 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.1169, allocations: 31.84 kB / 463.5 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1169, allocations: 4 kB / 463.5 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1171, allocations: 35.98 kB / 463.6 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.1172, allocations: 23.91 kB / 463.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.967e-05/0.1172, allocations: 37.64 kB / 463.6 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1175, allocations: 83.81 kB / 463.7 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.1175, allocations: 4 kB / 463.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1175, allocations: 0 / 463.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1175, allocations: 0 / 463.7 MB, free: 0.5898 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.0006032/0.1181, allocations: 457.4 kB / 464.2 MB, free: 88 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.1182, allocations: 8.031 kB / 464.2 MB, free: 80 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.1183, allocations: 34.55 kB / 464.2 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.1183, allocations: 11.91 kB / 464.2 MB, free: 24 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.1187, allocations: 194.8 kB / 464.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1188, allocations: 8 kB / 464.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1188, allocations: 11.94 kB / 464.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.1191, allocations: 57.61 kB / 464.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.1191, allocations: 4 kB / 464.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.1191, allocations: 7.938 kB / 464.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1192, allocations: 0 / 464.5 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1193, allocations: 19.98 kB / 464.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.1199, allocations: 300.8 kB / 464.8 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.1203, allocations: 58.62 kB / 464.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1204, allocations: 28.84 kB / 464.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.1205, allocations: 0 / 464.9 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003035/0.1208, allocations: 71.28 kB / 465 MB, free: 15.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.1208, allocations: 0 / 465 MB, free: 15.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.001013/0.1218, allocations: 181.2 kB / 465.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.1219, allocations: 55.41 kB / 465.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003555/0.1223, allocations: 195.3 kB / 465.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.1223, allocations: 25.7 kB / 465.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.1225, allocations: 108 kB / 465.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.66e-05/0.1225, allocations: 19.72 kB / 465.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.1226, allocations: 0 / 465.5 MB, free: 14.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1228, allocations: 326.8 kB / 465.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1229, allocations: 27.98 kB / 465.9 MB, free: 14.19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.1232, allocations: 57.56 kB / 465.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.1234, allocations: 65.7 kB / 466 MB, free: 14.06 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1234, allocations: 0 / 466 MB, free: 14.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005697/0.124, allocations: 166.7 kB / 466.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.796e-05/0.1241, allocations: 41.69 kB / 466.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1241, allocations: 0 / 466.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1241, allocations: 4 kB / 466.2 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1243, allocations: 12 kB / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1244, allocations: 0 / 466.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.1245, allocations: 12.02 kB / 466.2 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.1246, allocations: 8 kB / 466.2 MB, free: 13.8 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.0001909/0.1248, allocations: 128.5 kB / 466.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.1248, allocations: 15.84 kB / 466.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.1249, allocations: 13.41 kB / 466.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.1249, allocations: 4 kB / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1249, allocations: 3.938 kB / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.125, allocations: 0 / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008921/0.1259, allocations: 395.3 kB / 466.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.1259, allocations: 384 / 466.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.954e-05/0.126, allocations: 12.03 kB / 466.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.126, allocations: 7.938 kB / 466.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.1261, allocations: 11.98 kB / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1261, allocations: 3.938 kB / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1261, allocations: 0 / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000465/0.1266, allocations: 208.2 kB / 467 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1267, allocations: 97 kB / 467.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.1268, allocations: 4 kB / 467.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.127, allocations: 4 kB / 467.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.127, allocations: 11.92 kB / 467.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.1271, allocations: 0 / 467.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.1273, allocations: 146 kB / 467.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1274, allocations: 4 kB / 467.3 MB, free: 12.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006338/0.128, allocations: 32 kB / 467.3 MB, free: 12.63 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.002551/0.1306, allocations: 1.054 MB / 468.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.1311, allocations: 147.3 kB / 468.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.1311, allocations: 4 kB / 468.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.1313, allocations: 31.92 kB / 468.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006712/0.132, allocations: 23.36 kB / 468.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.1344, allocations: 0.7394 MB / 469.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/0.1349, allocations: 0.7121 MB / 470 MB, free: 9.891 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000122/0.1351, allocations: 16.41 kB / 470 MB, free: 9.875 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.1352, allocations: 35.42 kB / 470.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1352, allocations: 0 / 470.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0481/0.1833, allocations: 2.951 MB / 473 MB, free: 6.914 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/0.1837, allocations: 243.7 kB / 473.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/2.709, allocations: 8 kB / 473.3 MB, free: 6.594 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.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time