Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new_2.nextTimeEvent|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002812/0.002812, allocations: 364.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.214/4.214, allocations: 388.9 MB / 405.6 MB, free: 9.664 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.006365/0.006364, allocations: 229.7 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.6753/0.6753, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.000501, allocations: 14 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002733/0.1154, allocations: 1.425 MB / 0.6815 GB, free: 40.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003389/0.1189, allocations: 1.504 MB / 0.683 GB, free: 38.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1191, allocations: 4 kB / 0.683 GB, free: 38.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.1195, allocations: 39.83 kB / 0.683 GB, free: 38.62 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003311/0.1198, allocations: 55.73 kB / 0.6831 GB, free: 38.57 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.1203, allocations: 103.8 kB / 0.6832 GB, free: 38.46 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003121/0.1207, allocations: 163.5 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.1208, allocations: 9.562 kB / 0.6833 GB, free: 38.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.121, allocations: 63.7 kB / 0.6834 GB, free: 38.23 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.1213, allocations: 72.61 kB / 0.6835 GB, free: 38.16 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.094e-05/0.1213, allocations: 4 kB / 0.6835 GB, free: 38.16 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.1217, allocations: 83.95 kB / 0.6835 GB, free: 38.08 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.651e-05/0.1218, allocations: 27.89 kB / 0.6836 GB, free: 38.05 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.1219, allocations: 49.62 kB / 0.6836 GB, free: 38 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004142/0.1224, allocations: 160 kB / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1224, allocations: 0 / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1224, allocations: 4 kB / 0.6838 GB, free: 37.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1224, allocations: 0 / 0.6838 GB, free: 37.84 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.0008628/0.1233, allocations: 0.5521 MB / 0.6843 GB, free: 37.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1234, allocations: 12.03 kB / 0.6843 GB, free: 37.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.1235, allocations: 15.81 kB / 0.6843 GB, free: 37.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.1239, allocations: 231.3 kB / 0.6846 GB, free: 36.92 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.682e-05/0.1239, allocations: 12 kB / 0.6846 GB, free: 36.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.474e-05/0.124, allocations: 8 kB / 0.6846 GB, free: 36.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.1244, allocations: 93.08 kB / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1244, allocations: 3.938 kB / 0.6847 GB, free: 36.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.1244, allocations: 7.938 kB / 0.6847 GB, free: 36.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1245, allocations: 3.953 kB / 0.6847 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/0.1247, allocations: 35.97 kB / 0.6847 GB, free: 36.74 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.125, allocations: 230.4 kB / 0.6849 GB, free: 36.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.1255, allocations: 105.2 kB / 0.685 GB, free: 36.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1257, allocations: 45.64 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/0.1258, allocations: 4 kB / 0.6851 GB, free: 36.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003736/0.1262, allocations: 105 kB / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 3.296e-06/0.1262, allocations: 0 / 0.6852 GB, free: 36.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008094/0.127, allocations: 177.4 kB / 0.6854 GB, free: 35.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.1271, allocations: 136.5 kB / 0.6855 GB, free: 35.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003285/0.1274, allocations: 196.6 kB / 0.6857 GB, free: 35.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.1275, allocations: 33.7 kB / 0.6857 GB, free: 35.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.1276, allocations: 108.3 kB / 0.6858 GB, free: 35.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/0.1276, allocations: 23.7 kB / 0.6858 GB, free: 35.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.1277, allocations: 4 kB / 0.6858 GB, free: 35.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.1278, allocations: 330.8 kB / 0.6862 GB, free: 35.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.128, allocations: 43.98 kB / 0.6862 GB, free: 35.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.1283, allocations: 101 kB / 0.6863 GB, free: 34.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.1286, allocations: 115.3 kB / 0.6864 GB, free: 34.82 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1287, allocations: 4 kB / 0.6864 GB, free: 34.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007676/0.1294, allocations: 256.7 kB / 0.6866 GB, free: 34.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.17e-05/0.1295, allocations: 67.39 kB / 0.6867 GB, free: 34.47 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.1296, allocations: 0 / 0.6867 GB, free: 34.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.1296, allocations: 4 kB / 0.6867 GB, free: 34.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.1298, allocations: 19.98 kB / 0.6867 GB, free: 34.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1299, allocations: 4 kB / 0.6867 GB, free: 34.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.1301, allocations: 19.8 kB / 0.6868 GB, free: 34.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.1301, allocations: 12 kB / 0.6868 GB, free: 34.41 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (16): * Single equations (assignments): 14 * 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.0001757/0.1303, allocations: 140 kB / 0.6869 GB, free: 34.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.1304, allocations: 15.81 kB / 0.6869 GB, free: 34.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.795e-05/0.1305, allocations: 13 kB / 0.6869 GB, free: 34.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.1305, allocations: 7.984 kB / 0.6869 GB, free: 34.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1305, allocations: 3.984 kB / 0.6869 GB, free: 34.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.1307, allocations: 101.5 kB / 0.687 GB, free: 34.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-05/0.1307, allocations: 15.88 kB / 0.6871 GB, free: 34.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1309, allocations: 4 kB / 0.6871 GB, free: 34.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.131, allocations: 11.98 kB / 0.6871 GB, free: 34.09 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005917/0.1316, allocations: 296.1 kB / 0.6874 GB, free: 33.79 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006106/0.1322, allocations: 393.8 kB / 0.6877 GB, free: 33.39 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001845/0.1324, allocations: 39.97 kB / 0.6878 GB, free: 33.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002063/0.1326, allocations: 142 kB / 0.6879 GB, free: 33.21 MB / 346.7 MB Notification: Performance of Backend: time 8.41e-07/0.1327, allocations: 0 / 0.6879 GB, free: 33.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004461/0.1371, allocations: 1.002 MB / 0.6889 GB, free: 32.43 MB / 346.7 MB Notification: Performance of SimCode: time 0.001075/0.1383, allocations: 0.7256 MB / 0.6896 GB, free: 31.66 MB / 346.7 MB Notification: Performance of Templates: time 0.01175/0.15, allocations: 3.264 MB / 0.6928 GB, free: 28.41 MB / 346.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new_2.nextTimeEvent,t_new_2.y[1] Variables in the result: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],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.timeScale,t_new_2.verboseRead,t_new_2.y[1],time