Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004129/0.004135, allocations: 368.3 kB / 15.96 MB, free: 6.199 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 3.885/3.885, allocations: 388.9 MB / 405.6 MB, free: 48.56 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005541/0.005541, allocations: 228.8 kB / 451 MB, free: 3.031 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7561/0.7561, allocations: 80.01 MB / 0.5627 GB, free: 6.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005225, allocations: 20 kB / 0.6265 GB, free: 4.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 54.89 MB / 0.6801 GB, free: 13.8 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002672/0.1258, allocations: 1.515 MB / 0.6816 GB, free: 12.27 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.1274, allocations: 0.7384 MB / 0.6823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.76e-05/0.1275, allocations: 0 / 0.6823 GB, free: 11.52 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.1278, allocations: 31.83 kB / 0.6824 GB, free: 11.49 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.128, allocations: 31.86 kB / 0.6824 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1283, allocations: 67.86 kB / 0.6825 GB, free: 11.39 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1285, allocations: 115.6 kB / 0.6826 GB, free: 11.28 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.1287, allocations: 25.39 kB / 0.6826 GB, free: 11.25 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.927e-05/0.1288, allocations: 43.77 kB / 0.6826 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.78e-05/0.1289, allocations: 39.78 kB / 0.6827 GB, free: 11.17 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.1289, allocations: 4 kB / 0.6827 GB, free: 11.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1291, allocations: 35.98 kB / 0.6827 GB, free: 11.13 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.183e-05/0.1291, allocations: 19.91 kB / 0.6827 GB, free: 11.11 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.481e-05/0.1292, allocations: 41.64 kB / 0.6828 GB, free: 11.06 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1294, allocations: 104 kB / 0.6829 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1294, allocations: 4 kB / 0.6829 GB, free: 10.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1294, allocations: 8 kB / 0.6829 GB, free: 10.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1295, allocations: 0 / 0.6829 GB, free: 10.95 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006945/0.1302, allocations: 0.4919 MB / 0.6834 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.1302, allocations: 8.031 kB / 0.6834 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.1303, allocations: 15.89 kB / 0.6834 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.1306, allocations: 203.6 kB / 0.6836 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.1306, allocations: 7.953 kB / 0.6836 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.1307, allocations: 15.91 kB / 0.6836 GB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.131, allocations: 81.64 kB / 0.6837 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.131, allocations: 3.938 kB / 0.6837 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.131, allocations: 4 kB / 0.6837 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1311, allocations: 4 kB / 0.6837 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.1313, allocations: 43.97 kB / 0.6837 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/0.1319, allocations: 352.7 kB / 0.6841 GB, free: 9.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.1324, allocations: 90.59 kB / 0.6841 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1326, allocations: 48.83 kB / 0.6842 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1326, allocations: 0 / 0.6842 GB, free: 9.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.1329, allocations: 83.38 kB / 0.6843 GB, free: 9.328 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.1329, allocations: 0 / 0.6843 GB, free: 9.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005952/0.1335, allocations: 149.8 kB / 0.6844 GB, free: 9.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.1336, allocations: 55.34 kB / 0.6845 GB, free: 9.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.1338, allocations: 175.3 kB / 0.6846 GB, free: 8.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1339, allocations: 25.8 kB / 0.6847 GB, free: 8.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.134, allocations: 116 kB / 0.6848 GB, free: 8.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.37e-05/0.134, allocations: 27.56 kB / 0.6848 GB, free: 8.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.1341, allocations: 4 kB / 0.6848 GB, free: 8.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1342, allocations: 330.8 kB / 0.6851 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.1344, allocations: 39.97 kB / 0.6852 GB, free: 8.379 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.1346, allocations: 66.39 kB / 0.6852 GB, free: 8.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1348, allocations: 81.81 kB / 0.6853 GB, free: 8.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1348, allocations: 0 / 0.6853 GB, free: 8.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005215/0.1354, allocations: 183.3 kB / 0.6855 GB, free: 8.027 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.1354, allocations: 29.7 kB / 0.6855 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1354, allocations: 4 kB / 0.6855 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.1355, allocations: 0 / 0.6855 GB, free: 7.988 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.1357, allocations: 27.92 kB / 0.6855 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.1357, allocations: 8.062 kB / 0.6855 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.1358, allocations: 23.83 kB / 0.6856 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.1358, allocations: 4 kB / 0.6856 GB, free: 7.926 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * 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.0001429/0.136, allocations: 125.8 kB / 0.6857 GB, free: 7.793 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.136, allocations: 11.81 kB / 0.6857 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.1361, allocations: 17.39 kB / 0.6857 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1361, allocations: 0 / 0.6857 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1361, allocations: 4 kB / 0.6857 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/0.1362, allocations: 97 kB / 0.6858 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.1363, allocations: 0 / 0.6858 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1364, allocations: 15.94 kB / 0.6858 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.1365, allocations: 11.94 kB / 0.6858 GB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005333/0.137, allocations: 200.9 kB / 0.686 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006593/0.1377, allocations: 338.8 kB / 0.6863 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001601/0.1379, allocations: 47.94 kB / 0.6864 GB, free: 7.016 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.138, allocations: 132.9 kB / 0.6865 GB, free: 6.887 MB / 394.7 MB Notification: Performance of Backend: time 8.62e-07/0.138, allocations: 0 / 0.6865 GB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.1399, allocations: 0.5376 MB / 0.687 GB, free: 6.328 MB / 394.7 MB Notification: Performance of SimCode: time 0.0009003/0.1408, allocations: 0.7297 MB / 0.6878 GB, free: 5.555 MB / 394.7 MB Notification: Performance of Templates: time 0.006777/0.1476, allocations: 1.899 MB / 0.6896 GB, free: 3.652 MB / 394.7 MB