Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.009104/0.009104, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00127/0.00127, allocations: 195.5 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001121/0.001121, allocations: 48.39 kB / 326.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1059, allocations: 46.62 MB / 373.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003073/0.109, allocations: 1.99 MB / 375.1 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2715/0.3806, allocations: 3.708 MB / 378.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.3809, allocations: 9.844 kB / 378.9 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005484/0.3815, allocations: 179.8 kB / 379 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3816, allocations: 45.83 kB / 379.1 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006698/0.3883, allocations: 1.939 MB / 381 MB, free: 9.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008204/0.3891, allocations: 0.4935 MB / 381.5 MB, free: 9.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.3893, allocations: 53.64 kB / 381.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3895, allocations: 173.9 kB / 381.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.3898, allocations: 174.3 kB / 381.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.701e-05/0.3899, allocations: 23.22 kB / 381.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003208/0.3931, allocations: 1.785 MB / 383.7 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001969/0.3933, allocations: 120.3 kB / 383.8 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001633/0.3935, allocations: 163.9 kB / 384 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.396, allocations: 1.777 MB / 385.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.396, allocations: 0.9844 kB / 385.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.396, allocations: 0 / 385.8 MB, free: 8.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.396, allocations: 1.188 kB / 385.8 MB, free: 8.426 MB / 318.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.0021/0.3981, allocations: 0.8992 MB / 386.7 MB, free: 7.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.418e-05/0.3982, allocations: 13.22 kB / 386.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.3984, allocations: 46.47 kB / 386.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.399, allocations: 354.3 kB / 387.1 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/0.3991, allocations: 17.55 kB / 387.1 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.3992, allocations: 30.34 kB / 387.1 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.3997, allocations: 307.8 kB / 387.4 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3998, allocations: 0 / 387.4 MB, free: 7.297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.3998, allocations: 10.94 kB / 387.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3998, allocations: 3.281 kB / 387.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.4002, allocations: 145.6 kB / 387.6 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.4015, allocations: 0.6671 MB / 388.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006568/0.4022, allocations: 319.3 kB / 388.6 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.4024, allocations: 112.2 kB / 388.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4024, allocations: 6.75 kB / 388.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.4024, allocations: 37.34 kB / 388.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.4025, allocations: 384 / 388.7 MB, free: 6.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007641/0.4032, allocations: 381.6 kB / 389.1 MB, free: 6.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.4033, allocations: 368.9 kB / 389.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004332/0.4038, allocations: 405.6 kB / 389.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-05/0.4038, allocations: 36.61 kB / 389.9 MB, free: 5.824 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.404, allocations: 201.9 kB / 390.1 MB, free: 5.656 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.404, allocations: 84.78 kB / 390.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.4042, allocations: 96.67 kB / 390.2 MB, free: 5.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.542e-05/0.4043, allocations: 360.8 kB / 390.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003675/0.4047, allocations: 202.6 kB / 390.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.4051, allocations: 327.7 kB / 391.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006161/0.4058, allocations: 390.9 kB / 391.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4058, allocations: 1.156 kB / 391.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001185/0.407, allocations: 0.6504 MB / 392.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.407, allocations: 9.75 kB / 392.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.407, allocations: 9.016 kB / 392.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004818/0.4075, allocations: 124.5 kB / 392.3 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.4078, allocations: 67.34 kB / 392.4 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.4108, allocations: 4.557 MB / 396.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.411, allocations: 62.67 kB / 397 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4111, allocations: 8.281 kB / 397 MB, free: 152 kB / 318.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.0002059/0.4113, allocations: 176 kB / 397.2 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.4114, allocations: 37.33 kB / 397.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.681e-05/0.4115, allocations: 51.73 kB / 397.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4115, allocations: 1.375 kB / 397.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4115, allocations: 0.875 kB / 397.2 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4115, allocations: 3.938 kB / 397.3 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.412, allocations: 349.2 kB / 397.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.412, allocations: 3.938 kB / 397.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.4123, allocations: 37.62 kB / 397.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4123, allocations: 0.75 kB / 397.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.753e-05/0.4124, allocations: 12.23 kB / 397.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.4124, allocations: 1.375 kB / 397.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4124, allocations: 12.48 kB / 397.7 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.4132, allocations: 0.4981 MB / 398.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.4133, allocations: 112.1 kB / 398.3 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.4134, allocations: 17.77 kB / 398.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001801/0.4135, allocations: 13.55 kB / 398.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.4136, allocations: 14.25 kB / 398.3 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4136, allocations: 9.797 kB / 398.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003895/0.414, allocations: 272.3 kB / 398.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.414, allocations: 0 / 398.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003892/0.4179, allocations: 0.6522 MB / 399.2 MB, free: 15.11 MB / 334.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.001996/0.42, allocations: 0.6732 MB / 399.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.4215, allocations: 0.9489 MB / 400.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4216, allocations: 1.406 kB / 400.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.4218, allocations: 120 kB / 401 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006696/0.4225, allocations: 129.2 kB / 401.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.4241, allocations: 0.8916 MB / 402 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.4246, allocations: 0.8421 MB / 402.8 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.4248, allocations: 72.86 kB / 402.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.903e-05/0.4249, allocations: 27.69 kB / 402.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4249, allocations: 0 / 402.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of Templates: time 0.02707/0.452, allocations: 12.9 MB / 415.8 MB, free: 3.203 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe 2>&1)