Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.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.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel_a.x.1.|Bessel_a.x.2.|Bessel_a.x.3.|Bessel_b.x.1.|Bessel_b.x.2.|Bessel_b.x.3.|Bessel_b.x.4.|Bessel_b.x.5.|Bessel_b.x.6.|Butterworth_a.x.1.|Butterworth_a.x.2.|Butterworth_a.x.3.|Butterworth_b.x.1.|Butterworth_b.x.2.|Butterworth_b.x.3.|Butterworth_b.x.4.|Butterworth_b.x.5.|Butterworth_b.x.6.|ChebyshevI_a.x.1.|ChebyshevI_a.x.2.|ChebyshevI_a.x.3.|ChebyshevI_b.x.1.|ChebyshevI_b.x.2.|ChebyshevI_b.x.3.|ChebyshevI_b.x.4.|ChebyshevI_b.x.5.|ChebyshevI_b.x.6.|CriticalDamping_a.x.1.|CriticalDamping_a.x.2.|CriticalDamping_a.x.3.|CriticalDamping_b.x.1.|CriticalDamping_b.x.2.|CriticalDamping_b.x.3.|CriticalDamping_b.x.4.|CriticalDamping_b.x.5.|CriticalDamping_b.x.6.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0027/0.002699, allocations: 370.6 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 3.79/3.79, 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.003523/0.003523, allocations: 236.3 kB / 451 MB, free: 145 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.4928/0.4928, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000615/0.0006153, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.09451, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.002944/0.09751, allocations: 2.183 MB / 0.6822 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008604/0.1062, allocations: 4.264 MB / 0.6864 GB, free: 35.17 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.1066, allocations: 19.81 kB / 0.6864 GB, free: 35.15 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008951/0.1075, allocations: 298.6 kB / 0.6867 GB, free: 34.86 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1078, allocations: 67.36 kB / 0.6868 GB, free: 34.79 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006829/0.1147, allocations: 2.14 MB / 0.6889 GB, free: 32.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.1161, allocations: 0.9822 MB / 0.6898 GB, free: 31.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1163, allocations: 81.67 kB / 0.6899 GB, free: 31.62 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004569/0.1168, allocations: 366.6 kB / 0.6902 GB, free: 31.27 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.1174, allocations: 362.5 kB / 0.6906 GB, free: 30.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.1175, allocations: 32 kB / 0.6906 GB, free: 30.88 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002745/0.1203, allocations: 1.432 MB / 0.692 GB, free: 29.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.1207, allocations: 271.2 kB / 0.6923 GB, free: 29.18 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.1209, allocations: 153.1 kB / 0.6924 GB, free: 29.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.1231, allocations: 1.867 MB / 0.6942 GB, free: 27.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.413e-06/0.1231, allocations: 0 / 0.6942 GB, free: 27.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1232, allocations: 3.938 kB / 0.6942 GB, free: 27.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.1232, allocations: 4 kB / 0.6942 GB, free: 27.14 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003258/0.1264, allocations: 1.308 MB / 0.6955 GB, free: 25.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1265, allocations: 12.03 kB / 0.6955 GB, free: 25.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.1267, allocations: 106.7 kB / 0.6956 GB, free: 25.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000984/0.1277, allocations: 0.5503 MB / 0.6962 GB, free: 25.06 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.1278, allocations: 44.98 kB / 0.6962 GB, free: 25.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.128, allocations: 63.91 kB / 0.6963 GB, free: 24.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.1293, allocations: 0.7006 MB / 0.697 GB, free: 24.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1293, allocations: 0 / 0.697 GB, free: 24.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.009e-05/0.1294, allocations: 23.95 kB / 0.697 GB, free: 24.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.1294, allocations: 8 kB / 0.697 GB, free: 24.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009167/0.1303, allocations: 371.7 kB / 0.6974 GB, free: 23.78 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.1338, allocations: 1.363 MB / 0.6987 GB, free: 22.36 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.136, allocations: 0.8362 MB / 0.6995 GB, free: 21.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/0.1367, allocations: 290 kB / 0.6998 GB, free: 21.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.1367, allocations: 4.438 kB / 0.6998 GB, free: 21.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1368, allocations: 47 kB / 0.6998 GB, free: 21.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 3.597e-06/0.1368, allocations: 0 / 0.6998 GB, free: 21.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.002312/0.1391, allocations: 0.9833 MB / 0.7008 GB, free: 20.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.1393, allocations: 0.6609 MB / 0.7014 GB, free: 19.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.1404, allocations: 0.8379 MB / 0.7022 GB, free: 18.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.1406, allocations: 49.7 kB / 0.7023 GB, free: 18.44 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002992/0.1409, allocations: 357.4 kB / 0.7026 GB, free: 18.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/0.1411, allocations: 220.8 kB / 0.7028 GB, free: 17.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.521e-05/0.1411, allocations: 16 kB / 0.7029 GB, free: 17.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1413, allocations: 418.7 kB / 0.7033 GB, free: 17.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.1425, allocations: 0.5885 MB / 0.7038 GB, free: 16.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.1439, allocations: 0.83 MB / 0.7046 GB, free: 15.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.1453, allocations: 0.7037 MB / 0.7053 GB, free: 15.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1453, allocations: 0 / 0.7053 GB, free: 15.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004376/0.1497, allocations: 1.905 MB / 0.7072 GB, free: 13.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1498, allocations: 4 kB / 0.7072 GB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-05/0.1498, allocations: 19.97 kB / 0.7072 GB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/0.1521, allocations: 0.4939 MB / 0.7077 GB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.1532, allocations: 151.8 kB / 0.7078 GB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3292/0.4824, allocations: 16.89 MB / 0.7243 GB, free: 38.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000898/0.4834, allocations: 132 kB / 0.7245 GB, free: 38.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.4835, allocations: 34.88 kB / 0.7245 GB, free: 38.08 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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005823/0.4841, allocations: 284.4 kB / 0.7248 GB, free: 37.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.4842, allocations: 86.16 kB / 0.7249 GB, free: 37.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.4845, allocations: 103.1 kB / 0.7249 GB, free: 37.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.4845, allocations: 2.812 kB / 0.725 GB, free: 37.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.4845, allocations: 3.844 kB / 0.725 GB, free: 37.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.4847, allocations: 161 kB / 0.7251 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002152/0.4849, allocations: 39.77 kB / 0.7251 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/0.4856, allocations: 32.3 kB / 0.7252 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.4857, allocations: 31.22 kB / 0.7252 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006007/0.4917, allocations: 1.23 MB / 0.7264 GB, free: 37.75 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003442/0.4952, allocations: 1.45 MB / 0.7278 GB, free: 37.51 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000895/0.4961, allocations: 382.9 kB / 0.7282 GB, free: 37.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009558/0.4971, allocations: 0.5273 MB / 0.7287 GB, free: 37.22 MB / 346.7 MB Notification: Performance of Backend: time 8.62e-07/0.4971, allocations: 0 / 0.7287 GB, free: 37.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008054/0.5052, allocations: 3.404 MB / 0.732 GB, free: 35.06 MB / 346.7 MB Notification: Performance of SimCode: time 0.004925/0.5101, allocations: 2.822 MB / 0.7348 GB, free: 33.37 MB / 346.7 MB Notification: Performance of Templates: time 0.05069/0.5609, allocations: 19.94 MB / 0.7543 GB, free: 21.53 MB / 346.7 MB