Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTimeTable_Test63",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.009656/0.009656, allocations: 176 kB / 15.13 MB, free: 5.961 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.261/2.261, allocations: 194.5 MB / 210.3 MB, free: 8.578 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.001812/0.001812, allocations: 116.1 kB / 255.6 MB, free: 11.19 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.305/0.305, allocations: 40.02 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004809/0.0004812, allocations: 11.38 kB / 406.3 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.104, allocations: 54.89 MB / 461.2 MB, free: 3.281 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002016/0.106, allocations: 1.33 MB / 462.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.1075, allocations: 0.7072 MB / 463.2 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.1076, allocations: 0 / 463.2 MB, free: 1.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.1079, allocations: 47.88 kB / 463.2 MB, free: 1.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.1082, allocations: 35.83 kB / 463.3 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.1084, allocations: 55.89 kB / 463.3 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1086, allocations: 91.67 kB / 463.4 MB, free: 0.9922 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.91e-05/0.1086, allocations: 11.84 kB / 463.4 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.1087, allocations: 31.86 kB / 463.5 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.052e-05/0.1088, allocations: 35.84 kB / 463.5 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.1089, allocations: 3.984 kB / 463.5 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.109, allocations: 24 kB / 463.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.789e-05/0.109, allocations: 23.91 kB / 463.6 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.1091, allocations: 45.64 kB / 463.6 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1093, allocations: 87.86 kB / 463.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1093, allocations: 0 / 463.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1093, allocations: 0 / 463.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1093, allocations: 0 / 463.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005257/0.1099, allocations: 469.2 kB / 464.1 MB, free: 216 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1099, allocations: 8.031 kB / 464.1 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.1099, allocations: 34.56 kB / 464.2 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.11, allocations: 15.81 kB / 464.2 MB, free: 148 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1103, allocations: 202.9 kB / 464.4 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.1104, allocations: 4 kB / 464.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.1104, allocations: 4 kB / 464.4 MB, free: 15.9 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.1106, allocations: 53.61 kB / 464.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.1107, allocations: 7.938 kB / 464.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1107, allocations: 3.953 kB / 464.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1107, allocations: 0 / 464.5 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1108, allocations: 15.98 kB / 464.5 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.1111, allocations: 201.6 kB / 464.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1114, allocations: 54.61 kB / 464.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.157e-05/0.1115, allocations: 20.8 kB / 464.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.1116, allocations: 0 / 464.8 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002535/0.1118, allocations: 67.39 kB / 464.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.1118, allocations: 0 / 464.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000444/0.1123, allocations: 109.4 kB / 464.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.1124, allocations: 55.34 kB / 465 MB, free: 15.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.1128, allocations: 254.5 kB / 465.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1128, allocations: 25.7 kB / 465.3 MB, free: 14.93 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1129, allocations: 116 kB / 465.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.959e-05/0.113, allocations: 11.91 kB / 465.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.113, allocations: 3.938 kB / 465.4 MB, free: 14.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1131, allocations: 322.8 kB / 465.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1133, allocations: 27.98 kB / 465.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1134, allocations: 41.7 kB / 465.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.1136, allocations: 57.69 kB / 465.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1136, allocations: 0 / 465.8 MB, free: 14.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004032/0.114, allocations: 139.1 kB / 466 MB, free: 14.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.1141, allocations: 37.7 kB / 466 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.1141, allocations: 0 / 466 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1141, allocations: 4.031 kB / 466 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1143, allocations: 11.98 kB / 466 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.1143, allocations: 7.891 kB / 466 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.1144, allocations: 15.84 kB / 466 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1145, allocations: 4 kB / 466 MB, free: 14.1 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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.0001857/0.1147, allocations: 136.2 kB / 466.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1147, allocations: 11.84 kB / 466.2 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/0.1148, allocations: 20.98 kB / 466.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1148, allocations: 4 kB / 466.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1148, allocations: 0 / 466.2 MB, free: 13.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.1148, allocations: 7.938 kB / 466.2 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.1151, allocations: 189.6 kB / 466.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1151, allocations: 0 / 466.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.1151, allocations: 4 kB / 466.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1152, allocations: 0 / 466.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.1152, allocations: 4.312 kB / 466.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1152, allocations: 0 / 466.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1152, allocations: 4 kB / 466.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.1155, allocations: 120.8 kB / 466.5 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1157, allocations: 96.91 kB / 466.6 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1157, allocations: 4 kB / 466.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.1158, allocations: 0 / 466.6 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.1158, allocations: 7.984 kB / 466.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1159, allocations: 0 / 466.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002539/0.1161, allocations: 192.4 kB / 466.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1161, allocations: 0 / 466.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000338/0.1165, allocations: 32 kB / 466.9 MB, free: 13.2 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001644/0.1182, allocations: 0.9147 MB / 467.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004103/0.1186, allocations: 131.4 kB / 467.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1186, allocations: 0 / 467.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.1187, allocations: 27.92 kB / 467.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.1191, allocations: 20.36 kB / 467.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.1211, allocations: 0.8305 MB / 468.8 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.1215, allocations: 0.7199 MB / 469.5 MB, free: 10.52 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.178e-05/0.1217, allocations: 4.672 kB / 469.5 MB, free: 10.51 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.786e-05/0.1218, allocations: 35.42 kB / 469.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1218, allocations: 0 / 469.5 MB, free: 10.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.1521, allocations: 2.911 MB / 472.4 MB, free: 7.594 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/0.1525, allocations: 248.8 kB / 472.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/2.725, allocations: 0 / 472.7 MB, free: 7.277 MB / 314.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time