Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002678/0.002682, allocations: 367.5 kB / 15.97 MB, free: 6.195 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.01/4.01, 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.003672/0.003672, allocations: 236.6 kB / 451 MB, free: 3.105 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.7722/0.7722, allocations: 80.01 MB / 0.5627 GB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.000476, allocations: 16 kB / 0.6265 GB, free: 4.824 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 54.89 MB / 0.6801 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003125/0.144, allocations: 1.311 MB / 0.6814 GB, free: 12.47 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1462, allocations: 0.7112 MB / 0.6821 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.1463, allocations: 0 / 0.6821 GB, free: 11.75 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.1467, allocations: 43.88 kB / 0.6821 GB, free: 11.71 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002584/0.147, allocations: 39.83 kB / 0.6822 GB, free: 11.67 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.1473, allocations: 51.89 kB / 0.6822 GB, free: 11.62 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.1475, allocations: 83.73 kB / 0.6823 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.805e-05/0.1476, allocations: 4 kB / 0.6823 GB, free: 11.54 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.1477, allocations: 39.78 kB / 0.6824 GB, free: 11.5 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.1479, allocations: 27.91 kB / 0.6824 GB, free: 11.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.1479, allocations: 4 kB / 0.6824 GB, free: 11.46 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.1481, allocations: 31.92 kB / 0.6824 GB, free: 11.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.1482, allocations: 23.92 kB / 0.6824 GB, free: 11.41 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.1483, allocations: 41.64 kB / 0.6825 GB, free: 11.36 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.1485, allocations: 96.08 kB / 0.6826 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1486, allocations: 3.938 kB / 0.6826 GB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1486, allocations: 0 / 0.6826 GB, free: 11.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.1486, allocations: 0 / 0.6826 GB, free: 11.27 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008054/0.1494, allocations: 462 kB / 0.683 GB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.542e-05/0.1495, allocations: 12.03 kB / 0.683 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.871e-05/0.1496, allocations: 7.906 kB / 0.683 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.15, allocations: 202.8 kB / 0.6832 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.15, allocations: 11.95 kB / 0.6832 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1501, allocations: 4 kB / 0.6832 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.1503, allocations: 49.67 kB / 0.6833 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.1504, allocations: 3.938 kB / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.1504, allocations: 0 / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1504, allocations: 0 / 0.6833 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.1506, allocations: 15.98 kB / 0.6833 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1509, allocations: 197.7 kB / 0.6835 GB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1513, allocations: 54.61 kB / 0.6836 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1514, allocations: 28.81 kB / 0.6836 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1515, allocations: 0 / 0.6836 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.1518, allocations: 63.33 kB / 0.6836 GB, free: 9.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 3.527e-06/0.1518, allocations: 0 / 0.6836 GB, free: 9.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000568/0.1524, allocations: 109.5 kB / 0.6837 GB, free: 9.883 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.1525, allocations: 51.41 kB / 0.6838 GB, free: 9.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.153, allocations: 254.3 kB / 0.684 GB, free: 9.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.1531, allocations: 33.7 kB / 0.6841 GB, free: 9.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.1532, allocations: 104.1 kB / 0.6842 GB, free: 9.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/0.1533, allocations: 23.69 kB / 0.6842 GB, free: 9.387 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.1533, allocations: 0 / 0.6842 GB, free: 9.387 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002234/0.1536, allocations: 330.8 kB / 0.6845 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.1537, allocations: 27.98 kB / 0.6845 GB, free: 9.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001743/0.1539, allocations: 37.64 kB / 0.6846 GB, free: 8.984 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1542, allocations: 57.69 kB / 0.6846 GB, free: 8.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1542, allocations: 0 / 0.6846 GB, free: 8.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005393/0.1547, allocations: 147.1 kB / 0.6848 GB, free: 8.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-05/0.1548, allocations: 37.61 kB / 0.6848 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.1549, allocations: 0 / 0.6848 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1549, allocations: 0 / 0.6848 GB, free: 8.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.1551, allocations: 20.33 kB / 0.6848 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1551, allocations: 0 / 0.6848 GB, free: 8.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1553, allocations: 11.91 kB / 0.6848 GB, free: 8.691 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1553, allocations: 4 kB / 0.6848 GB, free: 8.688 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 (8): * Single equations (assignments): 7 * 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.0002307/0.1556, allocations: 141.8 kB / 0.685 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.275e-05/0.1556, allocations: 15.77 kB / 0.685 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.028e-05/0.1557, allocations: 20.98 kB / 0.685 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1557, allocations: 0 / 0.685 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1557, allocations: 0 / 0.685 GB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1559, allocations: 104.8 kB / 0.6851 GB, free: 8.379 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.1559, allocations: 4 kB / 0.6851 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.161e-05/0.1561, allocations: 0 / 0.6851 GB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.1561, allocations: 4 kB / 0.6851 GB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004187/0.1566, allocations: 153 kB / 0.6853 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004898/0.1571, allocations: 266.6 kB / 0.6855 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001261/0.1572, allocations: 15.98 kB / 0.6855 GB, free: 7.922 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003764/0.1576, allocations: 188.5 kB / 0.6857 GB, free: 7.738 MB / 394.7 MB Notification: Performance of Backend: time 9.62e-07/0.1576, allocations: 0 / 0.6857 GB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002536/0.1602, allocations: 499.2 kB / 0.6862 GB, free: 7.227 MB / 394.7 MB Notification: Performance of SimCode: time 0.001199/0.1614, allocations: 0.7019 MB / 0.6869 GB, free: 6.48 MB / 394.7 MB Notification: Performance of Templates: time 0.007823/0.1693, allocations: 1.411 MB / 0.6882 GB, free: 5.066 MB / 394.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[5007]=2.500000 File[6005]=3.000500 " Variables in the reference:time,t_new.nextTimeEvent,t_new.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.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],time