Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003226/0.003231, allocations: 367 kB / 15.96 MB, free: 6.18 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.218/4.218, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.003699/0.003699, allocations: 215.3 kB / 451 MB, free: 145 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.5237/0.5237, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006538/0.0006541, allocations: 12 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1219, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002015/0.124, allocations: 1.359 MB / 0.6814 GB, free: 40.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1261, allocations: 1.29 MB / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.529e-05/0.1262, allocations: 0 / 0.6827 GB, free: 38.95 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1265, allocations: 23.86 kB / 0.6827 GB, free: 38.93 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1267, allocations: 39.89 kB / 0.6828 GB, free: 38.89 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.127, allocations: 59.81 kB / 0.6828 GB, free: 38.83 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1271, allocations: 79.77 kB / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.1272, allocations: 12 kB / 0.6829 GB, free: 38.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.361e-05/0.1273, allocations: 35.83 kB / 0.6829 GB, free: 38.71 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.1275, allocations: 31.84 kB / 0.683 GB, free: 38.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.1275, allocations: 4 kB / 0.683 GB, free: 38.67 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.1277, allocations: 59.97 kB / 0.683 GB, free: 38.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.1277, allocations: 11.92 kB / 0.683 GB, free: 38.6 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.094e-05/0.1278, allocations: 41.58 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.128, allocations: 96.08 kB / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.128, allocations: 0 / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.128, allocations: 0 / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.128, allocations: 3.938 kB / 0.6832 GB, free: 38.46 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.0004902/0.1285, allocations: 454.3 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1286, allocations: 8.828 kB / 0.6836 GB, free: 37.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.895e-05/0.1286, allocations: 7.906 kB / 0.6836 GB, free: 37.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1289, allocations: 198.9 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.1289, allocations: 4 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1289, allocations: 4 kB / 0.6838 GB, free: 37.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.1292, allocations: 75.33 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1292, allocations: 4 kB / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1292, allocations: 0 / 0.6839 GB, free: 37.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1292, allocations: 3.953 kB / 0.6839 GB, free: 37.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.1293, allocations: 19.98 kB / 0.6839 GB, free: 37.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.1297, allocations: 292.9 kB / 0.6842 GB, free: 37.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.13, allocations: 62.61 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.783e-05/0.1301, allocations: 24.86 kB / 0.6843 GB, free: 37.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.1301, allocations: 3.984 kB / 0.6843 GB, free: 37.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002084/0.1303, allocations: 67.34 kB / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.124e-06/0.1303, allocations: 0 / 0.6843 GB, free: 37.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007072/0.1311, allocations: 165.6 kB / 0.6845 GB, free: 36.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1311, allocations: 89.09 kB / 0.6846 GB, free: 36.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1313, allocations: 144.8 kB / 0.6847 GB, free: 36.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1313, allocations: 29.7 kB / 0.6848 GB, free: 36.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1314, allocations: 96.03 kB / 0.6848 GB, free: 36.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.1314, allocations: 23.66 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.718e-06/0.1314, allocations: 8 kB / 0.6849 GB, free: 36.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.1315, allocations: 318.8 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1316, allocations: 27.98 kB / 0.6852 GB, free: 36.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1317, allocations: 62.5 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1319, allocations: 65.69 kB / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1319, allocations: 0 / 0.6853 GB, free: 35.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003457/0.1323, allocations: 160.2 kB / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.1323, allocations: 41.62 kB / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1323, allocations: 4.109 kB / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.1324, allocations: 4 kB / 0.6855 GB, free: 35.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1325, allocations: 20.06 kB / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1325, allocations: 0 / 0.6856 GB, free: 35.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.1326, allocations: 11.98 kB / 0.6856 GB, free: 35.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.1326, allocations: 4 kB / 0.6856 GB, free: 35.73 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.0001095/0.1328, allocations: 117.8 kB / 0.6857 GB, free: 35.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.1328, allocations: 15.8 kB / 0.6857 GB, free: 35.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.1329, allocations: 16.8 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1329, allocations: 3.938 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.1329, allocations: 4 kB / 0.6857 GB, free: 35.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.133, allocations: 93 kB / 0.6858 GB, free: 35.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.133, allocations: 8 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.255e-05/0.1331, allocations: 0 / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.1331, allocations: 7.984 kB / 0.6858 GB, free: 35.44 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002879/0.1334, allocations: 176.9 kB / 0.686 GB, free: 35.26 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002897/0.1337, allocations: 286.6 kB / 0.6863 GB, free: 34.96 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.215e-05/0.1338, allocations: 23.98 kB / 0.6863 GB, free: 34.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001224/0.134, allocations: 108 kB / 0.6864 GB, free: 34.84 MB / 346.7 MB Notification: Performance of Backend: time 7.51e-07/0.134, allocations: 0 / 0.6864 GB, free: 34.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002007/0.136, allocations: 0.6271 MB / 0.687 GB, free: 34.38 MB / 346.7 MB Notification: Performance of SimCode: time 0.0006374/0.1367, allocations: 0.639 MB / 0.6876 GB, free: 33.69 MB / 346.7 MB Notification: Performance of Templates: time 0.006755/0.1435, allocations: 1.976 MB / 0.6896 GB, free: 31.73 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.timeScale,t_new.verboseRead,t_new.y[1],time