Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01237/0.01238, allocations: 105.2 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 200.3 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.6 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3434/0.3434, allocations: 37.99 MB / 307.9 MB, free: 10.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 79.81 kB / 433 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 56.46 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004266/0.3751, allocations: 2.622 MB / 492.1 MB, free: 17.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008898/0.384, allocations: 4.408 MB / 496.5 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003643/0.3844, allocations: 27.84 kB / 496.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009538/0.3854, allocations: 358.6 kB / 496.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.3857, allocations: 91.62 kB / 497 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008978/0.3946, allocations: 2.626 MB / 499.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002589/0.3972, allocations: 1.185 MB / 0.4891 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.3976, allocations: 83.52 kB / 0.4891 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.3984, allocations: 436.1 kB / 0.4896 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007027/0.3991, allocations: 413.4 kB / 0.49 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.3993, allocations: 55.81 kB / 0.49 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.403, allocations: 1.816 MB / 0.4918 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004266/0.4034, allocations: 305 kB / 0.4921 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.4039, allocations: 394 kB / 0.4924 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002963/0.4068, allocations: 2.3 MB / 0.4947 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4068, allocations: 0 / 0.4947 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4069, allocations: 3.938 kB / 0.4947 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4069, allocations: 0 / 0.4947 GB, free: 11.08 MB / 382.1 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.002624/0.4095, allocations: 1.46 MB / 0.4961 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.4096, allocations: 8.406 kB / 0.4961 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001767/0.4097, allocations: 105.8 kB / 0.4962 GB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.4105, allocations: 0.5934 MB / 0.4968 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.4106, allocations: 36.12 kB / 0.4968 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.4107, allocations: 74.23 kB / 0.4969 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.4117, allocations: 0.6981 MB / 0.4976 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.4117, allocations: 0 / 0.4976 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.4118, allocations: 17.41 kB / 0.4976 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.4118, allocations: 13.09 kB / 0.4976 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006429/0.4124, allocations: 368.4 kB / 0.498 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002442/0.4149, allocations: 1.349 MB / 0.4993 GB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.4165, allocations: 0.8438 MB / 0.5001 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004544/0.4169, allocations: 286.9 kB / 0.5004 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.417, allocations: 9.672 kB / 0.5004 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.417, allocations: 45.22 kB / 0.5004 GB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 1.763e-06/0.417, allocations: 0 / 0.5004 GB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001664/0.4187, allocations: 0.9636 MB / 0.5014 GB, free: 6.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002081/0.4189, allocations: 0.677 MB / 0.502 GB, free: 5.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.4199, allocations: 0.8443 MB / 0.5029 GB, free: 5.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.42, allocations: 49 kB / 0.5029 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.4203, allocations: 360.1 kB / 0.5033 GB, free: 5.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.4205, allocations: 222.2 kB / 0.5035 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004935/0.421, allocations: 249.6 kB / 0.5037 GB, free: 4.719 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4212, allocations: 415.5 kB / 0.5041 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001102/0.4224, allocations: 0.589 MB / 0.5047 GB, free: 4.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.4235, allocations: 0.8282 MB / 0.5055 GB, free: 3.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001593/0.4251, allocations: 1.124 MB / 0.5066 GB, free: 2.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4251, allocations: 0 / 0.5066 GB, free: 2.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002989/0.4281, allocations: 1.926 MB / 0.5085 GB, free: 1.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.4281, allocations: 5.188 kB / 0.5085 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.25e-05/0.4282, allocations: 14.92 kB / 0.5085 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.4296, allocations: 0.4935 MB / 0.509 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.4302, allocations: 139.8 kB / 0.5091 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/0.4454, allocations: 18.21 MB / 0.5269 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008936/0.4463, allocations: 126.5 kB / 0.527 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/0.4464, allocations: 35.94 kB / 0.527 GB, free: 15 MB / 414.1 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005782/0.447, allocations: 281.7 kB / 0.5273 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.4472, allocations: 86.78 kB / 0.5274 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001698/0.4474, allocations: 101.4 kB / 0.5275 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.4474, allocations: 4 kB / 0.5275 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.4474, allocations: 4 kB / 0.5275 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4474, allocations: 7.984 kB / 0.5275 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000825/0.4482, allocations: 0.6301 MB / 0.5281 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.4483, allocations: 4 kB / 0.5281 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006686/0.4489, allocations: 103.8 kB / 0.5282 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.4489, allocations: 7.984 kB / 0.5282 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.449, allocations: 27.98 kB / 0.5283 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.449, allocations: 0 / 0.5283 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.449, allocations: 4 kB / 0.5283 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.4506, allocations: 1.162 MB / 0.5294 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.4507, allocations: 155.9 kB / 0.5295 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.4508, allocations: 35.97 kB / 0.5296 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.4511, allocations: 27.97 kB / 0.5296 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.4513, allocations: 32.39 kB / 0.5296 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.4513, allocations: 27.88 kB / 0.5297 GB, free: 12.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006423/0.452, allocations: 0.5385 MB / 0.5302 GB, free: 11.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.452, allocations: 0 / 0.5302 GB, free: 11.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004434/0.4564, allocations: 0.7654 MB / 0.5309 GB, free: 10.91 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (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],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]) * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.4579, allocations: 0.6928 MB / 0.5316 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003947/0.4619, allocations: 2.997 MB / 0.5345 GB, free: 6.965 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4619, allocations: 4 kB / 0.5345 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005165/0.4624, allocations: 330.2 kB / 0.5349 GB, free: 6.641 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009386/0.4634, allocations: 234.9 kB / 0.5351 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.4665, allocations: 2.228 MB / 0.5373 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.4671, allocations: 1.086 MB / 0.5383 GB, free: 3.039 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003689/0.4675, allocations: 169.2 kB / 0.5385 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.4677, allocations: 59.44 kB / 0.5385 GB, free: 2.816 MB / 414.1 MB Notification: Performance of SimCode: time 2.525e-06/0.4677, allocations: 0 / 0.5385 GB, free: 2.816 MB / 414.1 MB Notification: Performance of Templates: time 0.04247/0.5101, allocations: 20.55 MB / 0.5586 GB, free: 14.25 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)