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.007279/0.00728, allocations: 165.8 kB / 15.11 MB, free: 5.973 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.401/1.401, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.00156/0.00156, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 12 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 38.77 MB / 312.9 MB, free: 38.79 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.3728, allocations: 79.88 MB / 392.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.3732, allocations: 67.97 kB / 392.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06532/0.4385, allocations: 16.88 MB / 409.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4386, allocations: 0 / 409.7 MB, free: 9.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.4386, allocations: 4 kB / 409.7 MB, free: 9.656 MB / 314.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.001758/0.4404, allocations: 0.5651 MB / 410.3 MB, free: 9.043 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/0.4405, allocations: 8.031 kB / 410.3 MB, free: 9.035 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.4405, allocations: 15.81 kB / 410.3 MB, free: 9.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.4411, allocations: 235.2 kB / 410.5 MB, free: 8.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.4411, allocations: 8 kB / 410.5 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.4412, allocations: 15.94 kB / 410.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003871/0.4416, allocations: 145.7 kB / 410.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.4416, allocations: 0 / 410.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.4417, allocations: 4 kB / 410.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.4417, allocations: 4 kB / 410.7 MB, free: 8.555 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002175/0.4419, allocations: 55.95 kB / 410.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008876/0.4428, allocations: 396.4 kB / 411.1 MB, free: 8.062 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.4433, allocations: 126.8 kB / 411.3 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.4434, allocations: 11.94 kB / 411.3 MB, free: 7.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.4434, allocations: 30.78 kB / 411.3 MB, free: 7.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.4434, allocations: 0 / 411.3 MB, free: 7.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.00325/0.4467, allocations: 1.22 MB / 412.5 MB, free: 6.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.4468, allocations: 132.5 kB / 412.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.447, allocations: 151.2 kB / 412.8 MB, free: 6.211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.4471, allocations: 33.7 kB / 412.8 MB, free: 6.172 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.907e-05/0.4472, allocations: 116 kB / 413 MB, free: 6.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.949e-05/0.4473, allocations: 55.25 kB / 413 MB, free: 6.004 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.4473, allocations: 4 kB / 413 MB, free: 6 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.4475, allocations: 326.8 kB / 413.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.4478, allocations: 99.94 kB / 413.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.4481, allocations: 131.4 kB / 413.6 MB, free: 5.434 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.4484, allocations: 113.2 kB / 413.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.4484, allocations: 3.938 kB / 413.7 MB, free: 5.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008555/0.4493, allocations: 306.8 kB / 414 MB, free: 5.012 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4493, allocations: 4 kB / 414 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.4494, allocations: 3.984 kB / 414 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/0.4497, allocations: 44.77 kB / 414 MB, free: 4.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.4499, allocations: 35.92 kB / 414.1 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.4518, allocations: 1.421 MB / 415.5 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.452, allocations: 8.281 kB / 415.5 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.4521, allocations: 12 kB / 415.5 MB, free: 3.352 MB / 314.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 () * Number of clocked 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 0.0001786/0.4522, allocations: 137.8 kB / 415.6 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.4523, allocations: 11.86 kB / 415.6 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.4524, allocations: 29.5 kB / 415.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4524, allocations: 0 / 415.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4524, allocations: 8 kB / 415.7 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4524, allocations: 0 / 415.7 MB, free: 3.164 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.4529, allocations: 253.5 kB / 415.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4529, allocations: 4 kB / 415.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004501/0.4534, allocations: 51.91 kB / 416 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4534, allocations: 0 / 416 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/0.4534, allocations: 8 kB / 416 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.4534, allocations: 0 / 416 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.4534, allocations: 0 / 416 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.4543, allocations: 421.1 kB / 416.4 MB, free: 2.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.4544, allocations: 92.88 kB / 416.5 MB, free: 2.273 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.4544, allocations: 8.031 kB / 416.5 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4546, allocations: 4 kB / 416.5 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.4547, allocations: 7.984 kB / 416.5 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.4547, allocations: 11.94 kB / 416.5 MB, free: 2.242 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.4549, allocations: 128.2 kB / 416.6 MB, free: 2.117 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4549, allocations: 4 kB / 416.7 MB, free: 2.113 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002705/0.4576, allocations: 0.5389 MB / 417.2 MB, free: 1.574 MB / 314.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 () * Number of clocked 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.001851/0.4595, allocations: 0.5544 MB / 417.7 MB, free: 1.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009931/0.4605, allocations: 390.5 kB / 418.1 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4605, allocations: 4 kB / 418.1 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.4608, allocations: 97.7 kB / 418.2 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.4612, allocations: 34.73 kB / 418.3 MB, free: 500 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.4619, allocations: 440.6 kB / 418.7 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1601/0.622, allocations: 0.7315 MB / 419.4 MB, free: 80.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.6223, allocations: 31.27 kB / 419.5 MB, free: 80.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.177e-05/0.6223, allocations: 16.14 kB / 419.5 MB, free: 80.17 MB / 314.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6223, allocations: 0.5938 kB / 419.5 MB, free: 80.17 MB / 314.7 MB Notification: Performance of Templates: time 0.02192/0.6443, allocations: 7.683 MB / 427.1 MB, free: 80.04 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)