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.001206/0.001206, allocations: 105 kB / 19.74 MB, free: 2.453 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.001304/0.001304, allocations: 216.9 kB / 22.92 MB, free: 5.195 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.278/1.278, allocations: 230.4 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.001721/0.001721, allocations: 67.83 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1987, allocations: 53.31 MB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00292/0.2016, allocations: 2.04 MB / 431.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00587/0.2075, allocations: 3.768 MB / 435.2 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.2076, allocations: 11.88 kB / 435.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.2081, allocations: 183.1 kB / 435.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.2082, allocations: 43.59 kB / 435.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003754/0.212, allocations: 1.855 MB / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000543/0.2125, allocations: 0.4909 MB / 437.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2126, allocations: 25.09 kB / 437.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2128, allocations: 195.2 kB / 438 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.213, allocations: 179.1 kB / 438.2 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.094e-05/0.2131, allocations: 24 kB / 438.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.2153, allocations: 1.811 MB / 440 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.2155, allocations: 123.6 kB / 440.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2156, allocations: 170.9 kB / 440.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.2174, allocations: 1.778 MB / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2174, allocations: 0 / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2174, allocations: 0 / 442.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.2174, allocations: 0 / 442.1 MB, free: 10.72 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.001424/0.2188, allocations: 0.9182 MB / 443 MB, free: 9.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.2188, allocations: 12.03 kB / 443 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.146e-05/0.2189, allocations: 54.67 kB / 443 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.219, allocations: 52.61 kB / 443.1 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004274/0.2194, allocations: 354.5 kB / 443.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.2194, allocations: 16.64 kB / 443.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.2195, allocations: 32.08 kB / 443.5 MB, free: 9.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00045/0.2199, allocations: 304 kB / 443.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2199, allocations: 0 / 443.8 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.22, allocations: 12 kB / 443.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.22, allocations: 0 / 443.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002706/0.2202, allocations: 144.7 kB / 443.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.2213, allocations: 0.668 MB / 444.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.2219, allocations: 322.3 kB / 444.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/0.2221, allocations: 104.8 kB / 445 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.2221, allocations: 0 / 445 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.2222, allocations: 38.94 kB / 445.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.012e-06/0.2222, allocations: 112 / 445.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006922/0.2229, allocations: 392 kB / 445.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002066/0.2231, allocations: 375.8 kB / 445.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004125/0.2235, allocations: 405.8 kB / 446.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.2235, allocations: 29.7 kB / 446.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.2237, allocations: 204.9 kB / 446.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.634e-05/0.2237, allocations: 87.27 kB / 446.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.2239, allocations: 93.69 kB / 446.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.2241, allocations: 362.7 kB / 447 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.2244, allocations: 204.2 kB / 447.2 MB, free: 5.262 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/0.2248, allocations: 322.3 kB / 447.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.2253, allocations: 393.5 kB / 447.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2253, allocations: 0 / 447.9 MB, free: 4.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0011/0.2264, allocations: 0.6617 MB / 448.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2265, allocations: 4 kB / 448.5 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.2265, allocations: 7.984 kB / 448.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004085/0.2269, allocations: 122.5 kB / 448.7 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.2272, allocations: 67.89 kB / 448.7 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/0.2309, allocations: 4.559 MB / 453.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001706/0.2311, allocations: 51.66 kB / 453.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.2311, allocations: 12 kB / 453.4 MB, free: 14.6 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.0001918/0.2313, allocations: 181.8 kB / 453.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-05/0.2314, allocations: 43.72 kB / 453.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.897e-05/0.2315, allocations: 43.75 kB / 453.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2315, allocations: 3.938 kB / 453.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2315, allocations: 0 / 453.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.2315, allocations: 7.938 kB / 453.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.2319, allocations: 349.3 kB / 454 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2319, allocations: 0 / 454 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.2321, allocations: 39.98 kB / 454 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2321, allocations: 0 / 454 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.2322, allocations: 15.98 kB / 454 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.2322, allocations: 3.938 kB / 454 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2322, allocations: 4 kB / 454 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006734/0.2328, allocations: 0.5067 MB / 454.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.2329, allocations: 112.8 kB / 454.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.233, allocations: 19.92 kB / 454.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.2331, allocations: 15.98 kB / 454.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.2332, allocations: 15.98 kB / 454.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2332, allocations: 4 kB / 454.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002721/0.2335, allocations: 275.1 kB / 455 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2335, allocations: 0 / 455 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001569/0.235, allocations: 0.6481 MB / 455.6 MB, free: 12.24 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.002136/0.2372, allocations: 1.626 MB / 457.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.2385, allocations: 0.9257 MB / 458.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2385, allocations: 0 / 458.2 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001957/0.2387, allocations: 115.9 kB / 458.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.2393, allocations: 117 kB / 458.4 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.2449, allocations: 4.517 MB / 462.9 MB, free: 4.746 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.2454, allocations: 0.8418 MB / 463.8 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.2455, allocations: 70.92 kB / 463.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.2457, allocations: 131.4 kB / 464 MB, free: 3.676 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2457, allocations: 0 / 464 MB, free: 3.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04838/0.2941, allocations: 17.25 MB / 481.2 MB, free: 2.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.365/9.66, allocations: 6.469 kB / 481.2 MB, free: 2.566 MB / 382.1 MB " [Timeout remaining time 650] (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 --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: 11.738871216999542]