Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,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.Test54") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004052/0.004058, allocations: 368.9 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.046/4.046, allocations: 388.9 MB / 405.6 MB, free: 48.64 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003502/0.003502, allocations: 228.7 kB / 451 MB, free: 3.109 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7755/0.7755, allocations: 80.01 MB / 0.5627 GB, free: 5.992 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004902/0.0004904, allocations: 12 kB / 0.6265 GB, free: 4.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1276, allocations: 54.89 MB / 0.6801 GB, free: 13.53 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.002699/0.1304, allocations: 1.354 MB / 0.6814 GB, free: 12.16 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1323, allocations: 0.7189 MB / 0.6821 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.1324, allocations: 0 / 0.6821 GB, free: 11.44 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1327, allocations: 39.88 kB / 0.6822 GB, free: 11.4 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.133, allocations: 43.83 kB / 0.6822 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.1332, allocations: 51.89 kB / 0.6823 GB, free: 11.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.1335, allocations: 83.69 kB / 0.6824 GB, free: 11.22 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1336, allocations: 12 kB / 0.6824 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1337, allocations: 39.78 kB / 0.6824 GB, free: 11.17 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.1338, allocations: 31.84 kB / 0.6824 GB, free: 11.14 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.444e-05/0.1339, allocations: 8 kB / 0.6824 GB, free: 11.13 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.134, allocations: 31.98 kB / 0.6825 GB, free: 11.1 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.1341, allocations: 23.91 kB / 0.6825 GB, free: 11.08 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.1341, allocations: 37.64 kB / 0.6825 GB, free: 11.04 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.1344, allocations: 104 kB / 0.6826 GB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1344, allocations: 0 / 0.6826 GB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.1344, allocations: 0 / 0.6826 GB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1344, allocations: 0 / 0.6826 GB, free: 10.93 MB / 394.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.0007225/0.1352, allocations: 450.2 kB / 0.6831 GB, free: 10.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1352, allocations: 12.03 kB / 0.6831 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.1353, allocations: 11.91 kB / 0.6831 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1356, allocations: 198.9 kB / 0.6833 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.1356, allocations: 7.953 kB / 0.6833 GB, free: 10.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1357, allocations: 11.91 kB / 0.6833 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1359, allocations: 57.61 kB / 0.6833 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1359, allocations: 0 / 0.6833 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.136, allocations: 0 / 0.6833 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.136, allocations: 4 kB / 0.6834 GB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1361, allocations: 19.98 kB / 0.6834 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.1367, allocations: 300.8 kB / 0.6837 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.1369, allocations: 62.61 kB / 0.6837 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.137, allocations: 20.84 kB / 0.6837 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1371, allocations: 7.922 kB / 0.6837 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.1373, allocations: 71.39 kB / 0.6838 GB, free: 9.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.524e-06/0.1373, allocations: 0 / 0.6838 GB, free: 9.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008202/0.1382, allocations: 185.1 kB / 0.684 GB, free: 9.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.1382, allocations: 51.41 kB / 0.684 GB, free: 9.293 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.1386, allocations: 226.2 kB / 0.6843 GB, free: 9.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.1386, allocations: 29.7 kB / 0.6843 GB, free: 9.023 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.688e-05/0.1387, allocations: 100.1 kB / 0.6844 GB, free: 8.922 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.1388, allocations: 23.7 kB / 0.6844 GB, free: 8.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1388, allocations: 8 kB / 0.6844 GB, free: 8.891 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.139, allocations: 326.8 kB / 0.6847 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.1391, allocations: 31.98 kB / 0.6848 GB, free: 8.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.1393, allocations: 53.52 kB / 0.6848 GB, free: 8.473 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.1395, allocations: 65.69 kB / 0.6849 GB, free: 8.402 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1395, allocations: 4 kB / 0.6849 GB, free: 8.398 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004226/0.1399, allocations: 163.5 kB / 0.685 GB, free: 8.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.14, allocations: 45.53 kB / 0.6851 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.14, allocations: 0 / 0.6851 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.14, allocations: 4 kB / 0.6851 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.1402, allocations: 16 kB / 0.6851 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.1402, allocations: 0 / 0.6851 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1404, allocations: 11.98 kB / 0.6851 GB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.1404, allocations: 4 kB / 0.6851 GB, free: 8.141 MB / 394.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.0001684/0.1406, allocations: 137.8 kB / 0.6852 GB, free: 7.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.1406, allocations: 11.89 kB / 0.6852 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.1407, allocations: 13.41 kB / 0.6853 GB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.1407, allocations: 4 kB / 0.6853 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1407, allocations: 0 / 0.6853 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.1408, allocations: 96.91 kB / 0.6854 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.1409, allocations: 0 / 0.6854 GB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.1409, allocations: 7.984 kB / 0.6854 GB, free: 7.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/0.141, allocations: 15.89 kB / 0.6854 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003613/0.1414, allocations: 176.9 kB / 0.6855 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003708/0.1418, allocations: 270.7 kB / 0.6858 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001184/0.1419, allocations: 40.14 kB / 0.6858 GB, free: 7.324 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1421, allocations: 156.3 kB / 0.686 GB, free: 7.172 MB / 394.7 MB Notification: Performance of Backend: time 1.032e-06/0.1421, allocations: 4 kB / 0.686 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.1441, allocations: 0.5301 MB / 0.6865 GB, free: 6.617 MB / 394.7 MB Notification: Performance of SimCode: time 0.0009256/0.1451, allocations: 0.694 MB / 0.6872 GB, free: 5.875 MB / 394.7 MB Notification: Performance of Templates: time 0.006825/0.152, allocations: 1.653 MB / 0.6888 GB, free: 4.219 MB / 394.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5005]=2.500000 File[6005]=3.000500 " 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.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.timeScale,t_new.verboseRead,t_new.y[1],time