Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003954/0.00396, allocations: 346.5 kB / 15.94 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 4.056/4.056, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005058/0.005058, allocations: 221.1 kB / 397.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4778/0.4778, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006996/0.0006998, allocations: 12 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1283, allocations: 48.7 MB / 0.6068 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002911/0.1313, allocations: 1.307 MB / 0.608 GB, free: 3.328 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.1326, allocations: 431.4 kB / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.533e-05/0.1327, allocations: 0 / 0.6084 GB, free: 2.902 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.1332, allocations: 91.8 kB / 0.6085 GB, free: 2.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.1335, allocations: 67.8 kB / 0.6086 GB, free: 2.746 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003411/0.1339, allocations: 59.86 kB / 0.6087 GB, free: 2.688 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.1341, allocations: 87.73 kB / 0.6087 GB, free: 2.602 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1343, allocations: 12.17 kB / 0.6087 GB, free: 2.59 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1344, allocations: 39.78 kB / 0.6088 GB, free: 2.551 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.1346, allocations: 51.88 kB / 0.6088 GB, free: 2.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.1346, allocations: 8 kB / 0.6088 GB, free: 2.492 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.1348, allocations: 39.88 kB / 0.6089 GB, free: 2.453 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.339e-05/0.1349, allocations: 31.89 kB / 0.6089 GB, free: 2.422 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.594e-05/0.135, allocations: 37.64 kB / 0.6089 GB, free: 2.379 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002739/0.1353, allocations: 100.1 kB / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1353, allocations: 0 / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1353, allocations: 0 / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1354, allocations: 0 / 0.609 GB, free: 2.281 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006997/0.1361, allocations: 436.4 kB / 0.6095 GB, free: 1.801 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.1362, allocations: 16.03 kB / 0.6095 GB, free: 1.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.24e-05/0.1362, allocations: 15.77 kB / 0.6095 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.1366, allocations: 202.9 kB / 0.6097 GB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.1366, allocations: 0 / 0.6097 GB, free: 1.531 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.667e-05/0.1367, allocations: 4 kB / 0.6097 GB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.1369, allocations: 61.67 kB / 0.6097 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1369, allocations: 11.92 kB / 0.6098 GB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.137, allocations: 0 / 0.6098 GB, free: 1.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.137, allocations: 3.984 kB / 0.6098 GB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.1372, allocations: 35.92 kB / 0.6098 GB, free: 1.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005636/0.1377, allocations: 300.8 kB / 0.6101 GB, free: 1.066 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1379, allocations: 54.5 kB / 0.6101 GB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.426e-05/0.138, allocations: 20.97 kB / 0.6102 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.1381, allocations: 0 / 0.6102 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.1383, allocations: 71.39 kB / 0.6102 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.206e-06/0.1383, allocations: 0 / 0.6102 GB, free: 0.8984 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000821/0.1392, allocations: 161 kB / 0.6104 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.1392, allocations: 59.41 kB / 0.6104 GB, free: 0.6641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.1396, allocations: 226.7 kB / 0.6106 GB, free: 440 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.1397, allocations: 29.7 kB / 0.6107 GB, free: 404 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.1398, allocations: 108.3 kB / 0.6108 GB, free: 292 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3778/0.5176, allocations: 24.91 kB / 0.6108 GB, free: 90.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.5177, allocations: 1.438 kB / 0.6108 GB, free: 90.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.5178, allocations: 326.1 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.518, allocations: 30.73 kB / 0.6111 GB, free: 90.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.5182, allocations: 27 kB / 0.6112 GB, free: 90.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.5184, allocations: 66.47 kB / 0.6112 GB, free: 90.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5184, allocations: 0 / 0.6112 GB, free: 90.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004734/0.5189, allocations: 147 kB / 0.6114 GB, free: 90.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.766e-05/0.519, allocations: 34.42 kB / 0.6114 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.519, allocations: 1.203 kB / 0.6114 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.5191, allocations: 2.156 kB / 0.6114 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.5193, allocations: 17.7 kB / 0.6114 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5193, allocations: 0 / 0.6114 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.5194, allocations: 10.73 kB / 0.6114 GB, free: 90.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.5195, allocations: 4.062 kB / 0.6114 GB, free: 90.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0002267/0.5197, allocations: 137 kB / 0.6116 GB, free: 90.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.5198, allocations: 16.14 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.52, allocations: 21.28 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.52, allocations: 0 / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.52, allocations: 2.969 kB / 0.6116 GB, free: 90.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.116e-05/0.5201, allocations: 93.55 kB / 0.6117 GB, free: 90.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.5202, allocations: 2.938 kB / 0.6117 GB, free: 90.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.5203, allocations: 2.156 kB / 0.6117 GB, free: 90.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/0.5204, allocations: 8.453 kB / 0.6117 GB, free: 90.03 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004172/0.5208, allocations: 167.5 kB / 0.6119 GB, free: 89.92 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004527/0.5213, allocations: 279.9 kB / 0.6121 GB, free: 89.72 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001042/0.5214, allocations: 23.31 kB / 0.6122 GB, free: 89.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000291/0.5218, allocations: 175.5 kB / 0.6123 GB, free: 89.64 MB / 362.7 MB Notification: Performance of Backend: time 8.61e-07/0.5218, allocations: 0 / 0.6123 GB, free: 89.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.5243, allocations: 449.1 kB / 0.6128 GB, free: 89.52 MB / 362.7 MB Notification: Performance of SimCode: time 0.001189/0.5256, allocations: 0.704 MB / 0.6134 GB, free: 88.89 MB / 362.7 MB Notification: Performance of Templates: time 0.01014/0.5358, allocations: 1.617 MB / 0.615 GB, free: 88.88 MB / 362.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new2.u,d_t_new2.y,t_new.columns[1],t_new.columns[2],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.p_offset[2],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.verboseRead,t_new.y[1],t_new.y[2],time