Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00427/0.004277, allocations: 368.8 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.192/4.192, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003537/0.003536, allocations: 232.1 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.683/0.683, allocations: 80.03 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007054/0.0007057, allocations: 12 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1347, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002725/0.1375, allocations: 1.363 MB / 0.6814 GB, free: 40.29 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1396, allocations: 0.7112 MB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1398, allocations: 4 kB / 0.6821 GB, free: 39.57 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.1402, allocations: 35.89 kB / 0.6822 GB, free: 39.53 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1404, allocations: 31.84 kB / 0.6822 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1407, allocations: 55.88 kB / 0.6823 GB, free: 39.45 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.141, allocations: 87.7 kB / 0.6823 GB, free: 39.36 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1411, allocations: 11.97 kB / 0.6823 GB, free: 39.35 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.1412, allocations: 35.84 kB / 0.6824 GB, free: 39.31 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.1414, allocations: 31.84 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1414, allocations: 4 kB / 0.6824 GB, free: 39.28 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1416, allocations: 36 kB / 0.6824 GB, free: 39.24 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.1417, allocations: 27.84 kB / 0.6825 GB, free: 39.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.765e-05/0.1418, allocations: 37.64 kB / 0.6825 GB, free: 39.17 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.142, allocations: 92.03 kB / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.142, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1421, allocations: 0 / 0.6826 GB, free: 39.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1421, allocations: 0 / 0.6826 GB, free: 39.08 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006579/0.1428, allocations: 454.2 kB / 0.683 GB, free: 38.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.1428, allocations: 8.828 kB / 0.683 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.1429, allocations: 11.91 kB / 0.6831 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.1432, allocations: 210.8 kB / 0.6833 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.1433, allocations: 0 / 0.6833 GB, free: 38.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.1433, allocations: 8 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.1436, allocations: 53.61 kB / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1436, allocations: 0 / 0.6833 GB, free: 38.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.1437, allocations: 4 kB / 0.6833 GB, free: 38.24 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1437, allocations: 7.953 kB / 0.6833 GB, free: 38.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.1438, allocations: 19.92 kB / 0.6833 GB, free: 38.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.1444, allocations: 300.8 kB / 0.6836 GB, free: 37.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1447, allocations: 58.61 kB / 0.6837 GB, free: 37.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1448, allocations: 20.86 kB / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.1449, allocations: 0 / 0.6837 GB, free: 37.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002725/0.1451, allocations: 79.33 kB / 0.6838 GB, free: 37.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.246e-06/0.1452, allocations: 0 / 0.6838 GB, free: 37.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009817/0.1462, allocations: 173.2 kB / 0.6839 GB, free: 37.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1462, allocations: 51.41 kB / 0.684 GB, free: 37.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1465, allocations: 194.2 kB / 0.6842 GB, free: 37.26 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.1466, allocations: 33.69 kB / 0.6842 GB, free: 37.22 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.1467, allocations: 104 kB / 0.6843 GB, free: 37.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.1467, allocations: 31.64 kB / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.1468, allocations: 0 / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.072e-05/0.1468, allocations: 322.8 kB / 0.6846 GB, free: 36.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.147, allocations: 31.98 kB / 0.6847 GB, free: 36.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1472, allocations: 49.64 kB / 0.6847 GB, free: 36.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1473, allocations: 65.69 kB / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1473, allocations: 0 / 0.6848 GB, free: 36.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003484/0.1477, allocations: 167.1 kB / 0.6849 GB, free: 36.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.838e-05/0.1477, allocations: 37.66 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1478, allocations: 4.078 kB / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1478, allocations: 0 / 0.685 GB, free: 36.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1479, allocations: 15.98 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.148, allocations: 3.984 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.148, allocations: 4.094 kB / 0.685 GB, free: 36.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.1481, allocations: 7.938 kB / 0.685 GB, free: 36.35 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 (11): * Single equations (assignments): 10 * 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.0001087/0.1482, allocations: 133.9 kB / 0.6851 GB, free: 36.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1482, allocations: 11.91 kB / 0.6852 GB, free: 36.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.302e-05/0.1483, allocations: 21.34 kB / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.1483, allocations: 0 / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1483, allocations: 0 / 0.6852 GB, free: 36.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.857e-05/0.1484, allocations: 96.94 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1484, allocations: 4.312 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.1485, allocations: 4 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.1486, allocations: 19.97 kB / 0.6853 GB, free: 36.04 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002818/0.1489, allocations: 172.9 kB / 0.6855 GB, free: 35.86 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002854/0.1492, allocations: 282.6 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.298e-05/0.1493, allocations: 31.92 kB / 0.6858 GB, free: 35.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1494, allocations: 141.8 kB / 0.6859 GB, free: 35.4 MB / 346.7 MB Notification: Performance of Backend: time 1.042e-06/0.1494, allocations: 0 / 0.6859 GB, free: 35.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.1513, allocations: 0.5318 MB / 0.6864 GB, free: 35.01 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006926/0.152, allocations: 0.6817 MB / 0.6871 GB, free: 34.29 MB / 346.7 MB Notification: Performance of Templates: time 0.005992/0.158, allocations: 1.628 MB / 0.6887 GB, free: 32.67 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,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.timeScale,t_new.verboseRead,t_new.y[1],time