Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test19",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.009445/0.00945, 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 1.934/1.934, 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.00181/0.00181, allocations: 124.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.2891/0.2891, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006333/0.0006336, allocations: 18.41 kB / 406.3 MB, free: 51.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09638/0.09706, allocations: 54.87 MB / 461.2 MB, free: 3.188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.001831/0.09895, allocations: 1.235 MB / 462.4 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1002, allocations: 0.8284 MB / 463.2 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.213e-05/0.1003, allocations: 4 kB / 463.2 MB, free: 1.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002006/0.1005, allocations: 19.91 kB / 463.2 MB, free: 1.078 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.1007, allocations: 27.92 kB / 463.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.1009, allocations: 27.91 kB / 463.3 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.101, allocations: 47.84 kB / 463.3 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1011, allocations: 4 kB / 463.3 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.1012, allocations: 23.91 kB / 463.4 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1013, allocations: 19.92 kB / 463.4 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1014, allocations: 4 kB / 463.4 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.1015, allocations: 43.91 kB / 463.4 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.327e-05/0.1015, allocations: 11.98 kB / 463.4 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1016, allocations: 29.7 kB / 463.5 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1017, allocations: 55.92 kB / 463.5 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1017, allocations: 0 / 463.5 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1017, allocations: 0 / 463.5 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1018, allocations: 0 / 463.5 MB, free: 0.7812 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004462/0.1022, allocations: 396.8 kB / 463.9 MB, free: 348 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1023, allocations: 16.03 kB / 463.9 MB, free: 332 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.1023, allocations: 30.56 kB / 464 MB, free: 292 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1023, allocations: 11.86 kB / 464 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.1025, allocations: 171.1 kB / 464.1 MB, free: 68 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1025, allocations: 4 kB / 464.1 MB, free: 64 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.1026, allocations: 3.938 kB / 464.1 MB, free: 60 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002098/0.1028, allocations: 79.33 kB / 464.2 MB, free: 15.97 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1028, allocations: 7.984 kB / 464.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1029, allocations: 0 / 464.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1029, allocations: 0 / 464.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.103, allocations: 27.94 kB / 464.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1034, allocations: 269 kB / 464.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1037, allocations: 50.5 kB / 464.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.902e-05/0.1038, allocations: 20.94 kB / 464.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1039, allocations: 4 kB / 464.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.1039, allocations: 30.56 kB / 464.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.903e-06/0.1039, allocations: 0 / 464.6 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008003/0.1047, allocations: 165.3 kB / 464.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.1048, allocations: 77.11 kB / 464.9 MB, free: 15.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.105, allocations: 129.7 kB / 465 MB, free: 15.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.105, allocations: 25.7 kB / 465 MB, free: 15.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.695e-05/0.1051, allocations: 88.14 kB / 465.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1051, allocations: 11.81 kB / 465.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.1052, allocations: 3.938 kB / 465.1 MB, free: 14.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1053, allocations: 322.8 kB / 465.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1055, allocations: 23.98 kB / 465.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1056, allocations: 37.7 kB / 465.5 MB, free: 14.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1058, allocations: 57.69 kB / 465.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1058, allocations: 0 / 465.5 MB, free: 14.51 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003781/0.1062, allocations: 127.2 kB / 465.7 MB, free: 14.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.1063, allocations: 37.66 kB / 465.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1063, allocations: 0 / 465.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1063, allocations: 0 / 465.7 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.1064, allocations: 15.98 kB / 465.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1064, allocations: 0 / 465.7 MB, free: 14.31 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.1065, allocations: 15.94 kB / 465.7 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1066, allocations: 4 kB / 465.7 MB, free: 14.29 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 (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.0001097/0.1067, allocations: 113.8 kB / 465.9 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.1067, allocations: 7.984 kB / 465.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1071, allocations: 101.4 kB / 466 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.1071, allocations: 8 kB / 466 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1072, allocations: 320 / 466 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1072, allocations: 0 / 466 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.1078, allocations: 342.6 kB / 466.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.1078, allocations: 0 / 466.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.108, allocations: 27.88 kB / 466.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.108, allocations: 0 / 466.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.108, allocations: 7.938 kB / 466.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.108, allocations: 4 kB / 466.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.108, allocations: 0 / 466.3 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.1084, allocations: 175.5 kB / 466.5 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.473e-05/0.1084, allocations: 89 kB / 466.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.1085, allocations: 3.953 kB / 466.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.1086, allocations: 8 kB / 466.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.1087, allocations: 7.984 kB / 466.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.1087, allocations: 0 / 466.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.1088, allocations: 103.6 kB / 466.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1088, allocations: 0 / 466.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003902/0.1092, allocations: 28 kB / 466.8 MB, free: 13.18 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 (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.001642/0.1109, allocations: 0.9888 MB / 467.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.1113, allocations: 115.4 kB / 467.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1113, allocations: 0 / 467.9 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1115, allocations: 35.86 kB / 467.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.1119, allocations: 15.94 kB / 467.9 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.1132, allocations: 0.5028 MB / 468.4 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1136, allocations: 0.6927 MB / 469.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.438e-05/0.1137, allocations: 8.172 kB / 469.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.1138, allocations: 23.42 kB / 469.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1138, allocations: 4 kB / 469.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.1419, allocations: 2.094 MB / 471.2 MB, free: 8.711 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003414/0.1423, allocations: 250.9 kB / 471.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/2.557, allocations: 0 / 471.5 MB, free: 8.406 MB / 314.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