Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.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.001689/0.001689, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.002595/0.002595, allocations: 206.6 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.522/1.522, allocations: 230.5 MB / 254.8 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001941/0.001941, allocations: 75.81 kB / 373.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09832, allocations: 53.32 MB / 427 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003178/0.1015, allocations: 2.023 MB / 429 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2066/0.3081, allocations: 3.738 MB / 432.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002093/0.3083, allocations: 22.88 kB / 432.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.3088, allocations: 183.2 kB / 433 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.3089, allocations: 46.45 kB / 433 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.3133, allocations: 1.939 MB / 434.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.3139, allocations: 0.4986 MB / 435.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.3141, allocations: 31.12 kB / 435.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.3143, allocations: 187.9 kB / 435.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.3145, allocations: 173.1 kB / 435.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.3146, allocations: 22.97 kB / 435.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/0.3172, allocations: 1.821 MB / 437.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.3173, allocations: 123.2 kB / 437.8 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.3175, allocations: 160.7 kB / 437.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002418/0.3199, allocations: 1.79 MB / 439.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3199, allocations: 1.312 kB / 439.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3199, allocations: 4.75 kB / 439.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.3199, allocations: 0 / 439.7 MB, free: 6.645 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.002733/0.3227, allocations: 0.9146 MB / 440.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.697e-05/0.3227, allocations: 13.5 kB / 440.7 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.05e-05/0.3228, allocations: 50.09 kB / 440.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.3229, allocations: 50.7 kB / 440.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.3235, allocations: 352.5 kB / 441.1 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3235, allocations: 15.16 kB / 441.1 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.3236, allocations: 32.16 kB / 441.2 MB, free: 5.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.3241, allocations: 313 kB / 441.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3241, allocations: 0 / 441.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.659e-05/0.3241, allocations: 7.312 kB / 441.5 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3241, allocations: 7.406 kB / 441.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.3244, allocations: 145.5 kB / 441.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.3256, allocations: 0.6694 MB / 442.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006386/0.3262, allocations: 316.4 kB / 442.6 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.3264, allocations: 110.4 kB / 442.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.3264, allocations: 2.031 kB / 442.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.3264, allocations: 35.33 kB / 442.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.3264, allocations: 0 / 442.7 MB, free: 4.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007205/0.3271, allocations: 388.3 kB / 443.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.3273, allocations: 373.9 kB / 443.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.3277, allocations: 409.6 kB / 443.9 MB, free: 3.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.318e-05/0.3277, allocations: 33.92 kB / 443.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.3279, allocations: 198.2 kB / 444.1 MB, free: 3.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.3279, allocations: 85.42 kB / 444.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.3281, allocations: 100.4 kB / 444.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.258e-05/0.3282, allocations: 364 kB / 444.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003441/0.3285, allocations: 207.1 kB / 444.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004262/0.3289, allocations: 311.1 kB / 445.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005667/0.3295, allocations: 399.6 kB / 445.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3295, allocations: 1.375 kB / 445.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001091/0.3306, allocations: 0.6507 MB / 446.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3306, allocations: 9.688 kB / 446.2 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/0.3306, allocations: 11.66 kB / 446.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004323/0.3311, allocations: 132.3 kB / 446.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.3313, allocations: 61.39 kB / 446.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003294/0.3346, allocations: 4.555 MB / 451 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.3349, allocations: 43.12 kB / 451 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.3349, allocations: 17.34 kB / 451 MB, free: 14.3 MB / 366.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002834/0.3352, allocations: 181.9 kB / 451.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.3353, allocations: 41.72 kB / 451.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.3354, allocations: 40.88 kB / 451.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3354, allocations: 2.375 kB / 451.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3354, allocations: 5.453 kB / 451.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3354, allocations: 0.6562 kB / 451.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.3359, allocations: 356.1 kB / 451.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3359, allocations: 3.938 kB / 451.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/0.3362, allocations: 42.62 kB / 451.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3362, allocations: 1.062 kB / 451.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.3362, allocations: 10.62 kB / 451.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3362, allocations: 1.031 kB / 451.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3362, allocations: 5.688 kB / 451.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007864/0.337, allocations: 0.5035 MB / 452.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.3371, allocations: 116.7 kB / 452.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.081e-05/0.3372, allocations: 11.7 kB / 452.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.3373, allocations: 19.3 kB / 452.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.3374, allocations: 10.94 kB / 452.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.3374, allocations: 9.406 kB / 452.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.3377, allocations: 271.7 kB / 452.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 452.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00275/0.3405, allocations: 0.6496 MB / 453.3 MB, free: 13.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002889/0.3434, allocations: 1.621 MB / 454.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001506/0.3449, allocations: 0.9213 MB / 455.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3449, allocations: 0 / 455.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.3451, allocations: 117.3 kB / 455.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00063/0.3457, allocations: 119.8 kB / 456.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006607/0.3523, allocations: 4.513 MB / 460.6 MB, free: 9.176 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.3529, allocations: 0.8328 MB / 461.4 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.3531, allocations: 73.78 kB / 461.5 MB, free: 8.383 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.3533, allocations: 131.2 kB / 461.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3533, allocations: 0 / 461.6 MB, free: 8.277 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05636/0.4097, allocations: 17.24 MB / 478.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.08, allocations: 11.38 kB / 478.9 MB, free: 11.25 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000179856 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.708032723050565] Failed to read output from testmodel.py, exit status != 0: ['time', 'Bessel.x[1]', 'Bessel.x[2]', 'Bessel.x[3]', 'Butterworth.x[1]', 'Butterworth.x[2]', 'Butterworth.x[3]', 'ChebyshevI.x[1]', 'ChebyshevI.x[2]', 'ChebyshevI.x[3]', 'CriticalDamping.x[1]', 'CriticalDamping.x[2]', 'CriticalDamping.x[3]'] 11.166913609951735 11.179791994 10.857153509 Calling exit ...