Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002785/0.00279, allocations: 353.8 kB / 15.95 MB, free: 6.215 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 3.655/3.655, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003875/0.003875, allocations: 221.2 kB / 397.9 MB, free: 4.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.507/0.507, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006833/0.0006836, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1186, allocations: 48.71 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002628/0.1213, allocations: 1.299 MB / 0.608 GB, free: 3.324 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1233, allocations: 415.5 kB / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.705e-05/0.1234, allocations: 0 / 0.6084 GB, free: 2.914 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003416/0.1238, allocations: 31.89 kB / 0.6084 GB, free: 2.883 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.124, allocations: 31.91 kB / 0.6085 GB, free: 2.852 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003132/0.1244, allocations: 55.81 kB / 0.6085 GB, free: 2.797 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1246, allocations: 67.77 kB / 0.6086 GB, free: 2.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.1247, allocations: 4 kB / 0.6086 GB, free: 2.727 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.1248, allocations: 23.92 kB / 0.6086 GB, free: 2.703 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.673e-05/0.1249, allocations: 27.84 kB / 0.6086 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.125, allocations: 0 / 0.6086 GB, free: 2.676 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.1252, allocations: 39.98 kB / 0.6087 GB, free: 2.637 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.1253, allocations: 7.984 kB / 0.6087 GB, free: 2.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1255, allocations: 45.58 kB / 0.6087 GB, free: 2.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1268, allocations: 80.05 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.1269, allocations: 0 / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1269, allocations: 0 / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.1269, allocations: 0 / 0.6088 GB, free: 2.5 MB / 362.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.0006706/0.1276, allocations: 400.7 kB / 0.6092 GB, free: 2.055 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.1277, allocations: 8.031 kB / 0.6092 GB, free: 2.047 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.631e-05/0.1278, allocations: 11.86 kB / 0.6092 GB, free: 2.035 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1281, allocations: 186.9 kB / 0.6094 GB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1281, allocations: 8 kB / 0.6094 GB, free: 1.805 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.085e-05/0.1282, allocations: 3.938 kB / 0.6094 GB, free: 1.801 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.1284, allocations: 41.69 kB / 0.6094 GB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.1284, allocations: 7.938 kB / 0.6095 GB, free: 1.746 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1284, allocations: 4 kB / 0.6095 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1285, allocations: 0 / 0.6095 GB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.097e-05/0.1286, allocations: 15.94 kB / 0.6095 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.1291, allocations: 268.9 kB / 0.6097 GB, free: 1.414 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1294, allocations: 50.5 kB / 0.6098 GB, free: 1.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.1295, allocations: 12.86 kB / 0.6098 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1295, allocations: 0 / 0.6098 GB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.1297, allocations: 63.47 kB / 0.6098 GB, free: 1.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.875e-06/0.1297, allocations: 0 / 0.6098 GB, free: 1.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005584/0.1303, allocations: 125.3 kB / 0.61 GB, free: 1.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.1304, allocations: 55.41 kB / 0.61 GB, free: 1.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1306, allocations: 146 kB / 0.6102 GB, free: 0.918 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1306, allocations: 29.7 kB / 0.6102 GB, free: 0.8828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.44e-05/0.1307, allocations: 88.14 kB / 0.6103 GB, free: 0.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1307, allocations: 19.73 kB / 0.6103 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/0.1307, allocations: 4 kB / 0.6103 GB, free: 0.7695 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.1308, allocations: 314.8 kB / 0.6106 GB, free: 464 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.921e-05/0.1309, allocations: 19.98 kB / 0.6106 GB, free: 444 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.131, allocations: 20 kB / 0.6106 GB, free: 424 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1311, allocations: 53.62 kB / 0.6107 GB, free: 364 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1311, allocations: 0 / 0.6107 GB, free: 364 kB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003209/0.1315, allocations: 119.3 kB / 0.6108 GB, free: 232 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/0.1315, allocations: 33.7 kB / 0.6108 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1316, allocations: 0 / 0.6108 GB, free: 192 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.1316, allocations: 7.953 kB / 0.6108 GB, free: 184 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.245e-05/0.1317, allocations: 11.92 kB / 0.6109 GB, free: 172 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1317, allocations: 4 kB / 0.6109 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.41e-05/0.1318, allocations: 0 / 0.6109 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.1319, allocations: 8 kB / 0.6109 GB, free: 160 kB / 362.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.000128/0.132, allocations: 124.4 kB / 0.611 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.1321, allocations: 7.891 kB / 0.611 GB, free: 20 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.396e-05/0.1321, allocations: 12.31 kB / 0.611 GB, free: 12 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.1322, allocations: 3.953 kB / 0.611 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1322, allocations: 0 / 0.611 GB, free: 8 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3509/0.4831, allocations: 81.89 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.4832, allocations: 3.062 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.4833, allocations: 2.109 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.4834, allocations: 8.156 kB / 0.6111 GB, free: 90.4 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002812/0.4837, allocations: 150 kB / 0.6112 GB, free: 90.3 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002678/0.484, allocations: 241.6 kB / 0.6115 GB, free: 90.09 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.733e-05/0.4841, allocations: 15.72 kB / 0.6115 GB, free: 90.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.4843, allocations: 110.8 kB / 0.6116 GB, free: 90.02 MB / 362.7 MB Notification: Performance of Backend: time 9.42e-07/0.4843, allocations: 3.812 kB / 0.6116 GB, free: 90.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.4864, allocations: 416.9 kB / 0.612 GB, free: 89.89 MB / 362.7 MB Notification: Performance of SimCode: time 0.0008088/0.4873, allocations: 0.6248 MB / 0.6126 GB, free: 89.3 MB / 362.7 MB Notification: Performance of Templates: time 0.008994/0.4963, allocations: 1.408 MB / 0.614 GB, free: 89.29 MB / 362.7 MB