Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test26.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.CombiTable2D.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test26") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004033/0.004037, allocations: 367 kB / 15.96 MB, free: 6.18 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.465/4.465, allocations: 388.9 MB / 405.6 MB, free: 9.566 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.003509/0.003508, allocations: 223.2 kB / 451 MB, free: 144.9 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.5333/0.5333, allocations: 80.03 MB / 0.5627 GB, free: 19.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 8 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.09309, allocations: 54.88 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test26): time 0.00184/0.09499, allocations: 1.252 MB / 0.6813 GB, free: 40.35 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005578/0.09556, allocations: 247.9 kB / 0.6816 GB, free: 40.11 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.721e-05/0.09563, allocations: 0 / 0.6816 GB, free: 40.11 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.09584, allocations: 59.84 kB / 0.6816 GB, free: 40.05 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.09601, allocations: 35.89 kB / 0.6817 GB, free: 40.01 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.09615, allocations: 27.92 kB / 0.6817 GB, free: 39.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.09628, allocations: 63.81 kB / 0.6817 GB, free: 39.92 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.868e-05/0.09638, allocations: 8 kB / 0.6818 GB, free: 39.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.09644, allocations: 23.92 kB / 0.6818 GB, free: 39.89 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.151e-05/0.09654, allocations: 27.91 kB / 0.6818 GB, free: 39.86 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.09656, allocations: 4 kB / 0.6818 GB, free: 39.86 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.09665, allocations: 19.97 kB / 0.6818 GB, free: 39.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.593e-05/0.0967, allocations: 15.94 kB / 0.6818 GB, free: 39.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.29e-05/0.09673, allocations: 29.64 kB / 0.6819 GB, free: 39.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.09685, allocations: 64.12 kB / 0.6819 GB, free: 39.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.09687, allocations: 0 / 0.6819 GB, free: 39.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.09688, allocations: 0 / 0.6819 GB, free: 39.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.09689, allocations: 0 / 0.6819 GB, free: 39.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004404/0.09734, allocations: 408.6 kB / 0.6823 GB, free: 39.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.0974, allocations: 8.828 kB / 0.6823 GB, free: 39.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.09745, allocations: 15.86 kB / 0.6823 GB, free: 39.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.09761, allocations: 178.9 kB / 0.6825 GB, free: 39.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.09763, allocations: 4 kB / 0.6825 GB, free: 39.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.09766, allocations: 8 kB / 0.6825 GB, free: 39.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.09788, allocations: 69.53 kB / 0.6826 GB, free: 38.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.0979, allocations: 0 / 0.6826 GB, free: 38.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.09792, allocations: 4 kB / 0.6826 GB, free: 38.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.09794, allocations: 0 / 0.6826 GB, free: 38.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.09816, allocations: 47.92 kB / 0.6826 GB, free: 38.9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.09852, allocations: 280.9 kB / 0.6829 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.09869, allocations: 50.5 kB / 0.683 GB, free: 38.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.09882, allocations: 24.94 kB / 0.683 GB, free: 38.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.09886, allocations: 4 kB / 0.683 GB, free: 38.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.09889, allocations: 38.52 kB / 0.683 GB, free: 38.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.0989, allocations: 0 / 0.683 GB, free: 38.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.001108/0.1, allocations: 249.1 kB / 0.6833 GB, free: 38.19 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.1, allocations: 55.41 kB / 0.6833 GB, free: 38.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1002, allocations: 164.9 kB / 0.6835 GB, free: 37.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.1002, allocations: 29.7 kB / 0.6835 GB, free: 37.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.1003, allocations: 100.1 kB / 0.6836 GB, free: 37.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.1003, allocations: 23.72 kB / 0.6836 GB, free: 37.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.646e-06/0.1004, allocations: 4 kB / 0.6836 GB, free: 37.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.1004, allocations: 318.8 kB / 0.6839 GB, free: 37.46 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1006, allocations: 43.97 kB / 0.684 GB, free: 37.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001896/0.1008, allocations: 43.97 kB / 0.684 GB, free: 37.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/0.101, allocations: 65.69 kB / 0.6841 GB, free: 37.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1011, allocations: 0 / 0.6841 GB, free: 37.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004784/0.1016, allocations: 167.1 kB / 0.6842 GB, free: 37.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.046e-05/0.1016, allocations: 37.62 kB / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1016, allocations: 0 / 0.6843 GB, free: 37.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.1016, allocations: 8.281 kB / 0.6843 GB, free: 37.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.1018, allocations: 23.98 kB / 0.6843 GB, free: 37.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1018, allocations: 0 / 0.6843 GB, free: 37.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.102, allocations: 15.98 kB / 0.6843 GB, free: 37.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.102, allocations: 0 / 0.6843 GB, free: 37.04 MB / 346.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: 0 () * 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 8.277e-05/0.1021, allocations: 121.8 kB / 0.6844 GB, free: 36.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.1021, allocations: 19.84 kB / 0.6844 GB, free: 36.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.1026, allocations: 150.5 kB / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1027, allocations: 0 / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1027, allocations: 0 / 0.6846 GB, free: 36.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.1027, allocations: 89 kB / 0.6847 GB, free: 36.63 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.1027, allocations: 4 kB / 0.6847 GB, free: 36.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.1029, allocations: 11.98 kB / 0.6847 GB, free: 36.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.1029, allocations: 4 kB / 0.6847 GB, free: 36.61 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000522/0.1035, allocations: 224.9 kB / 0.6849 GB, free: 36.39 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004725/0.104, allocations: 314.6 kB / 0.6852 GB, free: 36.06 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002028/0.1042, allocations: 47.91 kB / 0.6853 GB, free: 36.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.655e-05/0.1043, allocations: 127.9 kB / 0.6854 GB, free: 35.89 MB / 346.7 MB Notification: Performance of Backend: time 1.012e-06/0.1043, allocations: 0 / 0.6854 GB, free: 35.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001283/0.1056, allocations: 388.6 kB / 0.6857 GB, free: 35.6 MB / 346.7 MB Notification: Performance of SimCode: time 0.0005143/0.1061, allocations: 0.6424 MB / 0.6864 GB, free: 34.91 MB / 346.7 MB Notification: Performance of Templates: time 0.004335/0.1105, allocations: 1.072 MB / 0.6874 GB, free: 33.84 MB / 346.7 MB "" Variables in the reference:time,t_new.y,d_t_new.y,clock1.y,clock2.y Variables in the result:clock1.offset,clock1.startTime,clock1.y,clock2.offset,clock2.startTime,clock2.y,d_t_new.u,d_t_new.y,t_new.smoothness,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[1,4],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[2,4],t_new.verboseRead,t_new.y,time