Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test37",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.009918/0.009918, allocations: 176.3 kB / 15.13 MB, free: 5.949 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.271/2.271, allocations: 194.5 MB / 210.3 MB, free: 7.602 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.001793/0.001792, allocations: 128 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.2712/0.2712, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004709/0.0004713, allocations: 16.31 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1045, allocations: 54.87 MB / 461.2 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.001992/0.1066, allocations: 1.334 MB / 462.5 MB, free: 1.793 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.1079, allocations: 0.7034 MB / 463.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.108, allocations: 0 / 463.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002943/0.1083, allocations: 55.86 kB / 463.2 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.1085, allocations: 43.83 kB / 463.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001651/0.1087, allocations: 51.89 kB / 463.3 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.1089, allocations: 79.75 kB / 463.4 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.703e-05/0.1089, allocations: 15.84 kB / 463.4 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.672e-05/0.109, allocations: 47.77 kB / 463.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.1091, allocations: 31.91 kB / 463.5 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.93e-05/0.1092, allocations: 4 kB / 463.5 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.912e-05/0.1093, allocations: 31.91 kB / 463.5 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.106e-05/0.1093, allocations: 15.98 kB / 463.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.972e-05/0.1094, allocations: 37.64 kB / 463.6 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.1095, allocations: 67.89 kB / 463.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1095, allocations: 0 / 463.7 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1096, allocations: 4 kB / 463.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.1096, allocations: 4 kB / 463.7 MB, free: 0.5938 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004795/0.1101, allocations: 438.4 kB / 464.1 MB, free: 108 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.1101, allocations: 8.031 kB / 464.1 MB, free: 100 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.583e-05/0.1102, allocations: 34.55 kB / 464.1 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.1102, allocations: 15.81 kB / 464.2 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1105, allocations: 202.8 kB / 464.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1105, allocations: 4 kB / 464.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.1106, allocations: 4 kB / 464.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.1108, allocations: 49.67 kB / 464.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1108, allocations: 0 / 464.4 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1108, allocations: 3.953 kB / 464.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1108, allocations: 4 kB / 464.4 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.1109, allocations: 15.98 kB / 464.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002589/0.1112, allocations: 189.6 kB / 464.6 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.1115, allocations: 58.56 kB / 464.7 MB, free: 15.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.1116, allocations: 20.84 kB / 464.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.1116, allocations: 0 / 464.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1118, allocations: 63.39 kB / 464.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.1118, allocations: 0 / 464.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003955/0.1123, allocations: 101.5 kB / 464.9 MB, free: 15.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1123, allocations: 51.41 kB / 464.9 MB, free: 15.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1126, allocations: 194 kB / 465.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/0.1126, allocations: 29.7 kB / 465.1 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.34e-05/0.1127, allocations: 100 kB / 465.2 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.1128, allocations: 11.91 kB / 465.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.1128, allocations: 3.938 kB / 465.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.1129, allocations: 322.8 kB / 465.6 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.113, allocations: 23.98 kB / 465.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.1132, allocations: 41.7 kB / 465.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1133, allocations: 53.7 kB / 465.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1133, allocations: 0 / 465.7 MB, free: 14.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003369/0.1137, allocations: 135.2 kB / 465.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.1137, allocations: 37.69 kB / 465.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1138, allocations: 3.938 kB / 465.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1138, allocations: 0 / 465.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.1139, allocations: 12 kB / 465.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.1139, allocations: 7.922 kB / 465.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.447e-05/0.114, allocations: 23.83 kB / 465.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.258e-05/0.1141, allocations: 4 kB / 465.9 MB, free: 14.11 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 (8): * Single equations (assignments): 7 * 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.0001642/0.1142, allocations: 117.8 kB / 466 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1143, allocations: 7.906 kB / 466 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.1143, allocations: 16.3 kB / 466 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1144, allocations: 4 kB / 466 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1144, allocations: 0 / 466 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.1144, allocations: 3.953 kB / 466 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.1146, allocations: 193.5 kB / 466.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1146, allocations: 0 / 466.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.1147, allocations: 4 kB / 466.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1147, allocations: 0 / 466.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.1147, allocations: 4.312 kB / 466.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1147, allocations: 3.938 kB / 466.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.1147, allocations: 7.984 kB / 466.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/0.115, allocations: 105 kB / 466.4 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.1151, allocations: 93 kB / 466.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1151, allocations: 0 / 466.4 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.1152, allocations: 7.984 kB / 466.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1153, allocations: 4 kB / 466.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1153, allocations: 4 kB / 466.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.1155, allocations: 135.2 kB / 466.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1155, allocations: 4 kB / 466.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.1158, allocations: 20 kB / 466.6 MB, free: 13.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001584/0.1174, allocations: 0.9191 MB / 467.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000339/0.1178, allocations: 127.4 kB / 467.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1178, allocations: 0 / 467.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.1179, allocations: 28.05 kB / 467.7 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1182, allocations: 15.98 kB / 467.7 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.1198, allocations: 0.6687 MB / 468.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.1201, allocations: 0.7043 MB / 469.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.634e-05/0.1202, allocations: 12.66 kB / 469.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.1203, allocations: 23.44 kB / 469.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1203, allocations: 0 / 469.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.1434, allocations: 2.585 MB / 471.7 MB, free: 8.223 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004078/0.1439, allocations: 244.8 kB / 471.9 MB, free: 7.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/2.728, allocations: 3.938 kB / 471.9 MB, free: 7.906 MB / 314.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.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.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