Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test10.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.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test10",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.009411/0.009416, allocations: 164 kB / 15.12 MB, free: 5.969 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.586/1.586, allocations: 170.8 MB / 186.6 MB, free: 1.023 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.001773/0.001772, allocations: 102.8 kB / 226.2 MB, free: 10.07 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.4306/0.4306, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006278/0.0006282, allocations: 12 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.102, allocations: 48.71 MB / 411.7 MB, free: 4.699 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test10): time 0.002414/0.1045, allocations: 1.234 MB / 412.9 MB, free: 3.453 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.1066, allocations: 0.84 MB / 413.8 MB, free: 2.605 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.1067, allocations: 4 kB / 413.8 MB, free: 2.602 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.1069, allocations: 11.94 kB / 413.8 MB, free: 2.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1072, allocations: 27.91 kB / 413.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1074, allocations: 35.89 kB / 413.9 MB, free: 2.527 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1075, allocations: 47.86 kB / 413.9 MB, free: 2.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1077, allocations: 11.97 kB / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.1077, allocations: 19.92 kB / 413.9 MB, free: 2.449 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.108, allocations: 23.91 kB / 414 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.108, allocations: 8 kB / 414 MB, free: 2.418 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.1082, allocations: 43.92 kB / 414 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.1082, allocations: 7.984 kB / 414 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/0.1083, allocations: 33.64 kB / 414 MB, free: 2.328 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.1085, allocations: 72.11 kB / 414.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1086, allocations: 0 / 414.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1086, allocations: 0 / 414.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1086, allocations: 0 / 414.1 MB, free: 2.258 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007263/0.1093, allocations: 400.8 kB / 414.5 MB, free: 1.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.1094, allocations: 11.97 kB / 414.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.1095, allocations: 34.56 kB / 414.6 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.1095, allocations: 4 kB / 414.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1098, allocations: 182.9 kB / 414.7 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1098, allocations: 0 / 414.7 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.1099, allocations: 4 kB / 414.7 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.1102, allocations: 79.33 kB / 414.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1102, allocations: 0 / 414.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1103, allocations: 4 kB / 414.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1103, allocations: 0 / 414.8 MB, free: 1.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.1106, allocations: 43.95 kB / 414.9 MB, free: 1.395 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.1112, allocations: 288.8 kB / 415.1 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.1114, allocations: 58.47 kB / 415.2 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.1116, allocations: 28.94 kB / 415.2 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.197e-05/0.1116, allocations: 4 kB / 415.2 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.1117, allocations: 30.56 kB / 415.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.736e-06/0.1117, allocations: 0 / 415.3 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.001535/0.1133, allocations: 237.2 kB / 415.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1133, allocations: 85.09 kB / 415.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1135, allocations: 117.8 kB / 415.7 MB, free: 468 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.1136, allocations: 33.64 kB / 415.7 MB, free: 428 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.1137, allocations: 84.14 kB / 415.8 MB, free: 340 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.1137, allocations: 27.64 kB / 415.8 MB, free: 312 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.1138, allocations: 0 / 415.8 MB, free: 312 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.114, allocations: 322.8 kB / 416.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.1143, allocations: 35.97 kB / 416.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003047/0.1146, allocations: 65.67 kB / 416.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.1149, allocations: 73.69 kB / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1149, allocations: 0 / 416.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007175/0.1157, allocations: 163.3 kB / 416.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.1157, allocations: 37.69 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1158, allocations: 3.938 kB / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1158, allocations: 0 / 416.5 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.116, allocations: 31.94 kB / 416.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1161, allocations: 0 / 416.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.1162, allocations: 11.98 kB / 416.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.991e-05/0.1163, allocations: 4 kB / 416.6 MB, free: 15.53 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 (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.0001465/0.1164, allocations: 118.8 kB / 416.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.348e-05/0.1165, allocations: 7.906 kB / 416.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/0.1172, allocations: 138.3 kB / 416.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1173, allocations: 0 / 416.8 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.1173, allocations: 7.953 kB / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1173, allocations: 0 / 416.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.1185, allocations: 406.5 kB / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1185, allocations: 0 / 417.2 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.1187, allocations: 23.98 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.305e-06/0.1187, allocations: 4 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1188, allocations: 3.953 kB / 417.3 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1188, allocations: 4 kB / 417.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1188, allocations: 0 / 417.3 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006911/0.1195, allocations: 223.3 kB / 417.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.1196, allocations: 85 kB / 417.6 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.1196, allocations: 12 kB / 417.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.1199, allocations: 15.94 kB / 417.6 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.1199, allocations: 7.984 kB / 417.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.12, allocations: 3.984 kB / 417.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1201, allocations: 95.28 kB / 417.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1201, allocations: 0 / 417.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005832/0.1207, allocations: 27.98 kB / 417.7 MB, free: 14.27 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 (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.002144/0.1229, allocations: 0.9704 MB / 418.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007249/0.1236, allocations: 159.3 kB / 418.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.1237, allocations: 0 / 418.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.124, allocations: 47.97 kB / 418.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.1246, allocations: 15.94 kB / 418.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1268, allocations: 0.5802 MB / 419.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004308/0.1273, allocations: 0.6887 MB / 420.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000148/0.1275, allocations: 24.38 kB / 420.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.1276, allocations: 23.42 kB / 420.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.1276, allocations: 0 / 420.2 MB, free: 11.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06208/0.1897, allocations: 2.221 MB / 422.5 MB, free: 9.492 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/0.19, allocations: 241.9 kB / 422.7 MB, free: 9.215 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/2.691, allocations: 4.062 kB / 422.7 MB, free: 9.211 MB / 330.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