Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002905/0.002911, allocations: 362.5 kB / 15.95 MB, free: 6.203 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.57/4.57, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003737/0.003737, allocations: 226 kB / 451 MB, free: 145.1 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.6738/0.6738, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007001/0.0007003, allocations: 15.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1248, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5188/0.6437, allocations: 81.95 MB / 0.7601 GB, free: 3.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/0.6441, allocations: 74.47 kB / 0.7602 GB, free: 3.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02956/0.6736, allocations: 6.792 MB / 0.7668 GB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6737, allocations: 0 / 0.7668 GB, free: 13.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.95e-05/0.6738, allocations: 11.98 kB / 0.7668 GB, free: 13.48 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001788/0.6756, allocations: 0.8443 MB / 0.7677 GB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.6756, allocations: 12.56 kB / 0.7677 GB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.6759, allocations: 51.34 kB / 0.7677 GB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.677, allocations: 437.1 kB / 0.7681 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.6771, allocations: 11.33 kB / 0.7681 GB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/0.6772, allocations: 11.62 kB / 0.7682 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.6778, allocations: 151.1 kB / 0.7683 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6778, allocations: 8 kB / 0.7683 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.6778, allocations: 3.562 kB / 0.7683 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.6779, allocations: 4 kB / 0.7683 GB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.6785, allocations: 124.9 kB / 0.7684 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.6803, allocations: 0.6957 MB / 0.7691 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004879/0.6808, allocations: 128.6 kB / 0.7692 GB, free: 11.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.6812, allocations: 75.12 kB / 0.7693 GB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.6812, allocations: 15.3 kB / 0.7693 GB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.6813, allocations: 30.56 kB / 0.7694 GB, free: 10.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 3.266e-06/0.6813, allocations: 0 / 0.7694 GB, free: 10.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.003907/0.6852, allocations: 0.735 MB / 0.7701 GB, free: 10.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.6853, allocations: 84.48 kB / 0.7702 GB, free: 10.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.6872, allocations: 0.7848 MB / 0.7709 GB, free: 9.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.108e-05/0.6873, allocations: 32.64 kB / 0.7709 GB, free: 9.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.6876, allocations: 236.8 kB / 0.7712 GB, free: 9.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.6877, allocations: 69.83 kB / 0.7712 GB, free: 9.305 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.6878, allocations: 3.594 kB / 0.7712 GB, free: 9.305 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.688, allocations: 369.3 kB / 0.7716 GB, free: 8.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.6886, allocations: 120.4 kB / 0.7717 GB, free: 8.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.6892, allocations: 143.6 kB / 0.7718 GB, free: 8.746 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006547/0.6898, allocations: 221.8 kB / 0.7721 GB, free: 8.535 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.6899, allocations: 0 / 0.7721 GB, free: 8.535 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001669/0.6915, allocations: 469.3 kB / 0.7725 GB, free: 8.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.6917, allocations: 114.8 kB / 0.7726 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6917, allocations: 0 / 0.7726 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.6918, allocations: 4 kB / 0.7726 GB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.6923, allocations: 59.95 kB / 0.7727 GB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.857e-05/0.6924, allocations: 7.938 kB / 0.7727 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.6928, allocations: 36.22 kB / 0.7727 GB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.6929, allocations: 11.38 kB / 0.7727 GB, free: 7.863 MB / 362.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 (24): * Single equations (assignments): 20 * 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.000433/0.6934, allocations: 196.8 kB / 0.7729 GB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002403/0.6936, allocations: 55.3 kB / 0.773 GB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.6953, allocations: 391.6 kB / 0.7733 GB, free: 7.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.6954, allocations: 4 kB / 0.7733 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.6954, allocations: 0 / 0.7733 GB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6954, allocations: 3.984 kB / 0.7734 GB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.6982, allocations: 0.966 MB / 0.7743 GB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.6982, allocations: 96 / 0.7743 GB, free: 6.438 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.6988, allocations: 71.77 kB / 0.7744 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6988, allocations: 0 / 0.7744 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.6988, allocations: 11.86 kB / 0.7744 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.6989, allocations: 4 kB / 0.7744 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6989, allocations: 0 / 0.7744 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.7004, allocations: 0.5041 MB / 0.7749 GB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003478/0.7008, allocations: 164 kB / 0.775 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.704e-05/0.7009, allocations: 3.375 kB / 0.775 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.7014, allocations: 31.61 kB / 0.7751 GB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.7015, allocations: 15.97 kB / 0.7751 GB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.7016, allocations: 15.36 kB / 0.7751 GB, free: 5.664 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001241/0.7028, allocations: 0.5711 MB / 0.7756 GB, free: 5.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7028, allocations: 0 / 0.7756 GB, free: 5.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007462/0.7036, allocations: 102.6 kB / 0.7757 GB, free: 5.121 MB / 362.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 (20): * Single equations (assignments): 20 * 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.001917/0.7055, allocations: 0.5943 MB / 0.7763 GB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.7072, allocations: 488.7 kB / 0.7768 GB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.7072, allocations: 0 / 0.7768 GB, free: 4.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.7079, allocations: 142.2 kB / 0.7769 GB, free: 4.141 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.7087, allocations: 55.86 kB / 0.777 GB, free: 4.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.7114, allocations: 0.963 MB / 0.7779 GB, free: 3.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.7121, allocations: 0.849 MB / 0.7788 GB, free: 2.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004736/0.7126, allocations: 91.19 kB / 0.7788 GB, free: 2.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.7128, allocations: 39.3 kB / 0.7789 GB, free: 2.188 MB / 362.7 MB Notification: Performance of SimCode: time 1.853e-06/0.7128, allocations: 0 / 0.7789 GB, free: 2.188 MB / 362.7 MB Notification: Performance of Templates: time 0.01575/0.7286, allocations: 4.416 MB / 0.7832 GB, free: 13.8 MB / 378.7 MB