Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.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.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.2+maint.om/package.mo): time 0.001222/0.001222, allocations: 190.2 kB / 8.132 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.123/1.123, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.001792/0.001792, allocations: 119 kB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.672e-06, allocations: 0 / 297.6 MB, free: 8.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0811/0.08113, allocations: 44.48 MB / 342 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/0.3081, allocations: 84.23 MB / 426.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.3084, allocations: 66.91 kB / 426.3 MB, free: 11.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.04369/0.3521, allocations: 16.74 MB / 443.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.3522, allocations: 8 kB / 443.1 MB, free: 11.72 MB / 330.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.001257/0.3535, allocations: 0.5422 MB / 443.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.3535, allocations: 8.031 kB / 443.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.513e-05/0.3536, allocations: 19.25 kB / 443.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.3541, allocations: 234.1 kB / 443.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3541, allocations: 0 / 443.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.3541, allocations: 11.91 kB / 443.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/0.3543, allocations: 45.78 kB / 443.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3545, allocations: 122.7 kB / 444.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3545, allocations: 0 / 444.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.3545, allocations: 0 / 444.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3545, allocations: 4 kB / 444.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.3551, allocations: 356.5 kB / 444.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003274/0.3555, allocations: 104.6 kB / 444.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.947e-05/0.3556, allocations: 43.16 kB / 444.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3556, allocations: 3.984 kB / 444.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3556, allocations: 34.75 kB / 444.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3556, allocations: 3.938 kB / 444.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.002182/0.3578, allocations: 1.107 MB / 445.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/0.3579, allocations: 136.5 kB / 445.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.3581, allocations: 153.3 kB / 446 MB, free: 8.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.3581, allocations: 25.7 kB / 446 MB, free: 8.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.3582, allocations: 107.4 kB / 446.1 MB, free: 8.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.3582, allocations: 46.27 kB / 446.2 MB, free: 8.59 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.3583, allocations: 0 / 446.2 MB, free: 8.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3584, allocations: 333.6 kB / 446.5 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.3585, allocations: 91.22 kB / 446.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001575/0.3587, allocations: 128.5 kB / 446.7 MB, free: 8.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.3589, allocations: 99.73 kB / 446.8 MB, free: 8.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3589, allocations: 0 / 446.8 MB, free: 8.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005238/0.3594, allocations: 299.1 kB / 447.1 MB, free: 7.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3595, allocations: 10.25 kB / 447.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.3595, allocations: 0 / 447.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/0.3597, allocations: 44.25 kB / 447.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.3599, allocations: 35.98 kB / 447.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3599, allocations: 0 / 447.2 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.844e-05/0.36, allocations: 9.25 kB / 447.2 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.3601, allocations: 4 kB / 447.2 MB, free: 7.715 MB / 330.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.0001152/0.3602, allocations: 118.2 kB / 447.3 MB, free: 7.594 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.3602, allocations: 15.75 kB / 447.3 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/0.3603, allocations: 20.16 kB / 447.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.3603, allocations: 4 kB / 447.4 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.3603, allocations: 3.906 kB / 447.4 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.3604, allocations: 4 kB / 447.4 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000592/0.361, allocations: 485 kB / 447.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.361, allocations: 0 / 447.8 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.3612, allocations: 39.91 kB / 447.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3612, allocations: 0 / 447.9 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.3613, allocations: 11.56 kB / 447.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3613, allocations: 0 / 447.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.3613, allocations: 0 / 447.9 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004331/0.3617, allocations: 375.4 kB / 448.3 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3618, allocations: 88.92 kB / 448.3 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.876e-05/0.3618, allocations: 13.16 kB / 448.4 MB, free: 6.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.3619, allocations: 4 kB / 448.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.362, allocations: 14.42 kB / 448.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.362, allocations: 11.92 kB / 448.4 MB, free: 6.621 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.841e-05/0.3621, allocations: 118.8 kB / 448.5 MB, free: 6.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001699/0.3638, allocations: 0.5157 MB / 449 MB, free: 6.004 MB / 330.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.001838/0.3657, allocations: 0.5567 MB / 449.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.3662, allocations: 345 kB / 449.9 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3662, allocations: 0 / 449.9 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3663, allocations: 81.28 kB / 450 MB, free: 5.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.3666, allocations: 21.66 kB / 450 MB, free: 5.059 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.3673, allocations: 320.1 kB / 450.3 MB, free: 4.754 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.3677, allocations: 0.7585 MB / 451.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of SimCode: time 6.72e-07/0.3677, allocations: 0 / 451.1 MB, free: 3.973 MB / 330.7 MB Notification: Performance of Templates: time 0.01496/0.3827, allocations: 8.283 MB / 459.4 MB, free: 11.79 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)