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.001501/0.001501, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001629/0.001629, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.382/1.382, allocations: 230.5 MB / 254.7 MB, free: 15.22 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.001913/0.001913, allocations: 67.84 kB / 373.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09642, allocations: 53.31 MB / 426.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003152/0.09958, allocations: 2.027 MB / 428.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.176/0.2755, allocations: 3.737 MB / 432.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2757, allocations: 11.78 kB / 432.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004345/0.2761, allocations: 181.3 kB / 432.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.2763, allocations: 45.03 kB / 432.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.28, allocations: 1.936 MB / 434.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.2805, allocations: 0.4953 MB / 435.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.2806, allocations: 32.31 kB / 435.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2808, allocations: 182.7 kB / 435.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.281, allocations: 174.3 kB / 435.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.281, allocations: 23.78 kB / 435.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.2833, allocations: 1.818 MB / 437.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.2834, allocations: 128.9 kB / 437.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2836, allocations: 161.5 kB / 437.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001883/0.2855, allocations: 1.791 MB / 439.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2855, allocations: 0 / 439.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2855, allocations: 1.062 kB / 439.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.2855, allocations: 0 / 439.6 MB, free: 6.707 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.001533/0.287, allocations: 0.9193 MB / 440.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.287, allocations: 9.188 kB / 440.5 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/0.2871, allocations: 49.2 kB / 440.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.2872, allocations: 51.19 kB / 440.6 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.2877, allocations: 348.4 kB / 441 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.2877, allocations: 16.78 kB / 441 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.2877, allocations: 39.05 kB / 441 MB, free: 5.703 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/0.2881, allocations: 309 kB / 441.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2881, allocations: 1.5 kB / 441.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2882, allocations: 7.281 kB / 441.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.2882, allocations: 3.344 kB / 441.3 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2884, allocations: 144.7 kB / 441.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.2895, allocations: 0.6762 MB / 442.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.29, allocations: 316.1 kB / 442.5 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.2902, allocations: 106.9 kB / 442.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.2902, allocations: 6.25 kB / 442.6 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.2902, allocations: 37.84 kB / 442.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.2902, allocations: 0 / 442.6 MB, free: 4.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.000644/0.2909, allocations: 385.4 kB / 443 MB, free: 4.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.2909, allocations: 370.7 kB / 443.3 MB, free: 4.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.2913, allocations: 409.2 kB / 443.7 MB, free: 4.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.2914, allocations: 31.89 kB / 443.8 MB, free: 4.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2915, allocations: 198.6 kB / 444 MB, free: 3.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.2915, allocations: 89.66 kB / 444.1 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.2916, allocations: 101.2 kB / 444.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.2917, allocations: 360.3 kB / 444.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000304/0.292, allocations: 206.7 kB / 444.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.2924, allocations: 318.7 kB / 445 MB, free: 3.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005072/0.2929, allocations: 399.4 kB / 445.4 MB, free: 3.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2929, allocations: 3.938 kB / 445.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001006/0.2939, allocations: 0.6485 MB / 446.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2939, allocations: 4.656 kB / 446.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/0.2939, allocations: 11.52 kB / 446.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.2943, allocations: 128.9 kB / 446.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002754/0.2946, allocations: 65.34 kB / 446.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.2978, allocations: 4.557 MB / 450.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.298, allocations: 44.8 kB / 450.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.298, allocations: 14.16 kB / 450.9 MB, free: 14.36 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.0002474/0.2983, allocations: 177.2 kB / 451.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.2984, allocations: 42.86 kB / 451.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.832e-05/0.2984, allocations: 48.62 kB / 451.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.2984, allocations: 2.844 kB / 451.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.2984, allocations: 5.125 kB / 451.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.2984, allocations: 2.203 kB / 451.2 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004319/0.2989, allocations: 351.9 kB / 451.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2989, allocations: 0 / 451.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.2992, allocations: 45.69 kB / 451.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2992, allocations: 2.094 kB / 451.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.2992, allocations: 10.94 kB / 451.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2992, allocations: 1.969 kB / 451.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.2992, allocations: 4.5 kB / 451.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.2999, allocations: 0.5079 MB / 452.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.3, allocations: 116.7 kB / 452.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.3001, allocations: 12.59 kB / 452.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.3002, allocations: 19.08 kB / 452.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.3003, allocations: 10.86 kB / 452.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.3003, allocations: 12.11 kB / 452.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003023/0.3006, allocations: 276.4 kB / 452.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3006, allocations: 0 / 452.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002764/0.3034, allocations: 0.6496 MB / 453.2 MB, free: 13.31 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.002699/0.3061, allocations: 1.629 MB / 454.8 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001468/0.3075, allocations: 0.9259 MB / 455.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3075, allocations: 1.125 kB / 455.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3077, allocations: 118.2 kB / 455.8 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.3083, allocations: 107.3 kB / 455.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006279/0.3146, allocations: 4.511 MB / 460.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.3151, allocations: 0.8376 MB / 461.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.3153, allocations: 68.66 kB / 461.4 MB, free: 8.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/0.3155, allocations: 132.3 kB / 461.5 MB, free: 8.332 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3155, allocations: 0 / 461.5 MB, free: 8.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05197/0.3675, allocations: 17.3 MB / 478.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.59, allocations: 8.047 kB / 478.8 MB, free: 11.22 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.Filter_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_Filter_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 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: 12.79544091084972] 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]'] 10.68320082873106 10.696754683 10.408523179 Calling exit ...