Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test34",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.009807/0.009811, allocations: 178.4 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.098/2.098, allocations: 194.5 MB / 210.3 MB, free: 8.574 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.001816/0.001816, allocations: 124 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.3135/0.3135, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007128/0.0007132, allocations: 12.41 kB / 406.3 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1146, allocations: 54.88 MB / 461.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002081/0.1168, allocations: 1.365 MB / 462.5 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1183, allocations: 0.719 MB / 463.2 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1185, allocations: 0 / 463.2 MB, free: 1.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.1188, allocations: 31.91 kB / 463.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.119, allocations: 31.83 kB / 463.3 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1193, allocations: 51.89 kB / 463.4 MB, free: 1.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1195, allocations: 91.69 kB / 463.5 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1197, allocations: 4 kB / 463.5 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.484e-05/0.1198, allocations: 35.84 kB / 463.5 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.252e-05/0.1199, allocations: 35.84 kB / 463.5 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.032e-05/0.1199, allocations: 0 / 463.5 MB, free: 0.8906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001315/0.12, allocations: 35.98 kB / 463.6 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.1201, allocations: 19.92 kB / 463.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.1202, allocations: 37.64 kB / 463.6 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.1203, allocations: 87.81 kB / 463.7 MB, free: 0.707 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1204, allocations: 0 / 463.7 MB, free: 0.707 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1204, allocations: 3.938 kB / 463.7 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1204, allocations: 0 / 463.7 MB, free: 0.7031 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.0005469/0.1209, allocations: 450.3 kB / 464.1 MB, free: 208 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.121, allocations: 12.03 kB / 464.2 MB, free: 196 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.121, allocations: 34.55 kB / 464.2 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.1211, allocations: 7.906 kB / 464.2 MB, free: 144 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.1214, allocations: 202.8 kB / 464.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1214, allocations: 4 kB / 464.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.1215, allocations: 4 kB / 464.4 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/0.1217, allocations: 57.61 kB / 464.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1217, allocations: 3.984 kB / 464.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1218, allocations: 11.94 kB / 464.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1218, allocations: 4 kB / 464.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.1219, allocations: 15.98 kB / 464.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1224, allocations: 296.9 kB / 464.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1226, allocations: 58.61 kB / 464.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.543e-05/0.1227, allocations: 28.84 kB / 464.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.1228, allocations: 0 / 464.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002309/0.123, allocations: 75.28 kB / 464.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.123, allocations: 0 / 464.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008013/0.1238, allocations: 173.2 kB / 465.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.1239, allocations: 55.41 kB / 465.2 MB, free: 15.03 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1242, allocations: 186.1 kB / 465.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.1242, allocations: 25.7 kB / 465.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.059e-05/0.1243, allocations: 108 kB / 465.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.1244, allocations: 23.7 kB / 465.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.1244, allocations: 0 / 465.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1245, allocations: 322.8 kB / 465.8 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1247, allocations: 31.98 kB / 465.8 MB, free: 14.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.1248, allocations: 45.64 kB / 465.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.125, allocations: 73.31 kB / 466 MB, free: 14.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.125, allocations: 0 / 466 MB, free: 14.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00041/0.1254, allocations: 163.2 kB / 466.1 MB, free: 14.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.1255, allocations: 37.7 kB / 466.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1255, allocations: 0 / 466.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.1256, allocations: 0 / 466.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001478/0.1257, allocations: 19.98 kB / 466.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1257, allocations: 80 / 466.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.681e-05/0.1258, allocations: 4.031 kB / 466.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.1259, allocations: 11.98 kB / 466.2 MB, free: 13.95 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.0001553/0.126, allocations: 129.8 kB / 466.3 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.1261, allocations: 11.95 kB / 466.3 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.1261, allocations: 16.66 kB / 466.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1262, allocations: 0 / 466.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1262, allocations: 0 / 466.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1262, allocations: 3.984 kB / 466.4 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.1269, allocations: 399.6 kB / 466.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1269, allocations: 0 / 466.7 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.127, allocations: 19.92 kB / 466.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.127, allocations: 4 kB / 466.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.127, allocations: 0 / 466.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.127, allocations: 3.938 kB / 466.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.127, allocations: 4 kB / 466.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.1274, allocations: 208.3 kB / 467 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1275, allocations: 93 kB / 467.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.067e-05/0.1276, allocations: 0 / 467.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1277, allocations: 7.984 kB / 467.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.1277, allocations: 8 kB / 467.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.1278, allocations: 7.938 kB / 467.1 MB, free: 12.94 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001587/0.1279, allocations: 131.2 kB / 467.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.128, allocations: 0 / 467.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.1284, allocations: 28 kB / 467.2 MB, free: 12.79 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.001991/0.1304, allocations: 1.066 MB / 468.3 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.1308, allocations: 151.3 kB / 468.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1308, allocations: 0 / 468.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.131, allocations: 35.92 kB / 468.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.1314, allocations: 23.36 kB / 468.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1332, allocations: 0.7201 MB / 469.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1336, allocations: 0.7119 MB / 470 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.46e-05/0.1337, allocations: 20.69 kB / 470 MB, free: 10.03 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.586e-05/0.1338, allocations: 31.42 kB / 470 MB, free: 10 MB / 314.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1338, allocations: 0 / 470 MB, free: 10 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02813/0.162, allocations: 2.878 MB / 472.9 MB, free: 7.148 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003982/0.1624, allocations: 244.8 kB / 473.1 MB, free: 6.836 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/2.78, allocations: 4 kB / 473.1 MB, free: 6.832 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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time