Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001947/0.001947, allocations: 191.6 kB / 8.135 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.254/1.254, allocations: 194.2 MB / 202.8 MB, free: 8.684 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001707/0.001708, allocations: 124.2 kB / 247.7 MB, free: 6.43 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.903e-06/7.013e-06, allocations: 0 / 297.6 MB, free: 8.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.08509, allocations: 44.5 MB / 342 MB, free: 11.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.3275, allocations: 84.39 MB / 426.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.3278, allocations: 66.5 kB / 426.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.1008/0.4286, allocations: 35.18 MB / 461.7 MB, free: 12.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.512e-05/0.4287, allocations: 15.94 kB / 461.7 MB, free: 12.51 MB / 346.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.002047/0.4308, allocations: 0.8176 MB / 462.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4308, allocations: 12.03 kB / 462.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.431, allocations: 47.44 kB / 462.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008713/0.4319, allocations: 447.7 kB / 463 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.4319, allocations: 7.906 kB / 463 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.141e-05/0.432, allocations: 23.19 kB / 463 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002482/0.4323, allocations: 131.5 kB / 463.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.4327, allocations: 308 kB / 463.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4327, allocations: 7.844 kB / 463.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.4327, allocations: 4 kB / 463.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4327, allocations: 4 kB / 463.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4339, allocations: 0.631 MB / 464.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.4345, allocations: 300.1 kB / 464.4 MB, free: 9.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.4346, allocations: 102.1 kB / 464.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.4347, allocations: 6.25 kB / 464.5 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4347, allocations: 38.19 kB / 464.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.025e-06/0.4347, allocations: 0 / 464.6 MB, free: 9.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004606/0.4352, allocations: 286.9 kB / 464.8 MB, free: 9.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001436/0.4353, allocations: 363.8 kB / 465.2 MB, free: 9.137 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.4357, allocations: 338 kB / 465.5 MB, free: 8.867 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/0.4357, allocations: 25.7 kB / 465.5 MB, free: 8.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/0.4358, allocations: 150.5 kB / 465.7 MB, free: 8.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.451e-05/0.4359, allocations: 84.88 kB / 465.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.436, allocations: 0 / 465.8 MB, free: 8.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.4361, allocations: 352.4 kB / 466.1 MB, free: 8.293 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.4364, allocations: 188.7 kB / 466.3 MB, free: 8.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003493/0.4367, allocations: 299.5 kB / 466.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.4373, allocations: 241.5 kB / 466.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4373, allocations: 0 / 466.8 MB, free: 7.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001157/0.4384, allocations: 0.6308 MB / 467.5 MB, free: 7.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4385, allocations: 11.94 kB / 467.5 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/0.4385, allocations: 11.98 kB / 467.5 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000423/0.4389, allocations: 122.2 kB / 467.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/0.4393, allocations: 63.95 kB / 467.7 MB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.4393, allocations: 3.938 kB / 467.7 MB, free: 7.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.4395, allocations: 39.53 kB / 467.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.4395, allocations: 18.11 kB / 467.7 MB, free: 6.961 MB / 346.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.00011/0.4397, allocations: 116.8 kB / 467.8 MB, free: 6.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.4397, allocations: 35.53 kB / 467.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.397e-05/0.4398, allocations: 41.19 kB / 467.9 MB, free: 6.789 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.4398, allocations: 4 kB / 467.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.4399, allocations: 0 / 467.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.4399, allocations: 19.81 kB / 467.9 MB, free: 6.766 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.4402, allocations: 305.4 kB / 468.2 MB, free: 6.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4402, allocations: 4 kB / 468.2 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.4405, allocations: 43.59 kB / 468.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4406, allocations: 0 / 468.3 MB, free: 6.434 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.4406, allocations: 8 kB / 468.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4406, allocations: 0 / 468.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4406, allocations: 0 / 468.3 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006125/0.4412, allocations: 0.4941 MB / 468.8 MB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.41e-05/0.4413, allocations: 112.6 kB / 468.9 MB, free: 5.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.4414, allocations: 7.984 kB / 468.9 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4416, allocations: 8 kB / 468.9 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4417, allocations: 15.53 kB / 468.9 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4417, allocations: 4 kB / 468.9 MB, free: 5.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002331/0.4419, allocations: 253.4 kB / 469.2 MB, free: 5.648 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002052/0.444, allocations: 0.6705 MB / 469.8 MB, free: 4.984 MB / 346.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.002325/0.4463, allocations: 0.7095 MB / 470.6 MB, free: 4.281 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009995/0.4473, allocations: 0.842 MB / 471.4 MB, free: 3.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4474, allocations: 4 kB / 471.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001913/0.4476, allocations: 115.1 kB / 471.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/0.4481, allocations: 87.53 kB / 471.6 MB, free: 3.285 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.4494, allocations: 0.7216 MB / 472.3 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/0.45, allocations: 0.8702 MB / 473.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.45, allocations: 0 / 473.2 MB, free: 1.715 MB / 346.7 MB Notification: Performance of Templates: time 0.02436/0.4744, allocations: 12.53 MB / 485.7 MB, free: 5.297 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe 2>&1)