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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003291/0.003291, allocations: 172.5 kB / 7.446 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.138/1.138, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001624/0.001624, allocations: 111.9 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.584e-06, allocations: 8 kB / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08128/0.08131, allocations: 38.76 MB / 300.5 MB, free: 3.902 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.384, allocations: 79.2 MB / 379.7 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003375/0.3845, allocations: 66.84 kB / 379.8 MB, free: 5.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.1003/0.4848, allocations: 35.26 MB / 415 MB, free: 6.785 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.331e-05/0.4849, allocations: 19.88 kB / 415 MB, free: 6.766 MB / 298.7 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.00271/0.4876, allocations: 0.8094 MB / 415.9 MB, free: 5.934 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.4877, allocations: 12.03 kB / 415.9 MB, free: 5.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002633/0.488, allocations: 43.44 kB / 415.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.489, allocations: 456.8 kB / 416.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.489, allocations: 4 kB / 416.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.4891, allocations: 23.16 kB / 416.4 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002872/0.4894, allocations: 130.8 kB / 416.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.4898, allocations: 309.8 kB / 416.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4898, allocations: 0 / 416.8 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.4899, allocations: 4 kB / 416.8 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.4899, allocations: 4 kB / 416.8 MB, free: 5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.4913, allocations: 0.6347 MB / 417.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.4919, allocations: 316.3 kB / 417.8 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.4921, allocations: 97.06 kB / 417.9 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4921, allocations: 4.188 kB / 417.9 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.4921, allocations: 38.62 kB / 417.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.933e-06/0.4921, allocations: 0 / 417.9 MB, free: 4.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005143/0.4927, allocations: 277.6 kB / 418.2 MB, free: 3.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.4928, allocations: 367.8 kB / 418.5 MB, free: 3.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.4932, allocations: 339.5 kB / 418.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.129e-05/0.4932, allocations: 25.7 kB / 418.9 MB, free: 3.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4934, allocations: 139.7 kB / 419 MB, free: 2.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.4934, allocations: 86.25 kB / 419.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.4935, allocations: 0 / 419.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4936, allocations: 361.8 kB / 419.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/0.4939, allocations: 189 kB / 419.6 MB, free: 2.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.4943, allocations: 299.9 kB / 419.9 MB, free: 2.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.4949, allocations: 229.3 kB / 420.2 MB, free: 1.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4949, allocations: 7.938 kB / 420.2 MB, free: 1.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001185/0.4961, allocations: 0.6387 MB / 420.8 MB, free: 1.445 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4962, allocations: 4 kB / 420.8 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.24e-05/0.4962, allocations: 11.98 kB / 420.8 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004494/0.4967, allocations: 120.1 kB / 420.9 MB, free: 1.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.497, allocations: 71.89 kB / 421 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.497, allocations: 0 / 421 MB, free: 1.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4972, allocations: 43.38 kB / 421.1 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/0.4973, allocations: 19.67 kB / 421.1 MB, free: 1.195 MB / 298.7 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 () * 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): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.4974, allocations: 108.9 kB / 421.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.4975, allocations: 39.44 kB / 421.2 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/0.4976, allocations: 49.12 kB / 421.3 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4976, allocations: 0 / 421.3 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.4976, allocations: 0 / 421.3 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4976, allocations: 0 / 421.3 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004245/0.4981, allocations: 311.7 kB / 421.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4981, allocations: 0 / 421.6 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000328/0.4984, allocations: 43.91 kB / 421.6 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/0.4984, allocations: 4 kB / 421.6 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-05/0.4985, allocations: 11.22 kB / 421.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.4985, allocations: 0 / 421.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.4985, allocations: 4 kB / 421.6 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007731/0.4993, allocations: 491.3 kB / 422.1 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.4994, allocations: 116.5 kB / 422.2 MB, free: 120 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.4995, allocations: 11.67 kB / 422.2 MB, free: 112 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4997, allocations: 8 kB / 422.2 MB, free: 104 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.4998, allocations: 15.91 kB / 422.3 MB, free: 88 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.4998, allocations: 8 kB / 422.3 MB, free: 80 kB / 298.7 MB Notification: Performance of sort global known variables: time 0.0003567/0.5002, allocations: 247.8 kB / 422.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002818/0.503, allocations: 0.6799 MB / 423.2 MB, free: 15.21 MB / 314.7 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 () * 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.003399/0.5064, allocations: 0.7184 MB / 423.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.5079, allocations: 0.8483 MB / 424.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.5079, allocations: 0 / 424.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001978/0.5081, allocations: 117.8 kB / 424.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.5087, allocations: 88.83 kB / 425 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.5104, allocations: 0.7027 MB / 425.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/0.5111, allocations: 0.882 MB / 426.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.5111, allocations: 0 / 426.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of Templates: time 0.02685/0.5379, allocations: 12.53 MB / 439.1 MB, free: 15.43 MB / 330.7 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)