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.001503/0.001503, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001662/0.001662, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 8.059 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.002041/0.002041, allocations: 68.75 kB / 378.5 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2412, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003374/0.2445, allocations: 2.042 MB / 433.9 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.2509, allocations: 3.764 MB / 437.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.2511, allocations: 23.75 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005516/0.2516, allocations: 183.1 kB / 437.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.2518, allocations: 43.58 kB / 438 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004815/0.2566, allocations: 1.944 MB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007514/0.2573, allocations: 0.4988 MB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.2575, allocations: 29.28 kB / 440.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.2577, allocations: 199.3 kB / 440.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.258, allocations: 167.2 kB / 440.8 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.258, allocations: 24 kB / 440.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.2609, allocations: 1.924 MB / 442.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.2611, allocations: 127.6 kB / 442.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.2613, allocations: 155 kB / 443 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.2636, allocations: 1.813 MB / 444.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2636, allocations: 0 / 444.8 MB, free: 9.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.508e-06/0.2636, allocations: 4 kB / 444.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.2636, allocations: 0 / 444.8 MB, free: 9.945 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.001782/0.2654, allocations: 0.8453 MB / 445.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2654, allocations: 8.031 kB / 445.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.95e-05/0.2655, allocations: 50.73 kB / 445.7 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.976e-05/0.2656, allocations: 52.61 kB / 445.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.2661, allocations: 295.3 kB / 446.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.2661, allocations: 16.66 kB / 446.1 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.932e-05/0.2662, allocations: 32.08 kB / 446.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.2667, allocations: 307.9 kB / 446.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2667, allocations: 4 kB / 446.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.2667, allocations: 4 kB / 446.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2667, allocations: 4 kB / 446.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.267, allocations: 140.7 kB / 446.6 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.2683, allocations: 0.6397 MB / 447.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.2689, allocations: 325.2 kB / 447.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.2691, allocations: 100.8 kB / 447.6 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2692, allocations: 4 kB / 447.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.2692, allocations: 42.66 kB / 447.7 MB, free: 6.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.2692, allocations: 3.938 kB / 447.7 MB, free: 6.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007567/0.2699, allocations: 378.7 kB / 448 MB, free: 6.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002271/0.2702, allocations: 375.8 kB / 448.4 MB, free: 6.102 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.2706, allocations: 401.8 kB / 448.8 MB, free: 5.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.2707, allocations: 41.69 kB / 448.8 MB, free: 5.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.2708, allocations: 196.9 kB / 449 MB, free: 5.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.641e-05/0.2709, allocations: 87.28 kB / 449.1 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.2711, allocations: 97.69 kB / 449.2 MB, free: 5.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2712, allocations: 358.7 kB / 449.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.2716, allocations: 208.2 kB / 449.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004558/0.272, allocations: 318 kB / 450.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.2726, allocations: 388.6 kB / 450.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2726, allocations: 4 kB / 450.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001168/0.2738, allocations: 0.6567 MB / 451.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2738, allocations: 8 kB / 451.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.2739, allocations: 11.92 kB / 451.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/0.2743, allocations: 130.4 kB / 451.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.2746, allocations: 67.91 kB / 451.3 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.2785, allocations: 4.248 MB / 455.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/0.2788, allocations: 43.69 kB / 455.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.2788, allocations: 12 kB / 455.6 MB, free: 14.43 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.0002454/0.2791, allocations: 177.8 kB / 455.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.2792, allocations: 43.72 kB / 455.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.573e-05/0.2792, allocations: 47.83 kB / 455.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.2792, allocations: 11.94 kB / 455.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.2792, allocations: 3.938 kB / 455.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2793, allocations: 0 / 455.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.2797, allocations: 320.4 kB / 456.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2797, allocations: 0 / 456.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.28, allocations: 43.92 kB / 456.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.28, allocations: 4 kB / 456.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.28, allocations: 11.98 kB / 456.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.28, allocations: 3.938 kB / 456.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.28, allocations: 0 / 456.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007276/0.2807, allocations: 0.5017 MB / 456.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.677e-05/0.2808, allocations: 39.66 kB / 456.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.2808, allocations: 15.92 kB / 456.8 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.281, allocations: 19.98 kB / 456.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/0.2811, allocations: 7.984 kB / 456.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2811, allocations: 11.98 kB / 456.9 MB, free: 13.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.2814, allocations: 271.1 kB / 457.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2814, allocations: 0 / 457.1 MB, free: 12.85 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001849/0.2832, allocations: 0.6558 MB / 457.8 MB, free: 12.19 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.002352/0.2856, allocations: 1.606 MB / 459.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.287, allocations: 0.9327 MB / 460.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.287, allocations: 0 / 460.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.2872, allocations: 115.9 kB / 460.5 MB, free: 9.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.2878, allocations: 116.5 kB / 460.6 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006511/0.2943, allocations: 4.511 MB / 465.1 MB, free: 4.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.2948, allocations: 0.8379 MB / 465.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.2951, allocations: 70.91 kB / 466 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.2952, allocations: 131.4 kB / 466.1 MB, free: 3.645 MB / 366.1 MB Notification: Performance of SimCode: time 8.82e-07/0.2952, allocations: 0 / 466.1 MB, free: 3.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05652/0.3518, allocations: 17.38 MB / 483.5 MB, free: 2.414 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.97, allocations: 4.062 kB / 483.5 MB, free: 2.41 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.441146061755717] 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.058931468054652 11.085292734 10.816360021 Calling exit ...