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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009482/0.0009481, allocations: 188.2 kB / 8.353 MB, free: 0.707 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.432/1.432, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001673/0.001673, allocations: 118.7 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.59e-05, allocations: 4 kB / 298.1 MB, free: 8.254 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08082/0.08085, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2683/0.3492, allocations: 84.3 MB / 426.9 MB, free: 11.72 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3495, allocations: 68.88 kB / 426.9 MB, free: 11.69 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03926/0.3887, allocations: 16.78 MB / 443.7 MB, free: 12.32 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3888, allocations: 0 / 443.7 MB, free: 12.32 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.3888, allocations: 15.88 kB / 443.7 MB, free: 12.31 MB / 331.1 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.0007847/0.3896, allocations: 0.5373 MB / 444.3 MB, free: 11.74 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.3896, allocations: 8.031 kB / 444.3 MB, free: 11.73 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.3897, allocations: 13.62 kB / 444.3 MB, free: 11.72 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.39, allocations: 241.8 kB / 444.5 MB, free: 11.46 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3901, allocations: 4 kB / 444.5 MB, free: 11.45 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.3901, allocations: 4 kB / 444.5 MB, free: 11.45 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001174/0.3902, allocations: 47.05 kB / 444.6 MB, free: 11.42 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.3904, allocations: 121.1 kB / 444.7 MB, free: 11.3 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.3904, allocations: 0 / 444.7 MB, free: 11.3 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.3905, allocations: 3.984 kB / 444.7 MB, free: 11.29 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3905, allocations: 4.562 kB / 444.7 MB, free: 11.29 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005822/0.3911, allocations: 359.4 kB / 445.1 MB, free: 10.93 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.3914, allocations: 121.4 kB / 445.2 MB, free: 10.83 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.236e-05/0.3914, allocations: 32.69 kB / 445.2 MB, free: 10.8 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.3915, allocations: 0 / 445.2 MB, free: 10.8 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.3915, allocations: 34.56 kB / 445.2 MB, free: 10.76 MB / 331.1 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.3915, allocations: 0 / 445.2 MB, free: 10.76 MB / 331.1 MB Notification: Performance of matching and sorting (n=15): time 0.001821/0.3933, allocations: 1.083 MB / 446.3 MB, free: 9.684 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3934, allocations: 132.5 kB / 446.5 MB, free: 9.523 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.3936, allocations: 155.7 kB / 446.6 MB, free: 9.387 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3936, allocations: 33.7 kB / 446.6 MB, free: 9.348 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.3937, allocations: 110 kB / 446.7 MB, free: 9.25 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.008e-05/0.3937, allocations: 53.94 kB / 446.8 MB, free: 9.203 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.3937, allocations: 0 / 446.8 MB, free: 9.203 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3939, allocations: 330.5 kB / 447.1 MB, free: 8.879 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.394, allocations: 82.34 kB / 447.2 MB, free: 8.828 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.3941, allocations: 125.5 kB / 447.3 MB, free: 8.73 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.3943, allocations: 100.5 kB / 447.4 MB, free: 8.664 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3943, allocations: 0 / 447.4 MB, free: 8.664 MB / 331.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004505/0.3948, allocations: 283 kB / 447.7 MB, free: 8.445 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3948, allocations: 4 kB / 447.7 MB, free: 8.441 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.3948, allocations: 4.562 kB / 447.7 MB, free: 8.438 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.395, allocations: 39.25 kB / 447.7 MB, free: 8.402 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3951, allocations: 35.36 kB / 447.8 MB, free: 8.371 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3952, allocations: 1.562 kB / 447.8 MB, free: 8.371 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-05/0.3953, allocations: 11.98 kB / 447.8 MB, free: 8.359 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.3953, allocations: 4 kB / 447.8 MB, free: 8.355 MB / 331.1 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.0001024/0.3954, allocations: 118.3 kB / 447.9 MB, free: 8.234 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.3954, allocations: 7.906 kB / 447.9 MB, free: 8.227 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.977e-05/0.3955, allocations: 23.66 kB / 447.9 MB, free: 8.215 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3955, allocations: 4 kB / 447.9 MB, free: 8.211 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3955, allocations: 0 / 447.9 MB, free: 8.211 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3955, allocations: 7.984 kB / 448 MB, free: 8.203 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.3961, allocations: 484 kB / 448.4 MB, free: 7.758 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3961, allocations: 5.484 kB / 448.4 MB, free: 7.754 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.3963, allocations: 31.97 kB / 448.5 MB, free: 7.723 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3963, allocations: 0 / 448.5 MB, free: 7.723 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3963, allocations: 7.984 kB / 448.5 MB, free: 7.715 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.3964, allocations: 2.875 kB / 448.5 MB, free: 7.715 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3964, allocations: 0 / 448.5 MB, free: 7.715 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.3968, allocations: 373.6 kB / 448.8 MB, free: 7.406 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.3968, allocations: 88.92 kB / 448.9 MB, free: 7.301 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.3969, allocations: 5.406 kB / 448.9 MB, free: 7.301 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.397, allocations: 11.97 kB / 448.9 MB, free: 7.289 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.3971, allocations: 7.984 kB / 449 MB, free: 7.281 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3971, allocations: 4 kB / 449 MB, free: 7.277 MB / 331.1 MB Notification: Performance of sorting global known variables: time 7.268e-05/0.3971, allocations: 122.4 kB / 449.1 MB, free: 7.172 MB / 331.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3972, allocations: 4 kB / 449.1 MB, free: 7.168 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.001547/0.3987, allocations: 0.5232 MB / 449.6 MB, free: 6.648 MB / 331.1 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.001172/0.3999, allocations: 0.5633 MB / 450.2 MB, free: 6.086 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.4004, allocations: 334.5 kB / 450.5 MB, free: 5.785 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4004, allocations: 0 / 450.5 MB, free: 5.785 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4005, allocations: 81.91 kB / 450.6 MB, free: 5.727 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.4007, allocations: 22.89 kB / 450.6 MB, free: 5.711 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006395/0.4014, allocations: 309 kB / 450.9 MB, free: 5.426 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.4017, allocations: 0.7325 MB / 451.6 MB, free: 4.664 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 8.648e-05/0.4018, allocations: 34.56 kB / 451.7 MB, free: 4.633 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.4019, allocations: 19.42 kB / 451.7 MB, free: 4.613 MB / 331.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4019, allocations: 0 / 451.7 MB, free: 4.613 MB / 331.1 MB Notification: Performance of Templates: time 0.01294/0.4148, allocations: 8.072 MB / 459.8 MB, free: 12.63 MB / 347.1 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)