Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test81",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.01277/0.01277, allocations: 175 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.095/2.095, 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.001792/0.001792, allocations: 132.1 kB / 255.6 MB, free: 10.21 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.2518/0.2518, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006284/0.0006286, allocations: 12.31 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09805/0.09872, allocations: 54.88 MB / 461.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002088/0.1009, allocations: 1.439 MB / 462.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.1034, allocations: 1.492 MB / 464.1 MB, free: 212 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1035, allocations: 11.94 kB / 464.1 MB, free: 200 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.1039, allocations: 39.83 kB / 464.2 MB, free: 160 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.1041, allocations: 59.73 kB / 464.2 MB, free: 100 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.1045, allocations: 95.78 kB / 464.3 MB, free: 4 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.1048, allocations: 155.5 kB / 464.5 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.97e-05/0.1049, allocations: 13.5 kB / 464.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1051, allocations: 67.64 kB / 464.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.1053, allocations: 71.73 kB / 464.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.1054, allocations: 8 kB / 464.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.1057, allocations: 91.84 kB / 464.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.1058, allocations: 19.91 kB / 464.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.1059, allocations: 53.62 kB / 464.8 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.1062, allocations: 155.8 kB / 464.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1063, allocations: 0 / 464.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1063, allocations: 0 / 464.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1063, allocations: 0 / 464.9 MB, free: 15.38 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.0008659/0.1072, allocations: 0.5591 MB / 465.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1072, allocations: 8.031 kB / 465.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.958e-05/0.1073, allocations: 34.56 kB / 465.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.1074, allocations: 19.8 kB / 465.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.1078, allocations: 230.8 kB / 465.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1078, allocations: 4 kB / 465.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.1078, allocations: 8 kB / 465.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1082, allocations: 101.1 kB / 465.9 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1082, allocations: 0 / 465.9 MB, free: 14.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1082, allocations: 11.83 kB / 465.9 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1082, allocations: 7.984 kB / 465.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1084, allocations: 27.98 kB / 465.9 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.1087, allocations: 238.4 kB / 466.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004369/0.1092, allocations: 109.2 kB / 466.3 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.1094, allocations: 37.7 kB / 466.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1094, allocations: 7.984 kB / 466.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.1098, allocations: 113 kB / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.064e-06/0.1098, allocations: 0 / 466.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006879/0.1105, allocations: 169.3 kB / 466.6 MB, free: 13.47 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.1106, allocations: 132.5 kB / 466.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002955/0.1109, allocations: 198.6 kB / 466.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.962e-05/0.1109, allocations: 29.7 kB / 466.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.111, allocations: 112.3 kB / 467 MB, free: 12.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.129e-05/0.1111, allocations: 27.64 kB / 467.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.1111, allocations: 8 kB / 467.1 MB, free: 12.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1113, allocations: 326.8 kB / 467.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1115, allocations: 47.97 kB / 467.4 MB, free: 12.55 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.1117, allocations: 93.12 kB / 467.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.112, allocations: 119.4 kB / 467.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.112, allocations: 0 / 467.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006573/0.1127, allocations: 248.7 kB / 467.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.358e-05/0.1128, allocations: 71.39 kB / 468 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1128, allocations: 0 / 468 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1128, allocations: 0 / 468 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.1131, allocations: 28.05 kB / 468 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.1131, allocations: 3.953 kB / 468 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1133, allocations: 23.83 kB / 468 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.1133, allocations: 8 kB / 468 MB, free: 11.9 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_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * 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.0001671/0.1135, allocations: 133.8 kB / 468.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.1136, allocations: 15.81 kB / 468.2 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.31e-05/0.1137, allocations: 16.98 kB / 468.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1137, allocations: 0 / 468.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1137, allocations: 4 kB / 468.2 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.1137, allocations: 7.953 kB / 468.2 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002516/0.114, allocations: 217.4 kB / 468.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.114, allocations: 11.88 kB / 468.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.1141, allocations: 4 kB / 468.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1141, allocations: 0 / 468.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.1141, allocations: 8.609 kB / 468.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1141, allocations: 0 / 468.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.1141, allocations: 3.938 kB / 468.4 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004814/0.1146, allocations: 177.7 kB / 468.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.1147, allocations: 104.9 kB / 468.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.1148, allocations: 0 / 468.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1149, allocations: 15.94 kB / 468.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.115, allocations: 7.984 kB / 468.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.115, allocations: 4 kB / 468.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001953/0.1152, allocations: 148.5 kB / 468.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1153, allocations: 0 / 468.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004335/0.1157, allocations: 67.94 kB / 469 MB, free: 10.88 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002737/0.1184, allocations: 1.291 MB / 470.3 MB, free: 9.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006754/0.1192, allocations: 262.7 kB / 470.5 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1192, allocations: 128 / 470.5 MB, free: 9.383 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.1194, allocations: 47.86 kB / 470.6 MB, free: 9.336 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1199, allocations: 38.2 kB / 470.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002314/0.1222, allocations: 0.9239 MB / 471.5 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1226, allocations: 0.7166 MB / 472.2 MB, free: 7.578 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001629/0.1228, allocations: 17.42 kB / 472.3 MB, free: 7.559 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.1229, allocations: 51.41 kB / 472.3 MB, free: 7.508 MB / 314.7 MB Notification: Performance of SimCode: time 1.133e-06/0.1229, allocations: 3.938 kB / 472.3 MB, free: 7.504 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/0.1605, allocations: 4.55 MB / 476.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000457/0.161, allocations: 256.2 kB / 477.1 MB, free: 2.625 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/2.904, allocations: 0 / 477.1 MB, free: 2.625 MB / 314.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new_2.nextTimeEvent,t_new_2.y[1] Variables in the result: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.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.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time