Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004037/0.004043, allocations: 348.1 kB / 15.95 MB, free: 6.219 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.666/3.666, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00514/0.00514, allocations: 222.2 kB / 397.9 MB, free: 6.02 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.5556/0.5556, allocations: 76.09 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006453/0.0006454, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1281, allocations: 48.71 MB / 0.6068 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001902/0.1301, allocations: 1.339 MB / 0.6081 GB, free: 10.18 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.1315, allocations: 0.694 MB / 0.6087 GB, free: 9.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.1316, allocations: 0 / 0.6087 GB, free: 9.484 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.1321, allocations: 287.5 kB / 0.609 GB, free: 9.203 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003094/0.1324, allocations: 167.6 kB / 0.6092 GB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.1327, allocations: 103.7 kB / 0.6093 GB, free: 8.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.1329, allocations: 167.5 kB / 0.6094 GB, free: 8.773 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.133, allocations: 9.109 kB / 0.6094 GB, free: 8.766 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.1331, allocations: 91.7 kB / 0.6095 GB, free: 8.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.1334, allocations: 151.6 kB / 0.6097 GB, free: 8.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.941e-05/0.1334, allocations: 7.984 kB / 0.6097 GB, free: 8.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.1336, allocations: 63.98 kB / 0.6097 GB, free: 8.457 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.1337, allocations: 119.7 kB / 0.6099 GB, free: 8.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.825e-05/0.1338, allocations: 77.44 kB / 0.6099 GB, free: 8.258 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.1342, allocations: 275.8 kB / 0.6102 GB, free: 7.988 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1342, allocations: 7.938 kB / 0.6102 GB, free: 7.98 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1342, allocations: 0 / 0.6102 GB, free: 7.98 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1342, allocations: 0 / 0.6102 GB, free: 7.98 MB / 282.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.0008733/0.1351, allocations: 0.6996 MB / 0.6109 GB, free: 7.219 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.1352, allocations: 8.031 kB / 0.6109 GB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.776e-05/0.1353, allocations: 43.44 kB / 0.6109 GB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.1358, allocations: 399.2 kB / 0.6113 GB, free: 6.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1359, allocations: 3.953 kB / 0.6113 GB, free: 6.738 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1359, allocations: 11.94 kB / 0.6113 GB, free: 6.727 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1361, allocations: 63.39 kB / 0.6114 GB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1361, allocations: 0 / 0.6114 GB, free: 6.652 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1361, allocations: 3.938 kB / 0.6114 GB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1361, allocations: 0 / 0.6114 GB, free: 6.648 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.1362, allocations: 23.92 kB / 0.6114 GB, free: 6.625 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1366, allocations: 362.3 kB / 0.6118 GB, free: 6.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.882e-05/0.1367, allocations: 61.22 kB / 0.6118 GB, free: 6.141 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1368, allocations: 17.72 kB / 0.6118 GB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1368, allocations: 0 / 0.6118 GB, free: 6.117 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.137, allocations: 96.94 kB / 0.6119 GB, free: 6.004 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.137, allocations: 3.984 kB / 0.6119 GB, free: 6 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003442/0.1373, allocations: 137.1 kB / 0.6121 GB, free: 5.859 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.1374, allocations: 77.11 kB / 0.6121 GB, free: 5.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.1386, allocations: 0.9791 MB / 0.6131 GB, free: 4.777 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1387, allocations: 33.69 kB / 0.6131 GB, free: 4.738 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1388, allocations: 224.1 kB / 0.6133 GB, free: 4.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.1389, allocations: 15.8 kB / 0.6134 GB, free: 4.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.1389, allocations: 8 kB / 0.6134 GB, free: 4.492 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.139, allocations: 362.8 kB / 0.6137 GB, free: 4.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.896e-05/0.1391, allocations: 27.98 kB / 0.6137 GB, free: 4.102 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1392, allocations: 45.64 kB / 0.6138 GB, free: 4.051 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1393, allocations: 91.38 kB / 0.6139 GB, free: 3.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1394, allocations: 0 / 0.6139 GB, free: 3.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003263/0.1397, allocations: 208.5 kB / 0.6141 GB, free: 3.727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.1397, allocations: 70.83 kB / 0.6141 GB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1398, allocations: 4 kB / 0.6141 GB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1398, allocations: 4 kB / 0.6141 GB, free: 3.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.1399, allocations: 11.94 kB / 0.6142 GB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1399, allocations: 0 / 0.6142 GB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1401, allocations: 15.84 kB / 0.6142 GB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.1401, allocations: 11.98 kB / 0.6142 GB, free: 3.602 MB / 282.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0002201/0.1403, allocations: 211.1 kB / 0.6144 GB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.1404, allocations: 47.39 kB / 0.6144 GB, free: 3.34 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/0.1405, allocations: 51.48 kB / 0.6145 GB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.1405, allocations: 4 kB / 0.6145 GB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1405, allocations: 3.938 kB / 0.6145 GB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.1406, allocations: 132.5 kB / 0.6146 GB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.1407, allocations: 8.125 kB / 0.6146 GB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1408, allocations: 11.98 kB / 0.6146 GB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.1409, allocations: 0 / 0.6146 GB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002485/0.1411, allocations: 252.1 kB / 0.6149 GB, free: 2.855 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002624/0.1414, allocations: 369.5 kB / 0.6152 GB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.132e-05/0.1415, allocations: 20.55 kB / 0.6152 GB, free: 2.457 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009093/0.1424, allocations: 0.7291 MB / 0.616 GB, free: 1.73 MB / 282.7 MB Notification: Performance of Backend: time 6.21e-07/0.1424, allocations: 0 / 0.616 GB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.1446, allocations: 0.782 MB / 0.6167 GB, free: 1.105 MB / 282.7 MB Notification: Performance of SimCode: time 0.001566/0.1462, allocations: 1.2 MB / 0.6179 GB, free: 15.85 MB / 298.7 MB Notification: Performance of Templates: time 0.01199/0.1582, allocations: 3.533 MB / 0.6213 GB, free: 12.33 MB / 298.7 MB