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.009557/0.009557, allocations: 103.1 kB / 15.73 MB, free: 6.051 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.001356/0.001356, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.778/1.778, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.3316/0.3316, allocations: 37.99 MB / 307.9 MB, free: 10.05 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.002441/0.002441, allocations: 67.89 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3974, allocations: 56.48 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003534/0.401, allocations: 2.629 MB / 492.1 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00777/0.4088, allocations: 4.405 MB / 496.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.4094, allocations: 23.72 kB / 496.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008544/0.4103, allocations: 349.1 kB / 496.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.4106, allocations: 90.69 kB / 497 MB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007652/0.4183, allocations: 2.625 MB / 499.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.4201, allocations: 1.183 MB / 0.489 GB, free: 13.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.4204, allocations: 89.61 kB / 0.4891 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006236/0.421, allocations: 434.7 kB / 0.4895 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.4216, allocations: 404.4 kB / 0.4899 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.4217, allocations: 55.09 kB / 0.49 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/0.4256, allocations: 1.82 MB / 0.4918 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004291/0.426, allocations: 304.3 kB / 0.492 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004418/0.4265, allocations: 390.2 kB / 0.4924 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003408/0.4299, allocations: 2.304 MB / 0.4947 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4299, allocations: 0 / 0.4947 GB, free: 11.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4299, allocations: 0 / 0.4947 GB, free: 11.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.366e-05/0.4299, allocations: 0 / 0.4947 GB, free: 11.14 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.002925/0.4329, allocations: 1.456 MB / 0.4961 GB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4329, allocations: 8.812 kB / 0.4961 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.4331, allocations: 109.2 kB / 0.4962 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007987/0.434, allocations: 0.5893 MB / 0.4968 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.434, allocations: 37.72 kB / 0.4968 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.4341, allocations: 76.92 kB / 0.4969 GB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.435, allocations: 0.6976 MB / 0.4976 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.4351, allocations: 1.312 kB / 0.4976 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.4351, allocations: 17.03 kB / 0.4976 GB, free: 8.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.4351, allocations: 12.25 kB / 0.4976 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006197/0.4358, allocations: 368.8 kB / 0.498 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.4382, allocations: 1.349 MB / 0.4993 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.4397, allocations: 0.8443 MB / 0.5001 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.4401, allocations: 291.3 kB / 0.5004 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.4402, allocations: 9.859 kB / 0.5004 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.4402, allocations: 40.91 kB / 0.5004 GB, free: 7.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.394e-06/0.4402, allocations: 0 / 0.5004 GB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001679/0.4419, allocations: 0.967 MB / 0.5014 GB, free: 6.781 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/0.4421, allocations: 0.674 MB / 0.502 GB, free: 5.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.4431, allocations: 0.8478 MB / 0.5029 GB, free: 5.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.359e-05/0.4432, allocations: 48.27 kB / 0.5029 GB, free: 5.406 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.4434, allocations: 361.4 kB / 0.5032 GB, free: 5.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.4436, allocations: 220.8 kB / 0.5035 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/0.4439, allocations: 254.1 kB / 0.5037 GB, free: 4.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.444, allocations: 415.8 kB / 0.5041 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.4448, allocations: 0.5893 MB / 0.5047 GB, free: 4.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.4457, allocations: 0.8293 MB / 0.5055 GB, free: 3.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.4472, allocations: 1.122 MB / 0.5066 GB, free: 3.035 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.4472, allocations: 3.984 kB / 0.5066 GB, free: 3.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003061/0.4503, allocations: 1.922 MB / 0.5085 GB, free: 2.039 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4503, allocations: 4.719 kB / 0.5085 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.008e-05/0.4504, allocations: 15.45 kB / 0.5085 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.4517, allocations: 0.4935 MB / 0.509 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006411/0.4523, allocations: 135.7 kB / 0.5091 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/0.4674, allocations: 18.21 MB / 0.5269 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/0.4684, allocations: 126.5 kB / 0.527 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.4685, allocations: 31.94 kB / 0.527 GB, free: 15.04 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.0005953/0.4691, allocations: 281.7 kB / 0.5273 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.4693, allocations: 90.78 kB / 0.5274 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.4695, allocations: 101.4 kB / 0.5275 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.335e-06/0.4695, allocations: 8 kB / 0.5275 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.4695, allocations: 0 / 0.5275 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.4695, allocations: 7.984 kB / 0.5275 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.4704, allocations: 0.634 MB / 0.5281 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4705, allocations: 0 / 0.5281 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.4712, allocations: 107.8 kB / 0.5282 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.4712, allocations: 4 kB / 0.5282 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.177e-05/0.4713, allocations: 27.98 kB / 0.5282 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.4713, allocations: 4 kB / 0.5282 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4714, allocations: 0 / 0.5282 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001903/0.4733, allocations: 1.162 MB / 0.5294 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.4735, allocations: 155.9 kB / 0.5295 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.4736, allocations: 35.97 kB / 0.5296 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.474, allocations: 35.91 kB / 0.5296 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.4741, allocations: 28.39 kB / 0.5296 GB, free: 12.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/0.4742, allocations: 19.94 kB / 0.5296 GB, free: 12.26 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007439/0.4749, allocations: 0.5385 MB / 0.5302 GB, free: 11.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4749, allocations: 0 / 0.5302 GB, free: 11.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004766/0.4797, allocations: 0.7614 MB / 0.5309 GB, free: 10.95 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.002126/0.4818, allocations: 0.6954 MB / 0.5316 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004229/0.4861, allocations: 2.997 MB / 0.5345 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/0.4861, allocations: 4 kB / 0.5345 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.4866, allocations: 334.2 kB / 0.5348 GB, free: 6.668 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.4877, allocations: 223.9 kB / 0.5351 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.4911, allocations: 2.236 MB / 0.5372 GB, free: 4.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000686/0.4918, allocations: 1.09 MB / 0.5383 GB, free: 3.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004569/0.4922, allocations: 169.2 kB / 0.5385 GB, free: 2.898 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.4924, allocations: 59.38 kB / 0.5385 GB, free: 2.844 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4924, allocations: 0 / 0.5385 GB, free: 2.844 MB / 414.1 MB Notification: Performance of Templates: time 0.03965/0.5321, allocations: 20.55 MB / 0.5586 GB, free: 14.27 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)