Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test12.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.CombiTable2D.Test12,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test12",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.009169/0.009173, allocations: 176.8 kB / 15.13 MB, free: 5.957 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 1.957/1.957, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.001766/0.001766, allocations: 116.1 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.2822/0.2822, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006598/0.0006602, allocations: 10.53 kB / 406.3 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1017, allocations: 54.87 MB / 461.1 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.001864/0.1036, allocations: 1.262 MB / 462.4 MB, free: 1.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1049, allocations: 0.844 MB / 463.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.105, allocations: 0 / 463.3 MB, free: 1.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1051, allocations: 23.91 kB / 463.3 MB, free: 1.047 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00016/0.1053, allocations: 27.91 kB / 463.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.1055, allocations: 23.92 kB / 463.3 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.1056, allocations: 51.84 kB / 463.4 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1057, allocations: 15.97 kB / 463.4 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.367e-05/0.1058, allocations: 19.92 kB / 463.4 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.106, allocations: 27.92 kB / 463.4 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.106, allocations: 0 / 463.4 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1061, allocations: 51.91 kB / 463.5 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.1062, allocations: 0 / 463.5 MB, free: 0.832 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.1062, allocations: 33.7 kB / 463.5 MB, free: 0.793 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.1064, allocations: 63.84 kB / 463.6 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1064, allocations: 0 / 463.6 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1064, allocations: 3.938 kB / 463.6 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1064, allocations: 0 / 463.6 MB, free: 0.7266 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005185/0.107, allocations: 404.9 kB / 464 MB, free: 284 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.107, allocations: 12.03 kB / 464 MB, free: 272 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.852e-05/0.107, allocations: 30.56 kB / 464 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.1071, allocations: 15.84 kB / 464 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1073, allocations: 171.1 kB / 464.2 MB, free: 4 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1073, allocations: 4 kB / 464.2 MB, free: 0 / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.681e-05/0.1074, allocations: 80 / 464.2 MB, free: 16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/0.1077, allocations: 87.33 kB / 464.3 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1077, allocations: 4 kB / 464.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1077, allocations: 3.984 kB / 464.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1077, allocations: 3.953 kB / 464.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.108, allocations: 39.97 kB / 464.3 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.1084, allocations: 288.7 kB / 464.6 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1087, allocations: 46.5 kB / 464.7 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.1088, allocations: 32.94 kB / 464.7 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.613e-05/0.1089, allocations: 3.938 kB / 464.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1089, allocations: 38.52 kB / 464.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.455e-06/0.1089, allocations: 0 / 464.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.001282/0.1102, allocations: 237.4 kB / 465 MB, free: 15.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.1103, allocations: 81.11 kB / 465.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1105, allocations: 125.8 kB / 465.2 MB, free: 14.91 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.1105, allocations: 25.7 kB / 465.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.1106, allocations: 95.98 kB / 465.3 MB, free: 14.78 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.1106, allocations: 23.7 kB / 465.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.1106, allocations: 0 / 465.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1108, allocations: 318.8 kB / 465.6 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002163/0.111, allocations: 39.97 kB / 465.7 MB, free: 14.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.1113, allocations: 61.69 kB / 465.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.1115, allocations: 77.67 kB / 465.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1115, allocations: 0 / 465.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005566/0.1121, allocations: 167.3 kB / 466 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.1122, allocations: 31.89 kB / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1122, allocations: 0 / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1122, allocations: 0 / 466 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.1124, allocations: 27.98 kB / 466 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1124, allocations: 3.984 kB / 466 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.1126, allocations: 12 kB / 466 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1126, allocations: 0 / 466 MB, free: 14 MB / 314.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 (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.0001151/0.1127, allocations: 121.8 kB / 466.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.1128, allocations: 11.86 kB / 466.2 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.1133, allocations: 141.9 kB / 466.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1134, allocations: 0 / 466.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1134, allocations: 4 kB / 466.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.413e-06/0.1134, allocations: 4 kB / 466.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008826/0.1143, allocations: 406.4 kB / 466.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1143, allocations: 0 / 466.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.1145, allocations: 19.98 kB / 466.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1145, allocations: 4 kB / 466.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1145, allocations: 0 / 466.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.1145, allocations: 0 / 466.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1146, allocations: 0 / 466.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/0.1151, allocations: 223.4 kB / 467 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.1152, allocations: 92.95 kB / 467.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.1152, allocations: 7.984 kB / 467.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.1154, allocations: 12 kB / 467.1 MB, free: 12.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.1154, allocations: 7.922 kB / 467.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.1155, allocations: 4 kB / 467.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.1156, allocations: 99.2 kB / 467.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1156, allocations: 0 / 467.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000356/0.116, allocations: 31.98 kB / 467.2 MB, free: 12.72 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.001802/0.1178, allocations: 1.019 MB / 468.2 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005616/0.1184, allocations: 159.3 kB / 468.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.1184, allocations: 0 / 468.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00023/0.1186, allocations: 55.97 kB / 468.4 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.119, allocations: 8 kB / 468.5 MB, free: 11.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.1207, allocations: 0.5881 MB / 469 MB, free: 10.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.121, allocations: 0.6887 MB / 469.7 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1212, allocations: 19.83 kB / 469.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.1212, allocations: 23.44 kB / 469.8 MB, free: 10.14 MB / 314.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1213, allocations: 3.938 kB / 469.8 MB, free: 10.13 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.1498, allocations: 2.222 MB / 472 MB, free: 7.945 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003953/0.1503, allocations: 253.2 kB / 472.2 MB, free: 7.66 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.538, allocations: 4 kB / 472.2 MB, free: 7.656 MB / 314.7 MB "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,der(clock1.y),der(clock2.y),der(d_t_new.u),t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.u1,t_new.u2,t_new.verboseRead,t_new.y,time