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.001368/0.001368, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001728/0.001728, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.654/1.654, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.3904/0.3904, allocations: 39.93 MB / 309.4 MB, free: 8.973 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.001378/0.001378, allocations: 71.89 kB / 377.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1591, allocations: 56.89 MB / 434 MB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004027/0.1632, allocations: 2.652 MB / 436.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008619/0.1719, allocations: 4.483 MB / 441.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000785/0.1729, allocations: 23.75 kB / 441.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009232/0.1738, allocations: 318.6 kB / 441.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1741, allocations: 75.34 kB / 441.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006431/0.1805, allocations: 2.415 MB / 444 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001635/0.1822, allocations: 1.189 MB / 445.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.1824, allocations: 77.75 kB / 445.2 MB, free: 8.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004903/0.1829, allocations: 446.5 kB / 445.7 MB, free: 8.059 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000481/0.1834, allocations: 410.2 kB / 446.1 MB, free: 7.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1835, allocations: 56 kB / 446.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.1865, allocations: 1.772 MB / 447.9 MB, free: 5.828 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.1869, allocations: 307.1 kB / 448.2 MB, free: 5.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/0.1874, allocations: 401.3 kB / 448.6 MB, free: 5.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.1904, allocations: 2.252 MB / 450.8 MB, free: 2.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.1905, allocations: 3.984 kB / 450.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.055e-06/0.1905, allocations: 0 / 450.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1905, allocations: 4 kB / 450.8 MB, free: 2.867 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.002775/0.1933, allocations: 1.46 MB / 452.3 MB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/0.1934, allocations: 11.98 kB / 452.3 MB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.1936, allocations: 111.6 kB / 452.4 MB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008073/0.1944, allocations: 0.5782 MB / 453 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.1945, allocations: 41.12 kB / 453 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001633/0.1946, allocations: 75.88 kB / 453.1 MB, free: 496 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3088/0.5034, allocations: 0.693 MB / 453.8 MB, free: 50.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.5035, allocations: 6.141 kB / 453.8 MB, free: 50.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/0.5036, allocations: 20.25 kB / 453.8 MB, free: 50.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.5036, allocations: 8.031 kB / 453.8 MB, free: 50.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.5045, allocations: 369.2 kB / 454.2 MB, free: 50.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.5074, allocations: 1.353 MB / 455.5 MB, free: 50.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.5087, allocations: 0.8402 MB / 456.4 MB, free: 50 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.5091, allocations: 291.6 kB / 456.7 MB, free: 49.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.5092, allocations: 6.719 kB / 456.7 MB, free: 49.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5092, allocations: 42.44 kB / 456.7 MB, free: 49.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.806e-06/0.5092, allocations: 0 / 456.7 MB, free: 49.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.00144/0.5107, allocations: 0.9692 MB / 457.7 MB, free: 49.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/0.5109, allocations: 0.6696 MB / 458.4 MB, free: 48.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00089/0.5118, allocations: 0.8422 MB / 459.2 MB, free: 48.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.5119, allocations: 47.98 kB / 459.3 MB, free: 48.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.5122, allocations: 366.3 kB / 459.6 MB, free: 48.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.5124, allocations: 214.6 kB / 459.8 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.5127, allocations: 253.7 kB / 460.1 MB, free: 47.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5129, allocations: 420.2 kB / 460.5 MB, free: 47.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/0.5136, allocations: 0.5889 MB / 461.1 MB, free: 47.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/0.5144, allocations: 0.8318 MB / 461.9 MB, free: 47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5156, allocations: 1.124 MB / 463 MB, free: 46.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5156, allocations: 1.594 kB / 463 MB, free: 46.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00248/0.5181, allocations: 1.921 MB / 464.9 MB, free: 45.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5181, allocations: 3.125 kB / 464.9 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.274e-05/0.5182, allocations: 20.02 kB / 465 MB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.5195, allocations: 0.4954 MB / 465.5 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005286/0.52, allocations: 141 kB / 465.6 MB, free: 45.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01015/0.5302, allocations: 18.21 MB / 483.8 MB, free: 28.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008238/0.5311, allocations: 126.9 kB / 483.9 MB, free: 28.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.953e-05/0.5312, allocations: 34.83 kB / 484 MB, free: 28.39 MB / 382.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.0004641/0.5316, allocations: 281.9 kB / 484.2 MB, free: 28.22 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5318, allocations: 89.78 kB / 484.3 MB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.5319, allocations: 101.4 kB / 484.4 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.5319, allocations: 8.188 kB / 484.4 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.532, allocations: 3.938 kB / 484.4 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.532, allocations: 3.188 kB / 484.4 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007923/0.5328, allocations: 0.6301 MB / 485.1 MB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.5328, allocations: 4 kB / 485.1 MB, free: 27.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006641/0.5335, allocations: 110.5 kB / 485.2 MB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.5335, allocations: 6.438 kB / 485.2 MB, free: 27.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.805e-05/0.5335, allocations: 31.11 kB / 485.2 MB, free: 27.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.5335, allocations: 5.219 kB / 485.2 MB, free: 27.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5336, allocations: 3.938 kB / 485.2 MB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.5348, allocations: 1.143 MB / 486.4 MB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.5349, allocations: 172.3 kB / 486.5 MB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.535, allocations: 34.27 kB / 486.6 MB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/0.5354, allocations: 31.67 kB / 486.6 MB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5355, allocations: 33.89 kB / 486.6 MB, free: 27.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.5355, allocations: 13.66 kB / 486.7 MB, free: 27.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005208/0.536, allocations: 0.5393 MB / 487.2 MB, free: 26.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.5361, allocations: 2.969 kB / 487.2 MB, free: 26.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002218/0.5383, allocations: 0.7535 MB / 487.9 MB, free: 26.82 MB / 382.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.001463/0.5397, allocations: 0.6906 MB / 488.6 MB, free: 26.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003697/0.5435, allocations: 3.156 MB / 491.8 MB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.5435, allocations: 3 kB / 491.8 MB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004331/0.5439, allocations: 333.6 kB / 492.1 MB, free: 24.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.545, allocations: 231.3 kB / 492.4 MB, free: 24.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003172/0.5482, allocations: 2.511 MB / 494.9 MB, free: 23.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/0.5488, allocations: 1.083 MB / 495.9 MB, free: 22.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005031/0.5493, allocations: 169.9 kB / 496.1 MB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.5495, allocations: 53.72 kB / 496.2 MB, free: 22.29 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5495, allocations: 0 / 496.2 MB, free: 22.29 MB / 382.1 MB Notification: Performance of Templates: time 0.05062/0.6001, allocations: 20.4 MB / 0.5045 GB, free: 16.87 MB / 382.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)