Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009735/0.0009737, allocations: 98.45 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.508 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004237, allocations: 12 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2109, allocations: 47.59 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001653/0.2126, allocations: 1.645 MB / 328.1 MB, free: 148 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005288/0.2179, allocations: 3.542 MB / 331.6 MB, free: 13.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.2181, allocations: 15.28 kB / 331.6 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005646/0.2187, allocations: 221.4 kB / 331.9 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.2188, allocations: 43.48 kB / 331.9 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004116/0.2229, allocations: 1.436 MB / 333.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005098/0.2235, allocations: 338.9 kB / 333.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.2236, allocations: 45.84 kB / 333.7 MB, free: 12.19 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.2238, allocations: 169 kB / 333.9 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.224, allocations: 155.2 kB / 334 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.224, allocations: 12 kB / 334 MB, free: 11.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001841/0.2259, allocations: 1.342 MB / 335.4 MB, free: 10.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.226, allocations: 103.7 kB / 335.5 MB, free: 10.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.2261, allocations: 81.39 kB / 335.6 MB, free: 10.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.2275, allocations: 1.493 MB / 337.1 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.2275, allocations: 0 / 337.1 MB, free: 8.844 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2275, allocations: 0 / 337.1 MB, free: 8.844 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2275, allocations: 0 / 337.1 MB, free: 8.844 MB / 270.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.001301/0.2288, allocations: 0.8412 MB / 337.9 MB, free: 7.953 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2289, allocations: 8.031 kB / 337.9 MB, free: 7.945 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.778e-05/0.229, allocations: 47.44 kB / 338 MB, free: 7.898 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.2294, allocations: 337.3 kB / 338.3 MB, free: 7.527 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2294, allocations: 16.23 kB / 338.3 MB, free: 7.512 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-05/0.2295, allocations: 31.89 kB / 338.3 MB, free: 7.48 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004454/0.23, allocations: 311 kB / 338.6 MB, free: 7.133 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.23, allocations: 0 / 338.6 MB, free: 7.133 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.23, allocations: 8 kB / 338.6 MB, free: 7.125 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.23, allocations: 0 / 338.6 MB, free: 7.125 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.2303, allocations: 159.8 kB / 338.8 MB, free: 6.969 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.2315, allocations: 0.6681 MB / 339.5 MB, free: 6.25 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.2321, allocations: 322 kB / 339.8 MB, free: 5.93 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.2321, allocations: 4.188 kB / 339.8 MB, free: 5.926 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2321, allocations: 39.06 kB / 339.8 MB, free: 5.879 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.2321, allocations: 0 / 339.8 MB, free: 5.879 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006748/0.2328, allocations: 399.7 kB / 340.2 MB, free: 5.484 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.233, allocations: 367.8 kB / 340.6 MB, free: 5.039 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.2334, allocations: 401.8 kB / 341 MB, free: 4.641 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.2334, allocations: 33.7 kB / 341 MB, free: 4.602 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.2336, allocations: 204.7 kB / 341.2 MB, free: 4.398 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.139e-05/0.2336, allocations: 78.81 kB / 341.3 MB, free: 4.32 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.2337, allocations: 4 kB / 341.3 MB, free: 4.316 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2338, allocations: 354.8 kB / 341.6 MB, free: 3.961 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.2341, allocations: 212.2 kB / 341.8 MB, free: 3.754 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003859/0.2345, allocations: 314.3 kB / 342.1 MB, free: 3.406 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.2349, allocations: 245.6 kB / 342.4 MB, free: 3.168 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2349, allocations: 0 / 342.4 MB, free: 3.168 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001063/0.236, allocations: 0.6498 MB / 343 MB, free: 2.5 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.236, allocations: 8 kB / 343 MB, free: 2.492 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.236, allocations: 11.98 kB / 343 MB, free: 2.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004274/0.2365, allocations: 130.4 kB / 343.2 MB, free: 2.344 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.2368, allocations: 59.97 kB / 343.2 MB, free: 2.285 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.2399, allocations: 4.259 MB / 347.5 MB, free: 13.62 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.2401, allocations: 51.45 kB / 347.5 MB, free: 13.57 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2402, allocations: 11.94 kB / 347.6 MB, free: 13.56 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001969/0.2404, allocations: 185.9 kB / 347.7 MB, free: 13.37 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.2404, allocations: 39.53 kB / 347.8 MB, free: 13.33 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.899e-05/0.2405, allocations: 43.75 kB / 347.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2405, allocations: 3.938 kB / 347.8 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.2405, allocations: 4 kB / 347.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2406, allocations: 3.953 kB / 347.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003491/0.2409, allocations: 345.3 kB / 348.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2409, allocations: 0 / 348.2 MB, free: 12.89 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.2412, allocations: 51.91 kB / 348.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2412, allocations: 4 kB / 348.2 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.2413, allocations: 8 kB / 348.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.2413, allocations: 0 / 348.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2413, allocations: 0 / 348.2 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006703/0.242, allocations: 0.5026 MB / 348.7 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.242, allocations: 124.5 kB / 348.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.2421, allocations: 12 kB / 348.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.2423, allocations: 15.98 kB / 348.9 MB, free: 12.14 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.2423, allocations: 11.98 kB / 348.9 MB, free: 12.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.2424, allocations: 7.938 kB / 348.9 MB, free: 12.12 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002597/0.2426, allocations: 271.1 kB / 349.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2426, allocations: 0 / 349.2 MB, free: 11.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001902/0.2445, allocations: 0.6484 MB / 349.8 MB, free: 11.21 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001319/0.2459, allocations: 0.6719 MB / 350.5 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.2471, allocations: 0.9567 MB / 351.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2471, allocations: 0 / 351.4 MB, free: 9.484 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.2474, allocations: 123.8 kB / 351.6 MB, free: 9.363 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005058/0.2479, allocations: 93.42 kB / 351.7 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.2493, allocations: 1.011 MB / 352.7 MB, free: 8.238 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.2497, allocations: 0.8458 MB / 353.5 MB, free: 7.363 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002011/0.2499, allocations: 70.92 kB / 353.6 MB, free: 7.293 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.25, allocations: 27.44 kB / 353.6 MB, free: 7.266 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.25, allocations: 0 / 353.6 MB, free: 7.266 MB / 286.1 MB Notification: Performance of Templates: time 0.01938/0.2694, allocations: 12.45 MB / 366.1 MB, free: 10.79 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.Filter.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.1_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.Filter.pipe 2>&1) Environment - environmentSimulation: