Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test4",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.01244/0.01245, allocations: 176.2 kB / 15.13 MB, free: 6.031 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.069/2.069, 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.00173/0.001729, allocations: 120.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.2608/0.2608, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004586, allocations: 11.47 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09885/0.09935, allocations: 54.88 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.001834/0.1012, allocations: 1.262 MB / 462.4 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005832/0.1018, allocations: 247.9 kB / 462.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.1019, allocations: 0 / 462.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.1022, allocations: 83.8 kB / 462.7 MB, free: 1.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.1024, allocations: 55.86 kB / 462.8 MB, free: 1.535 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1025, allocations: 31.97 kB / 462.8 MB, free: 1.504 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.1027, allocations: 67.81 kB / 462.9 MB, free: 1.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1028, allocations: 8 kB / 462.9 MB, free: 1.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.867e-05/0.1028, allocations: 35.89 kB / 462.9 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.103, allocations: 43.84 kB / 463 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.103, allocations: 0 / 463 MB, free: 1.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.721e-05/0.1031, allocations: 27.97 kB / 463 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.1031, allocations: 19.92 kB / 463 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.1e-05/0.1032, allocations: 37.64 kB / 463.1 MB, free: 1.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.1033, allocations: 59.91 kB / 463.1 MB, free: 1.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1033, allocations: 0 / 463.1 MB, free: 1.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1033, allocations: 0 / 463.1 MB, free: 1.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1033, allocations: 0 / 463.1 MB, free: 1.203 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004452/0.1038, allocations: 423.8 kB / 463.5 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1038, allocations: 8.031 kB / 463.5 MB, free: 0.7305 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.1039, allocations: 38.55 kB / 463.6 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.1039, allocations: 11.86 kB / 463.6 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.1041, allocations: 198.8 kB / 463.8 MB, free: 448 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1041, allocations: 4 kB / 463.8 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1042, allocations: 4 kB / 463.8 MB, free: 440 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1044, allocations: 61.67 kB / 463.8 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1044, allocations: 11.84 kB / 463.9 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1044, allocations: 3.984 kB / 463.9 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1044, allocations: 3.953 kB / 463.9 MB, free: 352 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.1046, allocations: 35.97 kB / 463.9 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003832/0.105, allocations: 300.8 kB / 464.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.1052, allocations: 54.56 kB / 464.2 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.393e-05/0.1053, allocations: 16.98 kB / 464.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.1053, allocations: 7.984 kB / 464.3 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.1054, allocations: 34.52 kB / 464.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1054, allocations: 4 kB / 464.3 MB, free: 15.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009248/0.1063, allocations: 201.2 kB / 464.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.1064, allocations: 55.41 kB / 464.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.1067, allocations: 219.3 kB / 464.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.1067, allocations: 29.7 kB / 464.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.1068, allocations: 108.2 kB / 464.9 MB, free: 15.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1069, allocations: 23.66 kB / 464.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.1069, allocations: 0 / 464.9 MB, free: 15.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.107, allocations: 322.8 kB / 465.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.1072, allocations: 43.91 kB / 465.3 MB, free: 14.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1073, allocations: 27.98 kB / 465.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.1075, allocations: 61.69 kB / 465.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1075, allocations: 0 / 465.4 MB, free: 14.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000403/0.1079, allocations: 155.1 kB / 465.5 MB, free: 14.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.108, allocations: 29.7 kB / 465.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.108, allocations: 4 kB / 465.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.108, allocations: 288 / 465.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1082, allocations: 23.98 kB / 465.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1082, allocations: 0 / 465.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.813e-05/0.1083, allocations: 15.88 kB / 465.6 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.426e-05/0.1084, allocations: 4 kB / 465.6 MB, free: 14.46 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 (9): * Single equations (assignments): 8 * 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.0001306/0.1085, allocations: 129.8 kB / 465.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.1085, allocations: 11.86 kB / 465.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.109, allocations: 139 kB / 465.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.109, allocations: 4 kB / 465.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.109, allocations: 0 / 465.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.109, allocations: 0 / 465.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/0.1098, allocations: 402.4 kB / 466.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1098, allocations: 4 kB / 466.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.11, allocations: 20.36 kB / 466.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.11, allocations: 4 kB / 466.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.11, allocations: 4 kB / 466.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.11, allocations: 4 kB / 466.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.592e-06/0.11, allocations: 0 / 466.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.1104, allocations: 215.3 kB / 466.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1105, allocations: 88.92 kB / 466.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.1105, allocations: 0 / 466.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.1107, allocations: 15.98 kB / 466.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.1107, allocations: 0 / 466.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.1108, allocations: 4 kB / 466.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002052/0.111, allocations: 178 kB / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.111, allocations: 0 / 466.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003333/0.1113, allocations: 16 kB / 466.8 MB, free: 13.14 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 (8): * Single equations (assignments): 8 * 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.001435/0.1128, allocations: 0.9281 MB / 467.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.1132, allocations: 131.3 kB / 467.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1132, allocations: 0 / 467.9 MB, free: 12.11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001943/0.1134, allocations: 47.91 kB / 467.9 MB, free: 12.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.1138, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.1156, allocations: 0.7836 MB / 468.7 MB, free: 11.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.116, allocations: 0.7157 MB / 469.4 MB, free: 10.49 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.67e-05/0.1161, allocations: 8.156 kB / 469.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.1162, allocations: 35.42 kB / 469.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1162, allocations: 0 / 469.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.1387, allocations: 2.287 MB / 471.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000382/0.1391, allocations: 245.3 kB / 472 MB, free: 7.906 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.545, allocations: 0 / 472 MB, free: 7.906 MB / 314.7 MB "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,clock.y,d_t_new2.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,der(clock.y),der(d_t_new.u),der(d_t_new2.u),t_new.columns[1],t_new.columns[2],t_new.nout,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.u,t_new.verboseRead,t_new.y[1],t_new.y[2],time