Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|.tableR.1, 1..|.tableR.1, 2..|.tableR.1, 3..|.tableR.1, 4..|.tableR.2, 1..|.tableR.2, 2..|.tableR.2, 3..|.tableR.2, 4..|.tableR.3, 1..|.tableR.3, 2..|.tableR.3, 3..|.tableR.3, 4..|.tableR.4, 1..|.tableR.4, 2..|.tableR.4, 3..|.tableR.4, 4..|.tableL.1, 1..|.tableL.1, 2..|.tableL.1, 3..|.tableL.1, 4..|.tableL.2, 1..|.tableL.2, 2..|.tableL.2, 3..|.tableL.2, 4..|.tableL.3, 1..|.tableL.3, 2..|.tableL.3, 3..|.tableL.3, 4..|.tableL.4, 1..|.tableL.4, 2..|.tableL.4, 3..|.tableL.4, 4..|combiTable2D_1R.y|der_1R.y|combiTable2D_2R.y|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y|der_1L.y|combiTable2D_2L.y|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004825/0.004824, allocations: 346.4 kB / 15.94 MB, free: 6.219 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 3.671/3.671, allocations: 341.5 MB / 358.2 MB, free: 28.74 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00361/0.00361, allocations: 222.9 kB / 397.9 MB, free: 6.141 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.6021/0.6021, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 12 kB / 0.5592 GB, free: 60.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09225/0.09275, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5292, allocations: 75.58 MB / 0.6805 GB, free: 11.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.5295, allocations: 75.34 kB / 0.6806 GB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02382/0.5534, allocations: 6.197 MB / 0.6867 GB, free: 6.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5534, allocations: 4 kB / 0.6867 GB, free: 6.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.58e-05/0.5535, allocations: 8 kB / 0.6867 GB, free: 6.566 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001211/0.5547, allocations: 0.8196 MB / 0.6875 GB, free: 5.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5547, allocations: 8.031 kB / 0.6875 GB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.5549, allocations: 55.3 kB / 0.6875 GB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008204/0.5557, allocations: 429.2 kB / 0.688 GB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.5558, allocations: 11.5 kB / 0.688 GB, free: 5.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.5558, allocations: 15.44 kB / 0.688 GB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.5562, allocations: 127.3 kB / 0.6881 GB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.5563, allocations: 3.984 kB / 0.6881 GB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.5563, allocations: 4 kB / 0.6881 GB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.5563, allocations: 0 / 0.6881 GB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.5566, allocations: 104 kB / 0.6882 GB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.5579, allocations: 0.6759 MB / 0.6889 GB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.5583, allocations: 114.9 kB / 0.689 GB, free: 4.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.5585, allocations: 49.02 kB / 0.689 GB, free: 4.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.5585, allocations: 7.672 kB / 0.689 GB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.5586, allocations: 38 kB / 0.6891 GB, free: 4.156 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 3.256e-06/0.5586, allocations: 0 / 0.6891 GB, free: 4.156 MB / 314.7 MB Notification: Performance of matching and sorting (n=16): time 0.002204/0.5608, allocations: 0.5311 MB / 0.6896 GB, free: 3.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.5609, allocations: 85.06 kB / 0.6897 GB, free: 3.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.5623, allocations: 0.7882 MB / 0.6904 GB, free: 2.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/0.5624, allocations: 32.27 kB / 0.6905 GB, free: 2.898 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.5626, allocations: 232.2 kB / 0.6907 GB, free: 2.762 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.5626, allocations: 54.2 kB / 0.6907 GB, free: 2.715 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.71e-05/0.5627, allocations: 0 / 0.6907 GB, free: 2.715 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5628, allocations: 372.3 kB / 0.6911 GB, free: 2.363 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003255/0.5631, allocations: 67.58 kB / 0.6912 GB, free: 2.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.5634, allocations: 94.16 kB / 0.6912 GB, free: 2.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.5638, allocations: 183.4 kB / 0.6914 GB, free: 2.055 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5638, allocations: 3.938 kB / 0.6914 GB, free: 2.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00152/0.5654, allocations: 367.7 kB / 0.6918 GB, free: 1.703 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-05/0.5655, allocations: 110.8 kB / 0.6919 GB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.5655, allocations: 3.953 kB / 0.6919 GB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.5656, allocations: 8 kB / 0.6919 GB, free: 1.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.5662, allocations: 40.16 kB / 0.6919 GB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.5662, allocations: 0 / 0.6919 GB, free: 1.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.5667, allocations: 27.2 kB / 0.692 GB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/0.5668, allocations: 12 kB / 0.692 GB, free: 1.484 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0005193/0.5674, allocations: 205.2 kB / 0.6922 GB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.5677, allocations: 47.44 kB / 0.6922 GB, free: 1.246 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.5696, allocations: 285.4 kB / 0.6925 GB, free: 1.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.5697, allocations: 7.953 kB / 0.6925 GB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.5697, allocations: 0 / 0.6925 GB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5697, allocations: 0 / 0.6925 GB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.5734, allocations: 0.8331 MB / 0.6933 GB, free: 252 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.5735, allocations: 0 / 0.6933 GB, free: 252 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000586/0.5741, allocations: 55.2 kB / 0.6934 GB, free: 200 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.5741, allocations: 0 / 0.6934 GB, free: 200 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/0.5742, allocations: 4 kB / 0.6934 GB, free: 196 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.5742, allocations: 0 / 0.6934 GB, free: 196 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.5743, allocations: 0 / 0.6934 GB, free: 196 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.5758, allocations: 418.5 kB / 0.6938 GB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007532/0.5766, allocations: 186.9 kB / 0.6939 GB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.5768, allocations: 3.625 kB / 0.6939 GB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005862/0.5774, allocations: 19.98 kB / 0.694 GB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.5776, allocations: 19.47 kB / 0.694 GB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-05/0.5776, allocations: 8 kB / 0.694 GB, free: 15.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001911/0.5796, allocations: 0.5739 MB / 0.6945 GB, free: 15.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.092e-06/0.5796, allocations: 0 / 0.6945 GB, free: 15.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001189/0.5808, allocations: 99.41 kB / 0.6946 GB, free: 15.03 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002269/0.5832, allocations: 477.5 kB / 0.6951 GB, free: 14.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001547/0.5848, allocations: 387.8 kB / 0.6955 GB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5848, allocations: 192 / 0.6955 GB, free: 14.36 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005806/0.5854, allocations: 92.36 kB / 0.6956 GB, free: 14.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.5868, allocations: 54.03 kB / 0.6956 GB, free: 14.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.5905, allocations: 0.9075 MB / 0.6965 GB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/0.5914, allocations: 0.8445 MB / 0.6973 GB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005936/0.5921, allocations: 87.12 kB / 0.6974 GB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.5924, allocations: 35.42 kB / 0.6974 GB, free: 12.4 MB / 330.7 MB Notification: Performance of SimCode: time 1.512e-06/0.5924, allocations: 0 / 0.6974 GB, free: 12.4 MB / 330.7 MB Notification: Performance of Templates: time 0.02193/0.6144, allocations: 4.154 MB / 0.7015 GB, free: 8.27 MB / 330.7 MB