Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75.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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test75") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003838/0.003843, allocations: 364.4 kB / 15.96 MB, free: 6.203 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.149/4.149, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003516/0.003516, allocations: 235 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.5728/0.5728, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09846/0.09898, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002254/0.1013, allocations: 1.48 MB / 0.6816 GB, free: 40.16 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1033, allocations: 0.9525 MB / 0.6825 GB, free: 39.2 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.1034, allocations: 7.938 kB / 0.6825 GB, free: 39.19 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.1039, allocations: 207.6 kB / 0.6827 GB, free: 38.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1043, allocations: 131.6 kB / 0.6828 GB, free: 38.86 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.1047, allocations: 103.7 kB / 0.6829 GB, free: 38.75 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.105, allocations: 195.5 kB / 0.6831 GB, free: 38.56 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.1052, allocations: 13.56 kB / 0.6831 GB, free: 38.55 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001586/0.1054, allocations: 103.6 kB / 0.6832 GB, free: 38.45 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.1056, allocations: 127.6 kB / 0.6833 GB, free: 38.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/0.1056, allocations: 8 kB / 0.6833 GB, free: 38.32 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1059, allocations: 59.97 kB / 0.6834 GB, free: 38.26 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.715e-05/0.106, allocations: 47.83 kB / 0.6834 GB, free: 38.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.106, allocations: 57.58 kB / 0.6835 GB, free: 38.15 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.1064, allocations: 183.9 kB / 0.6837 GB, free: 37.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1064, allocations: 0 / 0.6837 GB, free: 37.97 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1064, allocations: 0 / 0.6837 GB, free: 37.97 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1064, allocations: 0 / 0.6837 GB, free: 37.97 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007648/0.1072, allocations: 0.6257 MB / 0.6843 GB, free: 37.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1072, allocations: 8.828 kB / 0.6843 GB, free: 37.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.1073, allocations: 31.62 kB / 0.6843 GB, free: 37.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.1077, allocations: 255 kB / 0.6846 GB, free: 36.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.1077, allocations: 8 kB / 0.6846 GB, free: 36.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.1078, allocations: 4 kB / 0.6846 GB, free: 36.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.1081, allocations: 103.3 kB / 0.6847 GB, free: 36.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1082, allocations: 0 / 0.6847 GB, free: 36.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.1082, allocations: 15.92 kB / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1082, allocations: 0 / 0.6847 GB, free: 36.8 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.1084, allocations: 39.92 kB / 0.6847 GB, free: 36.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.109, allocations: 468.9 kB / 0.6852 GB, free: 36.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.1094, allocations: 121.3 kB / 0.6853 GB, free: 36.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.1095, allocations: 37.7 kB / 0.6853 GB, free: 36.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/0.1096, allocations: 15.94 kB / 0.6853 GB, free: 36.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.1099, allocations: 113 kB / 0.6855 GB, free: 35.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.445e-06/0.1099, allocations: 0 / 0.6855 GB, free: 35.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001238/0.1112, allocations: 376.5 kB / 0.6858 GB, free: 35.55 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.1112, allocations: 81.09 kB / 0.6859 GB, free: 35.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.1117, allocations: 424.5 kB / 0.6863 GB, free: 35.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1118, allocations: 33.7 kB / 0.6863 GB, free: 35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1119, allocations: 144.5 kB / 0.6865 GB, free: 34.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.331e-05/0.112, allocations: 55.23 kB / 0.6865 GB, free: 34.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.112, allocations: 8 kB / 0.6865 GB, free: 34.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1121, allocations: 338.8 kB / 0.6868 GB, free: 34.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.1123, allocations: 60.16 kB / 0.6869 GB, free: 34.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.1126, allocations: 95.77 kB / 0.687 GB, free: 34.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.1128, allocations: 131.3 kB / 0.6871 GB, free: 34.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1128, allocations: 0 / 0.6871 GB, free: 34.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006455/0.1135, allocations: 294.3 kB / 0.6874 GB, free: 33.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.1136, allocations: 67.39 kB / 0.6875 GB, free: 33.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1136, allocations: 7.938 kB / 0.6875 GB, free: 33.76 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.1136, allocations: 4.062 kB / 0.6875 GB, free: 33.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1139, allocations: 36.11 kB / 0.6875 GB, free: 33.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1139, allocations: 0 / 0.6875 GB, free: 33.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.1141, allocations: 16 kB / 0.6875 GB, free: 33.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.857e-05/0.1141, allocations: 12 kB / 0.6875 GB, free: 33.69 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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0001845/0.1143, allocations: 163.1 kB / 0.6877 GB, free: 33.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.1143, allocations: 35.56 kB / 0.6877 GB, free: 33.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-05/0.1144, allocations: 38.61 kB / 0.6878 GB, free: 33.45 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1145, allocations: 4 kB / 0.6878 GB, free: 33.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1145, allocations: 0 / 0.6878 GB, free: 33.45 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1146, allocations: 116.7 kB / 0.6879 GB, free: 33.31 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.1146, allocations: 4 kB / 0.6879 GB, free: 33.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.1148, allocations: 8 kB / 0.6879 GB, free: 33.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.1148, allocations: 11.98 kB / 0.6879 GB, free: 33.29 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005947/0.1154, allocations: 340 kB / 0.6882 GB, free: 32.95 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0006553/0.1161, allocations: 425.7 kB / 0.6886 GB, free: 32.52 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001803/0.1163, allocations: 55.97 kB / 0.6887 GB, free: 32.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000357/0.1167, allocations: 303 kB / 0.689 GB, free: 32.17 MB / 346.7 MB Notification: Performance of Backend: time 7.42e-07/0.1167, allocations: 8 kB / 0.689 GB, free: 32.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.1194, allocations: 0.9229 MB / 0.6899 GB, free: 31.42 MB / 346.7 MB Notification: Performance of SimCode: time 0.001217/0.1207, allocations: 0.9198 MB / 0.6908 GB, free: 30.46 MB / 346.7 MB Notification: Performance of Templates: time 0.009205/0.1299, allocations: 2.996 MB / 0.6937 GB, free: 27.48 MB / 346.7 MB "" Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,t_new.columns[1],t_new.extrapolation,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.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,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.table[1,1],t_new_2.table[1,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.verboseRead,t_new_2.y[1],time