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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001184/0.001184, allocations: 109.5 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 219.8 kB / 22.92 MB, free: 5.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.293/1.293, allocations: 230.2 MB / 256.2 MB, free: 8.621 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2028/0.2028, allocations: 46.89 MB / 359.3 MB, free: 4.953 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002132/0.002132, allocations: 83.84 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2614, allocations: 65.99 MB / 0.5584 GB, free: 5.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003601/0.265, allocations: 2.675 MB / 0.5611 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006954/0.272, allocations: 4.463 MB / 0.5654 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.2722, allocations: 23.75 kB / 0.5654 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007301/0.2729, allocations: 350.3 kB / 0.5658 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.2731, allocations: 91.22 kB / 0.5659 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.2777, allocations: 2.464 MB / 0.5683 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001239/0.2789, allocations: 1.189 MB / 0.5694 GB, free: 9.926 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.2791, allocations: 53.7 kB / 0.5695 GB, free: 9.867 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000457/0.2796, allocations: 442.6 kB / 0.5699 GB, free: 9.434 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005509/0.2801, allocations: 410.2 kB / 0.5703 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.2802, allocations: 56 kB / 0.5703 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002399/0.2826, allocations: 1.85 MB / 0.5721 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.2829, allocations: 315 kB / 0.5724 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003666/0.2833, allocations: 397.4 kB / 0.5728 GB, free: 6.426 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.2855, allocations: 2.305 MB / 0.5751 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2855, allocations: 0 / 0.5751 GB, free: 4.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2855, allocations: 0 / 0.5751 GB, free: 4.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.2855, allocations: 4 kB / 0.5751 GB, free: 4.109 MB / 414.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.0024/0.2879, allocations: 1.498 MB / 0.5765 GB, free: 2.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.288, allocations: 12.03 kB / 0.5766 GB, free: 2.547 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.864e-05/0.2881, allocations: 82.72 kB / 0.5766 GB, free: 2.457 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.2882, allocations: 108.2 kB / 0.5767 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007797/0.289, allocations: 0.5905 MB / 0.5773 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.474e-05/0.2891, allocations: 37.38 kB / 0.5773 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.2892, allocations: 80.02 kB / 0.5774 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009613/0.2901, allocations: 0.6968 MB / 0.5781 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2902, allocations: 0 / 0.5781 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.2902, allocations: 16 kB / 0.5781 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2902, allocations: 8 kB / 0.5781 GB, free: 0.793 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005993/0.2908, allocations: 375.7 kB / 0.5785 GB, free: 432 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.2931, allocations: 1.356 MB / 0.5798 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.2945, allocations: 0.8246 MB / 0.5806 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/0.2949, allocations: 290 kB / 0.5809 GB, free: 13.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.295, allocations: 8.375 kB / 0.5809 GB, free: 13.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.295, allocations: 46.98 kB / 0.5809 GB, free: 13.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 1.503e-06/0.295, allocations: 3.938 kB / 0.5809 GB, free: 13.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001556/0.2966, allocations: 0.974 MB / 0.5819 GB, free: 12.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003605/0.2969, allocations: 0.6687 MB / 0.5826 GB, free: 12.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/0.2978, allocations: 0.8459 MB / 0.5834 GB, free: 11.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.518e-05/0.2979, allocations: 45.69 kB / 0.5834 GB, free: 11.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/0.2982, allocations: 365.6 kB / 0.5838 GB, free: 10.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.2984, allocations: 230 kB / 0.584 GB, free: 10.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/0.2987, allocations: 254.6 kB / 0.5842 GB, free: 10.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002272/0.2989, allocations: 426.7 kB / 0.5846 GB, free: 9.824 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/0.2998, allocations: 0.5846 MB / 0.5852 GB, free: 9.242 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3008, allocations: 0.8223 MB / 0.586 GB, free: 8.344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001522/0.3023, allocations: 1.132 MB / 0.5871 GB, free: 7.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3023, allocations: 0 / 0.5871 GB, free: 7.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002992/0.3053, allocations: 1.922 MB / 0.589 GB, free: 5.242 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3053, allocations: 7.984 kB / 0.589 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.356e-05/0.3054, allocations: 15.98 kB / 0.589 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.3067, allocations: 0.4978 MB / 0.5895 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/0.3073, allocations: 135.9 kB / 0.5896 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01484/0.3221, allocations: 18.2 MB / 0.6074 GB, free: 0.668 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.3228, allocations: 134.9 kB / 0.6075 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/0.3229, allocations: 28 kB / 0.6076 GB, free: 0.5078 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.0004621/0.3233, allocations: 281.7 kB / 0.6078 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.3235, allocations: 95.34 kB / 0.6079 GB, free: 132 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.3237, allocations: 105.4 kB / 0.608 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3237, allocations: 8 kB / 0.608 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3237, allocations: 0 / 0.608 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3237, allocations: 3.938 kB / 0.608 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007837/0.3245, allocations: 0.6342 MB / 0.6087 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3245, allocations: 0 / 0.6087 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006882/0.3252, allocations: 107.8 kB / 0.6088 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.3252, allocations: 4 kB / 0.6088 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.3252, allocations: 31.97 kB / 0.6088 GB, free: 15.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.3252, allocations: 4 kB / 0.6088 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.3252, allocations: 7.938 kB / 0.6088 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.3268, allocations: 1.151 MB / 0.6099 GB, free: 14.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.327, allocations: 168.3 kB / 0.6101 GB, free: 13.83 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.3271, allocations: 39.98 kB / 0.6101 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003368/0.3274, allocations: 31.97 kB / 0.6102 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.3275, allocations: 32.38 kB / 0.6102 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.3275, allocations: 19.92 kB / 0.6102 GB, free: 13.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006306/0.3282, allocations: 0.5424 MB / 0.6107 GB, free: 13.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3282, allocations: 0 / 0.6107 GB, free: 13.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002135/0.3303, allocations: 0.7691 MB / 0.6115 GB, free: 12.38 MB / 462.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.003164/0.3335, allocations: 2.307 MB / 0.6137 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00385/0.3373, allocations: 2.887 MB / 0.6166 GB, free: 6.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.3373, allocations: 7.938 kB / 0.6166 GB, free: 6.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.3378, allocations: 326.2 kB / 0.6169 GB, free: 6.59 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.3387, allocations: 233.4 kB / 0.6171 GB, free: 6.371 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.3522, allocations: 10.37 MB / 0.6272 GB, free: 11.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.353, allocations: 1.083 MB / 0.6283 GB, free: 10.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003923/0.3533, allocations: 169.2 kB / 0.6284 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.3538, allocations: 343.3 kB / 0.6288 GB, free: 10.17 MB / 478.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3538, allocations: 0 / 0.6288 GB, free: 10.17 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07529/0.4291, allocations: 29.79 MB / 0.6579 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/11.03, allocations: 8 kB / 0.6579 GB, free: 12.5 MB / 0.4981 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.560577285999898]