Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001442/0.001442, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001589/0.00159, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2373/0.2373, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 75.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3367, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004269/0.341, allocations: 2.66 MB / 0.5332 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008/0.349, allocations: 4.417 MB / 0.5375 GB, free: 8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/0.3495, allocations: 25.03 kB / 0.5376 GB, free: 7.984 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.3503, allocations: 347.9 kB / 0.5379 GB, free: 7.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002468/0.3506, allocations: 89.78 kB / 0.538 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006736/0.3573, allocations: 2.647 MB / 0.5406 GB, free: 5.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001798/0.3591, allocations: 1.181 MB / 0.5417 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.3594, allocations: 80.17 kB / 0.5418 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/0.36, allocations: 434.5 kB / 0.5422 GB, free: 4.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006242/0.3606, allocations: 400.7 kB / 0.5426 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.3608, allocations: 55.12 kB / 0.5427 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.3645, allocations: 1.837 MB / 0.5444 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.3649, allocations: 307.1 kB / 0.5447 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004262/0.3654, allocations: 401.4 kB / 0.5451 GB, free: 2.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.3682, allocations: 2.305 MB / 0.5474 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3682, allocations: 0 / 0.5474 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3682, allocations: 0 / 0.5474 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.3682, allocations: 0 / 0.5474 GB, free: 0.5781 MB / 398.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.002812/0.3711, allocations: 1.506 MB / 0.5488 GB, free: 15.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3711, allocations: 8.031 kB / 0.5488 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001116/0.3712, allocations: 78.66 kB / 0.5489 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.3714, allocations: 116.2 kB / 0.549 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008479/0.3723, allocations: 0.5789 MB / 0.5496 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.3723, allocations: 45.34 kB / 0.5496 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3725, allocations: 84.02 kB / 0.5497 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.3735, allocations: 0.689 MB / 0.5504 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3736, allocations: 4 kB / 0.5504 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.538e-05/0.3736, allocations: 23.98 kB / 0.5504 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.3736, allocations: 8 kB / 0.5504 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.3743, allocations: 363.7 kB / 0.5508 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.3769, allocations: 1.348 MB / 0.5521 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.3785, allocations: 0.8402 MB / 0.5529 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.379, allocations: 293.9 kB / 0.5532 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.13e-05/0.3791, allocations: 8.438 kB / 0.5532 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.3791, allocations: 50.98 kB / 0.5533 GB, free: 10.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.205e-06/0.3792, allocations: 0 / 0.5533 GB, free: 10.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001819/0.381, allocations: 0.9739 MB / 0.5542 GB, free: 9.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004659/0.3815, allocations: 0.6687 MB / 0.5549 GB, free: 8.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3826, allocations: 0.8459 MB / 0.5557 GB, free: 7.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/0.3827, allocations: 41.7 kB / 0.5557 GB, free: 7.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.383, allocations: 361.7 kB / 0.5561 GB, free: 7.191 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.3833, allocations: 234 kB / 0.5563 GB, free: 6.961 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003707/0.3836, allocations: 258.5 kB / 0.5565 GB, free: 6.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002846/0.3839, allocations: 418.7 kB / 0.5569 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.3849, allocations: 0.5846 MB / 0.5575 GB, free: 5.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3861, allocations: 0.8301 MB / 0.5583 GB, free: 4.797 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.3877, allocations: 1.132 MB / 0.5594 GB, free: 3.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3878, allocations: 3.938 kB / 0.5594 GB, free: 3.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003315/0.3911, allocations: 1.918 MB / 0.5613 GB, free: 1.699 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3911, allocations: 4 kB / 0.5613 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.808e-05/0.3912, allocations: 23.97 kB / 0.5613 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001472/0.3927, allocations: 0.4939 MB / 0.5618 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.3933, allocations: 143.8 kB / 0.5619 GB, free: 1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01657/0.4098, allocations: 18.2 MB / 0.5797 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006713/0.4105, allocations: 138.9 kB / 0.5798 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.4106, allocations: 28 kB / 0.5799 GB, free: 12.95 MB / 446.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.0004643/0.4111, allocations: 289.5 kB / 0.5802 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.4113, allocations: 91.34 kB / 0.5802 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.4115, allocations: 101.4 kB / 0.5803 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.4115, allocations: 11.98 kB / 0.5803 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4115, allocations: 0 / 0.5803 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.946e-06/0.4115, allocations: 11.92 kB / 0.5804 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.4123, allocations: 0.6264 MB / 0.581 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4124, allocations: 0 / 0.581 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.4131, allocations: 111.9 kB / 0.5811 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4131, allocations: 7.938 kB / 0.5811 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.4132, allocations: 27.98 kB / 0.5811 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4132, allocations: 0 / 0.5811 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4132, allocations: 3.984 kB / 0.5811 GB, free: 11.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4149, allocations: 1.163 MB / 0.5823 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4151, allocations: 164.3 kB / 0.5824 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.4152, allocations: 35.97 kB / 0.5824 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.4156, allocations: 31.97 kB / 0.5825 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.86e-05/0.4157, allocations: 32.39 kB / 0.5825 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.791e-05/0.4158, allocations: 15.94 kB / 0.5825 GB, free: 10.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007038/0.4165, allocations: 0.5386 MB / 0.583 GB, free: 9.602 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4165, allocations: 0 / 0.583 GB, free: 9.602 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002206/0.4187, allocations: 0.7651 MB / 0.5838 GB, free: 8.836 MB / 446.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.003753/0.4224, allocations: 2.316 MB / 0.5861 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00464/0.4271, allocations: 2.997 MB / 0.589 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.4271, allocations: 0 / 0.589 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.4277, allocations: 330.2 kB / 0.5893 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.4288, allocations: 236.9 kB / 0.5895 GB, free: 2.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.4449, allocations: 10.38 MB / 0.5997 GB, free: 8.129 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008453/0.4457, allocations: 1.083 MB / 0.6007 GB, free: 7.016 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004982/0.4463, allocations: 161.2 kB / 0.6009 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004739/0.4467, allocations: 343.3 kB / 0.6012 GB, free: 6.52 MB / 462.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4467, allocations: 0 / 0.6012 GB, free: 6.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08609/0.5328, allocations: 29.71 MB / 0.6302 GB, free: 8.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.72, allocations: 8.062 kB / 0.6302 GB, free: 8.949 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)