Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.01362/0.01362, allocations: 95.61 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.002369/0.002369, allocations: 196.7 kB / 16.67 MB, free: 5.977 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.616/1.616, 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.2+maint.om/package.mo): time 0.3157/0.3157, allocations: 39.95 MB / 309.8 MB, free: 9.402 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.2. 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.001473/0.001473, allocations: 68.23 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3308, allocations: 56.88 MB / 492.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.006341/0.3372, allocations: 2.636 MB / 495.3 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01097/0.3482, allocations: 4.418 MB / 499.7 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007537/0.349, allocations: 23.62 kB / 499.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.3501, allocations: 346.4 kB / 0.4884 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000728/0.3509, allocations: 90.39 kB / 0.4885 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.3612, allocations: 2.627 MB / 0.491 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002299/0.3635, allocations: 1.18 MB / 0.4922 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000257/0.3638, allocations: 83.75 kB / 0.4923 GB, free: 13.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007734/0.3646, allocations: 434.9 kB / 0.4927 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007253/0.3653, allocations: 412.2 kB / 0.4931 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002226/0.3655, allocations: 54.94 kB / 0.4931 GB, free: 12.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003721/0.3693, allocations: 1.81 MB / 0.4949 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.3697, allocations: 306.7 kB / 0.4952 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.3701, allocations: 401.8 kB / 0.4956 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.3734, allocations: 2.297 MB / 0.4978 GB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.3734, allocations: 0 / 0.4978 GB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3735, allocations: 0 / 0.4978 GB, free: 9.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3735, allocations: 1.031 kB / 0.4978 GB, free: 9.773 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.00321/0.3767, allocations: 1.504 MB / 0.4993 GB, free: 8.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3767, allocations: 14.11 kB / 0.4993 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.3769, allocations: 117.4 kB / 0.4994 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.3777, allocations: 0.5892 MB / 0.5 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.3777, allocations: 41.09 kB / 0.5 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.3779, allocations: 70.2 kB / 0.5001 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3789, allocations: 0.6978 MB / 0.5008 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.3789, allocations: 0 / 0.5008 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.966e-05/0.379, allocations: 17.91 kB / 0.5008 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.379, allocations: 8.688 kB / 0.5008 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006133/0.3796, allocations: 372.3 kB / 0.5012 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.3822, allocations: 1.353 MB / 0.5025 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.3837, allocations: 0.8399 MB / 0.5033 GB, free: 6.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.3842, allocations: 295.1 kB / 0.5036 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.3842, allocations: 4.969 kB / 0.5036 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.3843, allocations: 44.72 kB / 0.5036 GB, free: 5.832 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.214e-06/0.3843, allocations: 0 / 0.5036 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001805/0.3861, allocations: 0.9722 MB / 0.5046 GB, free: 5.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001887/0.3863, allocations: 0.6666 MB / 0.5052 GB, free: 4.531 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009569/0.3873, allocations: 0.8484 MB / 0.506 GB, free: 4.031 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3873, allocations: 47.39 kB / 0.5061 GB, free: 3.984 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002458/0.3876, allocations: 361 kB / 0.5064 GB, free: 3.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3877, allocations: 230.8 kB / 0.5067 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.3881, allocations: 255.8 kB / 0.5069 GB, free: 3.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3883, allocations: 414.8 kB / 0.5073 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009721/0.3892, allocations: 0.5884 MB / 0.5079 GB, free: 2.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.3904, allocations: 0.837 MB / 0.5087 GB, free: 2.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001512/0.3919, allocations: 1.115 MB / 0.5098 GB, free: 1.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3919, allocations: 0 / 0.5098 GB, free: 1.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003185/0.3951, allocations: 1.935 MB / 0.5117 GB, free: 500 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3951, allocations: 4 kB / 0.5117 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.195e-05/0.3952, allocations: 15.98 kB / 0.5117 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.3964, allocations: 0.4939 MB / 0.5122 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.397, allocations: 139.8 kB / 0.5123 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01381/0.4108, allocations: 18.21 MB / 0.5301 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/0.4118, allocations: 126.8 kB / 0.5302 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/0.4119, allocations: 31.98 kB / 0.5302 GB, free: 11.74 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.0005397/0.4124, allocations: 297.5 kB / 0.5305 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.4126, allocations: 87.39 kB / 0.5306 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.4128, allocations: 105.4 kB / 0.5307 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4128, allocations: 4 kB / 0.5307 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.4128, allocations: 3.938 kB / 0.5307 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.4128, allocations: 11.98 kB / 0.5307 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007218/0.4135, allocations: 0.6264 MB / 0.5313 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4135, allocations: 7.938 kB / 0.5313 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.4142, allocations: 111.8 kB / 0.5315 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.4143, allocations: 4 kB / 0.5315 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.4143, allocations: 27.97 kB / 0.5315 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4143, allocations: 0 / 0.5315 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4143, allocations: 3.938 kB / 0.5315 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.4158, allocations: 1.163 MB / 0.5326 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.416, allocations: 168.3 kB / 0.5328 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.4161, allocations: 31.98 kB / 0.5328 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.4164, allocations: 31.95 kB / 0.5328 GB, free: 8.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-05/0.4165, allocations: 36.33 kB / 0.5329 GB, free: 8.945 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.4166, allocations: 12 kB / 0.5329 GB, free: 8.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005839/0.4172, allocations: 0.5425 MB / 0.5334 GB, free: 8.379 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4172, allocations: 0 / 0.5334 GB, free: 8.379 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003438/0.4206, allocations: 0.7612 MB / 0.5342 GB, free: 7.617 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.001619/0.4222, allocations: 0.6879 MB / 0.5348 GB, free: 6.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003658/0.4259, allocations: 2.997 MB / 0.5378 GB, free: 3.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4259, allocations: 8 kB / 0.5378 GB, free: 3.668 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.4264, allocations: 330.2 kB / 0.5381 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009758/0.4274, allocations: 239.3 kB / 0.5383 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.4303, allocations: 2.28 MB / 0.5405 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006252/0.4309, allocations: 1.09 MB / 0.5416 GB, free: 15.68 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000382/0.4313, allocations: 153.2 kB / 0.5418 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.4315, allocations: 55.44 kB / 0.5418 GB, free: 15.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4315, allocations: 0 / 0.5418 GB, free: 15.48 MB / 430.1 MB Notification: Performance of Templates: time 0.03435/0.4659, allocations: 20.56 MB / 0.5619 GB, free: 10.9 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)