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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009595/0.0009595, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.292/1.292, allocations: 170.7 MB / 178.7 MB, free: 15.59 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.001588/0.001588, allocations: 99.53 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.562e-05, allocations: 0 / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 38.78 MB / 301 MB, free: 3.633 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3714/0.4791, allocations: 79.12 MB / 380.1 MB, free: 5.496 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4794, allocations: 65.28 kB / 380.2 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04458/0.524, allocations: 16.8 MB / 397 MB, free: 6.059 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.524, allocations: 0 / 397 MB, free: 6.059 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.524, allocations: 8 kB / 397 MB, free: 6.051 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.001462/0.5255, allocations: 0.5375 MB / 397.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5256, allocations: 12.03 kB / 397.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.5257, allocations: 15.81 kB / 397.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004227/0.5261, allocations: 245.1 kB / 397.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.5261, allocations: 0.75 kB / 397.8 MB, free: 5.188 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.546e-05/0.5262, allocations: 11.95 kB / 397.8 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001353/0.5263, allocations: 38.86 kB / 397.8 MB, free: 5.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.5265, allocations: 119.1 kB / 397.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5266, allocations: 0 / 397.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.5266, allocations: 3.938 kB / 397.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.5266, allocations: 4 kB / 398 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.5272, allocations: 355.3 kB / 398.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.5275, allocations: 120.9 kB / 398.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.5276, allocations: 34.69 kB / 398.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.117e-05/0.5276, allocations: 0 / 398.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.5276, allocations: 34.56 kB / 398.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.5276, allocations: 0 / 398.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.001948/0.5296, allocations: 1.089 MB / 399.6 MB, free: 3.41 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.5297, allocations: 136.5 kB / 399.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.5298, allocations: 154.5 kB / 399.9 MB, free: 3.105 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.5299, allocations: 25.7 kB / 399.9 MB, free: 3.074 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.07e-05/0.5299, allocations: 107.3 kB / 400 MB, free: 2.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.53, allocations: 58.56 kB / 400 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.53, allocations: 0 / 400 MB, free: 2.922 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5301, allocations: 334.2 kB / 400.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.5303, allocations: 84.34 kB / 400.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5304, allocations: 124 kB / 400.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.5306, allocations: 102.5 kB / 400.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5306, allocations: 0 / 400.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004738/0.5311, allocations: 274.5 kB / 400.9 MB, free: 2.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5311, allocations: 8.938 kB / 401 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.5311, allocations: 0 / 401 MB, free: 2.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000169/0.5313, allocations: 43.81 kB / 401 MB, free: 2.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.5315, allocations: 35.48 kB / 401 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.5315, allocations: 0 / 401 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.22e-05/0.5316, allocations: 11.92 kB / 401 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.5317, allocations: 4 kB / 401 MB, free: 2.066 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 9.723e-05/0.5318, allocations: 108.9 kB / 401.2 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.17e-05/0.5318, allocations: 19.77 kB / 401.2 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.5319, allocations: 20.08 kB / 401.2 MB, free: 1.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.5319, allocations: 11.94 kB / 401.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5319, allocations: 0 / 401.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5319, allocations: 0 / 401.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/0.5325, allocations: 483.5 kB / 401.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5325, allocations: 0 / 401.7 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.5328, allocations: 31.98 kB / 401.7 MB, free: 1.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.758e-06/0.5328, allocations: 4 kB / 401.7 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.5328, allocations: 3.984 kB / 401.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.5328, allocations: 4 kB / 401.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5328, allocations: 0 / 401.7 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.5332, allocations: 369 kB / 402.1 MB, free: 1.121 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.5333, allocations: 96.44 kB / 402.2 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.5334, allocations: 8.031 kB / 402.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.5335, allocations: 0 / 402.2 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.5335, allocations: 11.98 kB / 402.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.5336, allocations: 0 / 402.2 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.987e-05/0.5336, allocations: 132.4 kB / 402.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5337, allocations: 0 / 402.3 MB, free: 0.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001773/0.5354, allocations: 0.5265 MB / 402.8 MB, free: 360 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.001982/0.5374, allocations: 0.5481 MB / 403.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.5379, allocations: 343 kB / 403.7 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5379, allocations: 4 kB / 403.7 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.5381, allocations: 75.03 kB / 403.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.5383, allocations: 24.02 kB / 403.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.5391, allocations: 310.7 kB / 404.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.5394, allocations: 0.7467 MB / 404.9 MB, free: 14.35 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.5395, allocations: 25.19 kB / 404.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.069e-05/0.5396, allocations: 15.44 kB / 404.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5396, allocations: 0 / 404.9 MB, free: 14.31 MB / 298.7 MB Notification: Performance of Templates: time 0.01566/0.5552, allocations: 8.102 MB / 413 MB, free: 6.262 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)