Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005142/0.005142, 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 4.354/4.354, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003618/0.003617, allocations: 237.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6091/0.6091, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004572/0.0004575, allocations: 16.5 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1149, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002949/0.1179, allocations: 1.355 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002218/0.1202, allocations: 0.7034 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1203, allocations: 0 / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003603/0.1207, allocations: 51.81 kB / 0.6822 GB, free: 39.52 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.121, allocations: 31.89 kB / 0.6822 GB, free: 39.49 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003165/0.1214, allocations: 51.89 kB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000228/0.1216, allocations: 115.6 kB / 0.6824 GB, free: 39.33 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1218, allocations: 8 kB / 0.6824 GB, free: 39.32 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.1219, allocations: 39.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.1221, allocations: 43.83 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.1221, allocations: 8 kB / 0.6825 GB, free: 39.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.1223, allocations: 35.98 kB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.624e-05/0.1224, allocations: 23.91 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.1225, allocations: 41.64 kB / 0.6826 GB, free: 39.12 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1228, allocations: 100 kB / 0.6826 GB, free: 39.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1228, allocations: 0 / 0.6826 GB, free: 39.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.1228, allocations: 4 kB / 0.6827 GB, free: 39.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1228, allocations: 0 / 0.6827 GB, free: 39.02 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007152/0.1236, allocations: 456.2 kB / 0.6831 GB, free: 38.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.1236, allocations: 12.83 kB / 0.6831 GB, free: 38.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.857e-05/0.1237, allocations: 7.906 kB / 0.6831 GB, free: 38.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1241, allocations: 222.7 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.007e-05/0.1241, allocations: 4 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.85e-05/0.1242, allocations: 4 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.1245, allocations: 73.64 kB / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1246, allocations: 0 / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.1246, allocations: 0 / 0.6834 GB, free: 38.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1246, allocations: 3.953 kB / 0.6834 GB, free: 38.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002314/0.1249, allocations: 43.97 kB / 0.6834 GB, free: 38.11 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.1255, allocations: 324.7 kB / 0.6838 GB, free: 37.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.126, allocations: 82.61 kB / 0.6838 GB, free: 37.65 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.1261, allocations: 32.84 kB / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.1262, allocations: 0 / 0.6839 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.1265, allocations: 87.33 kB / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 3.948e-06/0.1266, allocations: 0 / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.001274/0.1279, allocations: 233.2 kB / 0.6842 GB, free: 37.29 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1279, allocations: 51.41 kB / 0.6842 GB, free: 37.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.1282, allocations: 178.2 kB / 0.6844 GB, free: 37.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.1283, allocations: 29.7 kB / 0.6844 GB, free: 37.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.1284, allocations: 112.2 kB / 0.6845 GB, free: 36.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.382e-05/0.1285, allocations: 23.7 kB / 0.6845 GB, free: 36.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.1285, allocations: 8 kB / 0.6846 GB, free: 36.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.1286, allocations: 322.8 kB / 0.6849 GB, free: 36.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.1288, allocations: 35.98 kB / 0.6849 GB, free: 36.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002199/0.1291, allocations: 65.69 kB / 0.685 GB, free: 36.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.1293, allocations: 77.58 kB / 0.685 GB, free: 36.35 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.1294, allocations: 0 / 0.685 GB, free: 36.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006556/0.13, allocations: 195.1 kB / 0.6852 GB, free: 36.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.1301, allocations: 41.66 kB / 0.6853 GB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.1302, allocations: 3.984 kB / 0.6853 GB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.1302, allocations: 0 / 0.6853 GB, free: 36.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002423/0.1305, allocations: 16 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1305, allocations: 4 kB / 0.6853 GB, free: 36.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1306, allocations: 7.984 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.1307, allocations: 4 kB / 0.6853 GB, free: 36.07 MB / 346.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 (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.0001703/0.1309, allocations: 133.8 kB / 0.6854 GB, free: 35.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.1309, allocations: 15.8 kB / 0.6854 GB, free: 35.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.707e-05/0.1311, allocations: 17.36 kB / 0.6855 GB, free: 35.9 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1311, allocations: 4 kB / 0.6855 GB, free: 35.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1311, allocations: 0 / 0.6855 GB, free: 35.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1312, allocations: 101 kB / 0.6856 GB, free: 35.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.647e-05/0.1313, allocations: 8 kB / 0.6856 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1314, allocations: 0 / 0.6856 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/0.1315, allocations: 11.98 kB / 0.6856 GB, free: 35.76 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005483/0.1321, allocations: 208.9 kB / 0.6858 GB, free: 35.55 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005431/0.1327, allocations: 306.5 kB / 0.6861 GB, free: 35.23 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001798/0.1329, allocations: 31.98 kB / 0.6861 GB, free: 35.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.1331, allocations: 138 kB / 0.6862 GB, free: 35.07 MB / 346.7 MB Notification: Performance of Backend: time 1.503e-06/0.1331, allocations: 4 kB / 0.6862 GB, free: 35.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002667/0.1358, allocations: 0.5567 MB / 0.6868 GB, free: 34.64 MB / 346.7 MB Notification: Performance of SimCode: time 0.0009726/0.1368, allocations: 0.6821 MB / 0.6874 GB, free: 33.92 MB / 346.7 MB Notification: Performance of Templates: time 0.009838/0.1467, allocations: 1.811 MB / 0.6892 GB, free: 32.12 MB / 346.7 MB