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.0009704/0.0009703, allocations: 169.1 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.239/1.239, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001591/0.001591, allocations: 99.52 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.376e-05, allocations: 0 / 268.9 MB, free: 20.95 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06948/0.06952, allocations: 38.78 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2752/0.3448, allocations: 79.78 MB / 387.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.345, allocations: 65.53 kB / 387.5 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04606/0.3911, allocations: 16.85 MB / 404.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3912, allocations: 0 / 404.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.3912, allocations: 4 kB / 404.3 MB, free: 13.02 MB / 298.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.0007243/0.3919, allocations: 0.5373 MB / 404.9 MB, free: 12.45 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.392, allocations: 12.03 kB / 404.9 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.904e-05/0.392, allocations: 19.81 kB / 404.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3923, allocations: 239.4 kB / 405.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3923, allocations: 7.938 kB / 405.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.3924, allocations: 19.5 kB / 405.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.3926, allocations: 121.1 kB / 405.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.3926, allocations: 8 kB / 405.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.3926, allocations: 3.938 kB / 405.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3926, allocations: 0 / 405.3 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.3927, allocations: 47.78 kB / 405.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005767/0.3933, allocations: 386.2 kB / 405.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.3936, allocations: 125.4 kB / 405.8 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.3937, allocations: 32.53 kB / 405.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3937, allocations: 4 kB / 405.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.3938, allocations: 34.5 kB / 405.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.3938, allocations: 0 / 405.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.00175/0.3955, allocations: 1.147 MB / 407 MB, free: 10.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.975e-05/0.3956, allocations: 140.5 kB / 407.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.3957, allocations: 157 kB / 407.3 MB, free: 9.973 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.3958, allocations: 25.7 kB / 407.4 MB, free: 9.941 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.181e-05/0.3958, allocations: 111.8 kB / 407.5 MB, free: 9.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.3959, allocations: 58.81 kB / 407.5 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.3959, allocations: 7.875 kB / 407.5 MB, free: 9.785 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.396, allocations: 322.7 kB / 407.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.3961, allocations: 86.03 kB / 407.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.3963, allocations: 128 kB / 408.1 MB, free: 9.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.3964, allocations: 103.8 kB / 408.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3964, allocations: 0 / 408.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004273/0.3969, allocations: 290 kB / 408.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3969, allocations: 8 kB / 408.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.3969, allocations: 0 / 408.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.3971, allocations: 47.31 kB / 408.5 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3973, allocations: 35.8 kB / 408.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.3983, allocations: 1.4 MB / 409.9 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.877e-05/0.3984, allocations: 11.27 kB / 409.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.3985, allocations: 7.5 kB / 410 MB, free: 7.461 MB / 298.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): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.715e-05/0.3986, allocations: 116.2 kB / 410.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.69e-05/0.3986, allocations: 15.81 kB / 410.1 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.3987, allocations: 26.47 kB / 410.1 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3987, allocations: 8.078 kB / 410.1 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.3987, allocations: 0 / 410.1 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3987, allocations: 0 / 410.1 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.3989, allocations: 243.7 kB / 410.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3989, allocations: 0 / 410.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/0.3992, allocations: 63.64 kB / 410.4 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.3992, allocations: 4.031 kB / 410.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3992, allocations: 0 / 410.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3992, allocations: 0 / 410.4 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3993, allocations: 7.938 kB / 410.4 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004113/0.3997, allocations: 403.7 kB / 410.8 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.3997, allocations: 92.88 kB / 410.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3998, allocations: 0 / 410.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3999, allocations: 15.34 kB / 410.9 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.3999, allocations: 7.984 kB / 410.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.3999, allocations: 3.125 kB / 410.9 MB, free: 6.539 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.906e-05/0.4, allocations: 127.7 kB / 411.1 MB, free: 6.426 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4, allocations: 7.938 kB / 411.1 MB, free: 6.418 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001441/0.4015, allocations: 0.5293 MB / 411.6 MB, free: 5.895 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (der1.u,der2.u,der3.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.001081/0.4026, allocations: 0.5726 MB / 412.2 MB, free: 5.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005471/0.4031, allocations: 367.7 kB / 412.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4032, allocations: 0 / 412.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.4033, allocations: 88.16 kB / 412.6 MB, free: 4.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.4035, allocations: 30.61 kB / 412.6 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004788/0.404, allocations: 298.6 kB / 412.9 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.4043, allocations: 0.7359 MB / 413.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.087e-05/0.4044, allocations: 33.17 kB / 413.7 MB, free: 3.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.4045, allocations: 19.44 kB / 413.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.4045, allocations: 3.938 kB / 413.7 MB, free: 3.82 MB / 298.7 MB Notification: Performance of Templates: time 0.01664/0.4211, allocations: 10.15 MB / 423.9 MB, free: 9.719 MB / 314.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)