Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation") [: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.003496/0.003496, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.351/1.351, 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.001744/0.001744, allocations: 116.5 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.185e-06, allocations: 0 / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 38.76 MB / 300.5 MB, free: 3.918 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4793, allocations: 79.05 MB / 379.5 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.4796, allocations: 61.41 kB / 379.6 MB, free: 5.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.0508/0.5304, allocations: 16.77 MB / 396.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.634e-05/0.5305, allocations: 7.938 kB / 396.4 MB, free: 6.246 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001578/0.5321, allocations: 0.5446 MB / 396.9 MB, free: 5.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.5322, allocations: 8.031 kB / 396.9 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.262e-05/0.5323, allocations: 15.81 kB / 396.9 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.5328, allocations: 234 kB / 397.2 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5328, allocations: 4 kB / 397.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.5328, allocations: 11.98 kB / 397.2 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001477/0.533, allocations: 50.58 kB / 397.2 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002343/0.5332, allocations: 113.8 kB / 397.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/0.5333, allocations: 0 / 397.3 MB, free: 5.219 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.5333, allocations: 3.938 kB / 397.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.5333, allocations: 4 kB / 397.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006365/0.534, allocations: 366.6 kB / 397.7 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.5343, allocations: 104.8 kB / 397.8 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.41e-05/0.5344, allocations: 35.08 kB / 397.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.5344, allocations: 4 kB / 397.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.5344, allocations: 33.75 kB / 397.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.853e-06/0.5344, allocations: 0 / 397.9 MB, free: 4.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.002079/0.5365, allocations: 1.102 MB / 399 MB, free: 3.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.5367, allocations: 132.5 kB / 399.1 MB, free: 3.434 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.5368, allocations: 154 kB / 399.3 MB, free: 3.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.5369, allocations: 33.39 kB / 399.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.008e-05/0.537, allocations: 100.3 kB / 399.4 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.007e-05/0.5371, allocations: 58.25 kB / 399.5 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.5371, allocations: 3.938 kB / 399.5 MB, free: 3.098 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5372, allocations: 329.7 kB / 399.8 MB, free: 2.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.5374, allocations: 86.16 kB / 399.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.5376, allocations: 127.1 kB / 400 MB, free: 2.617 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.5379, allocations: 110.1 kB / 400.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5379, allocations: 0 / 400.1 MB, free: 2.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005697/0.5384, allocations: 289.2 kB / 400.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5385, allocations: 4 kB / 400.4 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.5385, allocations: 4 kB / 400.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.5387, allocations: 46.59 kB / 400.4 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.5389, allocations: 35.23 kB / 400.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5389, allocations: 4 kB / 400.5 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.539, allocations: 7.984 kB / 400.5 MB, free: 2.219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.5391, allocations: 4 kB / 400.5 MB, free: 2.215 MB / 282.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 (19): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.5392, allocations: 105 kB / 400.6 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.5392, allocations: 15.81 kB / 400.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.5393, allocations: 18.03 kB / 400.6 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5393, allocations: 8.031 kB / 400.6 MB, free: 2.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.5393, allocations: 4 kB / 400.6 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5394, allocations: 3.984 kB / 400.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.54, allocations: 489.7 kB / 401.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.54, allocations: 0 / 401.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.5403, allocations: 27.98 kB / 401.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5403, allocations: 0 / 401.1 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.5403, allocations: 7.984 kB / 401.1 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5403, allocations: 3.906 kB / 401.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.066e-06/0.5403, allocations: 7.984 kB / 401.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005292/0.5409, allocations: 387 kB / 401.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.631e-05/0.5409, allocations: 88.92 kB / 401.6 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.883e-05/0.541, allocations: 7.375 kB / 401.6 MB, free: 1.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5411, allocations: 7.984 kB / 401.6 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.5412, allocations: 3.984 kB / 401.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.5412, allocations: 8 kB / 401.7 MB, free: 1.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0001055/0.5413, allocations: 129.6 kB / 401.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002297/0.5436, allocations: 0.5343 MB / 402.3 MB, free: 484 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (Bessel.x[1],Bessel.x[2],der1.u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0025/0.5461, allocations: 0.5621 MB / 402.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.5468, allocations: 346.5 kB / 403.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5468, allocations: 4 kB / 403.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.547, allocations: 86.03 kB / 403.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.5474, allocations: 15.55 kB / 403.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009501/0.5484, allocations: 304.3 kB / 403.6 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.5489, allocations: 0.7546 MB / 404.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5489, allocations: 0 / 404.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of Templates: time 0.02111/0.5701, allocations: 8.293 MB / 412.7 MB, free: 6.199 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)