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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 99.36 kB / 15.33 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 193.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.427/2.427, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002166/0.002166, allocations: 51.92 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3562, allocations: 46.63 MB / 324.8 MB, free: 2.02 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004656/0.3609, allocations: 1.661 MB / 326.5 MB, free: 0.707 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.005879/0.3668, allocations: 3.268 MB / 329.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.367, allocations: 1.375 kB / 329.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.3675, allocations: 49.44 kB / 329.8 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.3676, allocations: 17.91 kB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003689/0.3713, allocations: 1.261 MB / 331.1 MB, free: 13.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.3716, allocations: 143.9 kB / 331.2 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3717, allocations: 28.27 kB / 331.3 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.3718, allocations: 60.58 kB / 331.3 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.963e-05/0.3719, allocations: 48.98 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.3719, allocations: 8.188 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3739, allocations: 1.389 MB / 332.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.147e-05/0.374, allocations: 31.86 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.563e-05/0.3741, allocations: 55.67 kB / 332.8 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.3751, allocations: 1.193 MB / 334 MB, free: 10.98 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3752, allocations: 3.984 kB / 334 MB, free: 10.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3752, allocations: 0 / 334 MB, free: 10.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.3752, allocations: 0 / 334 MB, free: 10.98 MB / 270.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.001036/0.3762, allocations: 0.5574 MB / 334.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3763, allocations: 12.03 kB / 334.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.3763, allocations: 16.75 kB / 334.6 MB, free: 10.35 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.3766, allocations: 224 kB / 334.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3766, allocations: 8.375 kB / 334.9 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.3767, allocations: 4.375 kB / 334.9 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.3769, allocations: 125 kB / 335 MB, free: 9.938 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3769, allocations: 11.92 kB / 335 MB, free: 9.926 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.377, allocations: 0 / 335 MB, free: 9.926 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.377, allocations: 4 kB / 335 MB, free: 9.922 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.3771, allocations: 55.95 kB / 335.1 MB, free: 9.867 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.3777, allocations: 376.6 kB / 335.4 MB, free: 9.449 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.378, allocations: 134.5 kB / 335.6 MB, free: 9.309 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.251e-05/0.3781, allocations: 44.83 kB / 335.6 MB, free: 9.262 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.3782, allocations: 4 kB / 335.6 MB, free: 9.258 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3782, allocations: 30.56 kB / 335.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.3782, allocations: 0 / 335.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002232/0.3804, allocations: 1.234 MB / 336.9 MB, free: 7.852 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3805, allocations: 128.5 kB / 337 MB, free: 7.695 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3808, allocations: 178.3 kB / 337.2 MB, free: 7.512 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3808, allocations: 29.7 kB / 337.2 MB, free: 7.477 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.955e-05/0.3809, allocations: 108.5 kB / 337.3 MB, free: 7.363 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/0.381, allocations: 55.19 kB / 337.4 MB, free: 7.309 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.871e-05/0.381, allocations: 41.72 kB / 337.4 MB, free: 7.262 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3812, allocations: 334.8 kB / 337.7 MB, free: 6.926 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.3814, allocations: 95.94 kB / 337.8 MB, free: 6.832 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.3816, allocations: 127.4 kB / 337.9 MB, free: 6.695 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.3819, allocations: 200.9 kB / 338.1 MB, free: 6.496 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.3819, allocations: 0 / 338.1 MB, free: 6.496 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005287/0.3824, allocations: 318 kB / 338.4 MB, free: 6.176 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3825, allocations: 4 kB / 338.5 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/0.3825, allocations: 0 / 338.5 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001878/0.3827, allocations: 40.83 kB / 338.5 MB, free: 6.129 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.3828, allocations: 35.97 kB / 338.5 MB, free: 6.094 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.3841, allocations: 1.513 MB / 340 MB, free: 4.441 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.8e-05/0.3843, allocations: 20.11 kB / 340.1 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3843, allocations: 4 kB / 340.1 MB, free: 4.418 MB / 270.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 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.3844, allocations: 137.8 kB / 340.2 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.3845, allocations: 15.81 kB / 340.2 MB, free: 4.258 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.3845, allocations: 21.47 kB / 340.2 MB, free: 4.238 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3845, allocations: 4 kB / 340.2 MB, free: 4.234 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3846, allocations: 0 / 340.2 MB, free: 4.234 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3846, allocations: 7.922 kB / 340.2 MB, free: 4.227 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.3848, allocations: 245.6 kB / 340.5 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3849, allocations: 0 / 340.5 MB, free: 3.938 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/0.3851, allocations: 55.95 kB / 340.5 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3851, allocations: 0 / 340.5 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3852, allocations: 7.938 kB / 340.5 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3852, allocations: 4 kB / 340.6 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3852, allocations: 0 / 340.6 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.3857, allocations: 423 kB / 341 MB, free: 3.441 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.3858, allocations: 88.92 kB / 341.1 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3858, allocations: 0 / 341.1 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3859, allocations: 12.03 kB / 341.1 MB, free: 3.324 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.386, allocations: 7.938 kB / 341.1 MB, free: 3.316 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.386, allocations: 11.98 kB / 341.1 MB, free: 3.305 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.187e-05/0.3861, allocations: 119.2 kB / 341.2 MB, free: 3.188 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3861, allocations: 0 / 341.2 MB, free: 3.188 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001411/0.3875, allocations: 0.5117 MB / 341.7 MB, free: 2.676 MB / 270.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/0.3886, allocations: 0.5571 MB / 342.3 MB, free: 2.109 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.3893, allocations: 401.8 kB / 342.7 MB, free: 1.691 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3893, allocations: 0 / 342.7 MB, free: 1.691 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.3895, allocations: 87.89 kB / 342.7 MB, free: 1.605 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003307/0.3898, allocations: 27.98 kB / 342.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.3904, allocations: 459 kB / 343.2 MB, free: 1.105 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.3907, allocations: 0.728 MB / 343.9 MB, free: 360 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.906e-05/0.3908, allocations: 33.14 kB / 344 MB, free: 328 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.3909, allocations: 19.38 kB / 344 MB, free: 308 kB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.3909, allocations: 0 / 344 MB, free: 308 kB / 270.1 MB Notification: Performance of Templates: time 0.01341/0.4043, allocations: 7.861 MB / 351.9 MB, free: 8.426 MB / 286.1 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)