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.006689/0.006689, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001602/0.001602, allocations: 189.4 kB / 16.67 MB, free: 5.969 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.643/1.643, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.4037/0.4037, allocations: 38 MB / 307.9 MB, free: 10.18 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.001873/0.001873, allocations: 75.84 kB / 433 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4463, allocations: 56.47 MB / 489.5 MB, free: 19.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.005571/0.452, allocations: 2.622 MB / 492.1 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009498/0.4615, allocations: 4.417 MB / 496.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004702/0.462, allocations: 24.22 kB / 496.6 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009338/0.463, allocations: 341.4 kB / 496.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002245/0.4633, allocations: 86.59 kB / 497 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009044/0.4723, allocations: 2.632 MB / 499.6 MB, free: 14.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00253/0.4749, allocations: 1.178 MB / 0.489 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.4752, allocations: 84.72 kB / 0.4891 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006988/0.4759, allocations: 444 kB / 0.4895 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007818/0.4767, allocations: 405.8 kB / 0.4899 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.4769, allocations: 54.31 kB / 0.49 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.4814, allocations: 1.814 MB / 0.4918 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.4818, allocations: 307.8 kB / 0.4921 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.4823, allocations: 394.9 kB / 0.4924 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003335/0.4857, allocations: 2.295 MB / 0.4947 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4857, allocations: 5.188 kB / 0.4947 GB, free: 11.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4857, allocations: 0 / 0.4947 GB, free: 11.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.4857, allocations: 0 / 0.4947 GB, free: 11.1 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.003348/0.4891, allocations: 1.463 MB / 0.4961 GB, free: 10.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/0.4892, allocations: 9.906 kB / 0.4961 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.4894, allocations: 108.9 kB / 0.4962 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.4904, allocations: 0.5859 MB / 0.4968 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.4905, allocations: 36.84 kB / 0.4968 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.4907, allocations: 77.7 kB / 0.4969 GB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.4918, allocations: 0.6985 MB / 0.4976 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4918, allocations: 0 / 0.4976 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.4919, allocations: 17.69 kB / 0.4976 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.4919, allocations: 7.781 kB / 0.4976 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007343/0.4927, allocations: 372.8 kB / 0.498 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/0.4958, allocations: 1.345 MB / 0.4993 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/0.4975, allocations: 0.8441 MB / 0.5001 GB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.4979, allocations: 287.4 kB / 0.5004 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.341e-05/0.498, allocations: 5.875 kB / 0.5004 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.498, allocations: 48.86 kB / 0.5004 GB, free: 7.215 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.498, allocations: 0 / 0.5004 GB, free: 7.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001781/0.4998, allocations: 0.9673 MB / 0.5014 GB, free: 6.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002384/0.5001, allocations: 0.6702 MB / 0.502 GB, free: 5.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5012, allocations: 0.8401 MB / 0.5028 GB, free: 5.422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.332e-05/0.5013, allocations: 56.28 kB / 0.5029 GB, free: 5.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.5015, allocations: 360.3 kB / 0.5032 GB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.5017, allocations: 218.4 kB / 0.5034 GB, free: 4.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003943/0.5021, allocations: 249.6 kB / 0.5037 GB, free: 4.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.5023, allocations: 416.2 kB / 0.5041 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009968/0.5033, allocations: 0.5881 MB / 0.5047 GB, free: 4.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/0.5045, allocations: 0.8406 MB / 0.5055 GB, free: 3.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.5061, allocations: 1.12 MB / 0.5066 GB, free: 2.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5061, allocations: 0 / 0.5066 GB, free: 2.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003661/0.5098, allocations: 1.926 MB / 0.5085 GB, free: 2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.786e-05/0.5098, allocations: 4.625 kB / 0.5085 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-05/0.5099, allocations: 15.52 kB / 0.5085 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.5115, allocations: 0.4936 MB / 0.509 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.5121, allocations: 139 kB / 0.5091 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.5285, allocations: 18.21 MB / 0.5269 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.5297, allocations: 126.5 kB / 0.527 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.135e-05/0.5298, allocations: 31.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.0007114/0.5305, allocations: 285.6 kB / 0.5273 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002619/0.5308, allocations: 90.78 kB / 0.5274 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.531, allocations: 97.41 kB / 0.5275 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.531, allocations: 8 kB / 0.5275 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.531, allocations: 0 / 0.5275 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.531, allocations: 3.984 kB / 0.5275 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000887/0.5319, allocations: 0.6418 MB / 0.5281 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5319, allocations: 0 / 0.5281 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.5327, allocations: 103.9 kB / 0.5282 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/0.5327, allocations: 7.984 kB / 0.5282 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/0.5328, allocations: 23.98 kB / 0.5282 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.5328, allocations: 4 kB / 0.5282 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5328, allocations: 0 / 0.5282 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.5345, allocations: 1.166 MB / 0.5294 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.5346, allocations: 155.9 kB / 0.5295 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.5348, allocations: 35.97 kB / 0.5296 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.5351, allocations: 31.97 kB / 0.5296 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.5353, allocations: 32.33 kB / 0.5296 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.5353, allocations: 16 kB / 0.5296 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.536, allocations: 0.5424 MB / 0.5302 GB, free: 11.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.536, allocations: 0 / 0.5302 GB, free: 11.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.005216/0.5413, allocations: 0.7575 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.001877/0.5431, allocations: 0.7092 MB / 0.5316 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.5475, allocations: 2.993 MB / 0.5345 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.5475, allocations: 0 / 0.5345 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.548, allocations: 334.2 kB / 0.5348 GB, free: 6.629 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.5491, allocations: 223.7 kB / 0.5351 GB, free: 6.414 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.5526, allocations: 2.24 MB / 0.5372 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.5534, allocations: 1.083 MB / 0.5383 GB, free: 3.027 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004513/0.5539, allocations: 161.2 kB / 0.5385 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.5541, allocations: 51.44 kB / 0.5385 GB, free: 2.82 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5541, allocations: 7.938 kB / 0.5385 GB, free: 2.812 MB / 414.1 MB Notification: Performance of Templates: time 0.04217/0.5963, allocations: 20.78 MB / 0.5588 GB, free: 14.01 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)