Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01389/0.01389, allocations: 163.2 kB / 15.12 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.713/1.713, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001712/0.001712, allocations: 102.8 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4282/0.4282, allocations: 38.05 MB / 303.7 MB, free: 42.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006408/0.0006411, allocations: 12 kB / 363 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1049, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002345/0.1073, allocations: 1.203 MB / 412.9 MB, free: 3.473 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1089, allocations: 0.8168 MB / 413.7 MB, free: 2.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.1089, allocations: 4 kB / 413.7 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.1091, allocations: 15.92 kB / 413.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1093, allocations: 23.92 kB / 413.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.1095, allocations: 39.89 kB / 413.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.1096, allocations: 43.86 kB / 413.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1097, allocations: 15.97 kB / 413.9 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.1098, allocations: 19.91 kB / 413.9 MB, free: 2.488 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.11, allocations: 19.92 kB / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.11, allocations: 4 kB / 413.9 MB, free: 2.465 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.1102, allocations: 39.97 kB / 413.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.1102, allocations: 11.94 kB / 414 MB, free: 2.414 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.1103, allocations: 37.58 kB / 414 MB, free: 2.371 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.1104, allocations: 68.12 kB / 414.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1105, allocations: 0 / 414.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1105, allocations: 0 / 414.1 MB, free: 2.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1105, allocations: 0 / 414.1 MB, free: 2.305 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005499/0.111, allocations: 384.9 kB / 414.4 MB, free: 1.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1111, allocations: 8.031 kB / 414.4 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.1112, allocations: 38.56 kB / 414.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1112, allocations: 0 / 414.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1114, allocations: 194.8 kB / 414.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1115, allocations: 0 / 414.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.1115, allocations: 4 kB / 414.7 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1117, allocations: 59.41 kB / 414.7 MB, free: 1.516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1117, allocations: 7.875 kB / 414.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.1118, allocations: 4 kB / 414.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1118, allocations: 0 / 414.7 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1119, allocations: 31.97 kB / 414.8 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.1123, allocations: 272.9 kB / 415 MB, free: 1.156 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.1126, allocations: 50.48 kB / 415.1 MB, free: 1.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.963e-05/0.1127, allocations: 20.86 kB / 415.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.1127, allocations: 0 / 415.1 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.1128, allocations: 34.56 kB / 415.2 MB, free: 1.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1128, allocations: 0 / 415.2 MB, free: 1.031 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007846/0.1136, allocations: 153.4 kB / 415.3 MB, free: 0.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.1137, allocations: 85.09 kB / 415.4 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1138, allocations: 121.8 kB / 415.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1139, allocations: 25.7 kB / 415.5 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.1139, allocations: 91.98 kB / 415.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.114, allocations: 23.8 kB / 415.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.101e-06/0.114, allocations: 0 / 415.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1141, allocations: 314.8 kB / 415.9 MB, free: 184 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1143, allocations: 23.98 kB / 416 MB, free: 160 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1144, allocations: 45.75 kB / 416 MB, free: 108 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.1146, allocations: 57.72 kB / 416.1 MB, free: 44 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1146, allocations: 0 / 416.1 MB, free: 44 kB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003843/0.115, allocations: 119.4 kB / 416.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.1151, allocations: 33.7 kB / 416.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1151, allocations: 4 kB / 416.2 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1151, allocations: 3.938 kB / 416.2 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.1152, allocations: 15.98 kB / 416.2 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.1153, allocations: 3.953 kB / 416.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.1153, allocations: 7.984 kB / 416.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1154, allocations: 4 kB / 416.3 MB, free: 15.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001056/0.1155, allocations: 114.9 kB / 416.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.1155, allocations: 11.84 kB / 416.4 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000361/0.1159, allocations: 101.6 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-06/0.1159, allocations: 0 / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1159, allocations: 0 / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.116, allocations: 3.953 kB / 416.5 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006033/0.1166, allocations: 346.6 kB / 416.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1166, allocations: 0 / 416.8 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.1167, allocations: 19.92 kB / 416.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1167, allocations: 0 / 416.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.1167, allocations: 0 / 416.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1168, allocations: 7.953 kB / 416.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1168, allocations: 0 / 416.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.1171, allocations: 191.7 kB / 417 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.1172, allocations: 85.02 kB / 417.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.1172, allocations: 0 / 417.1 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1174, allocations: 11.98 kB / 417.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.1174, allocations: 7.953 kB / 417.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.1174, allocations: 0 / 417.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.491e-05/0.1175, allocations: 99.27 kB / 417.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1175, allocations: 0 / 417.2 MB, free: 14.74 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.1179, allocations: 27.98 kB / 417.3 MB, free: 14.71 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001416/0.1193, allocations: 0.9121 MB / 418.2 MB, free: 13.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003594/0.1197, allocations: 123.4 kB / 418.3 MB, free: 13.69 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1197, allocations: 3.938 kB / 418.3 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.1199, allocations: 31.92 kB / 418.3 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003819/0.1203, allocations: 15.89 kB / 418.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1216, allocations: 0.5029 MB / 418.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1219, allocations: 0.6965 MB / 419.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.91e-05/0.122, allocations: 12.17 kB / 419.6 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.1221, allocations: 19.42 kB / 419.6 MB, free: 12.33 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.1221, allocations: 3.938 kB / 419.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02769/0.1498, allocations: 2.1 MB / 421.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003582/0.1502, allocations: 243 kB / 421.9 MB, free: 9.961 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/2.621, allocations: 0 / 421.9 MB, free: 9.961 MB / 330.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(clock.y),der(d_t_new.u),t_new.columns[1],t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.u,t_new.verboseRead,t_new.y[1],time