Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001359/0.00136, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001214/0.001214, allocations: 189.4 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222 MB, free: 4.742 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.001147/0.001148, allocations: 51.92 kB / 278 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3024, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003102/0.3055, allocations: 1.653 MB / 326.3 MB, free: 0.6211 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006009/0.3116, allocations: 3.592 MB / 329.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.3117, allocations: 5.375 kB / 329.9 MB, free: 14.18 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.3121, allocations: 49.5 kB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.3122, allocations: 9.938 kB / 330 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.3156, allocations: 1.069 MB / 331 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002914/0.3159, allocations: 130.5 kB / 331.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.316, allocations: 27.2 kB / 331.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.92e-05/0.3161, allocations: 63.7 kB / 331.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3163, allocations: 49.69 kB / 331.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.284e-05/0.3163, allocations: 3.688 kB / 331.3 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002034/0.3183, allocations: 1.366 MB / 332.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.3184, allocations: 39.83 kB / 332.7 MB, free: 12.08 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.779e-05/0.3185, allocations: 47.67 kB / 332.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.3196, allocations: 1.193 MB / 334 MB, free: 10.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3196, allocations: 0 / 334 MB, free: 10.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3196, allocations: 0 / 334 MB, free: 10.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3196, allocations: 0 / 334 MB, free: 10.84 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.0009921/0.3206, allocations: 0.5653 MB / 334.5 MB, free: 10.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3207, allocations: 15.97 kB / 334.5 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3207, allocations: 12.75 kB / 334.6 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.321, allocations: 208 kB / 334.8 MB, free: 9.957 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.321, allocations: 8.375 kB / 334.8 MB, free: 9.949 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.321, allocations: 12.36 kB / 334.8 MB, free: 9.938 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.3213, allocations: 129 kB / 334.9 MB, free: 9.793 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3213, allocations: 4 kB / 334.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3213, allocations: 0 / 334.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3213, allocations: 0 / 334.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3214, allocations: 59.95 kB / 335 MB, free: 9.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.322, allocations: 384.5 kB / 335.3 MB, free: 9.305 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.3224, allocations: 122.6 kB / 335.5 MB, free: 9.176 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.445e-05/0.3225, allocations: 44.83 kB / 335.5 MB, free: 9.129 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.3225, allocations: 4 kB / 335.5 MB, free: 9.125 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3225, allocations: 34.69 kB / 335.5 MB, free: 9.082 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.3225, allocations: 4 kB / 335.5 MB, free: 9.078 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002264/0.3248, allocations: 1.222 MB / 336.8 MB, free: 7.723 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.956e-05/0.3249, allocations: 128.5 kB / 336.9 MB, free: 7.566 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.325, allocations: 178.3 kB / 337.1 MB, free: 7.383 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.3251, allocations: 29.7 kB / 337.1 MB, free: 7.348 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.3252, allocations: 112.5 kB / 337.2 MB, free: 7.23 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.3252, allocations: 51.19 kB / 337.3 MB, free: 7.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.783e-05/0.3253, allocations: 53.7 kB / 337.3 MB, free: 7.121 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.3254, allocations: 322.8 kB / 337.6 MB, free: 6.797 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.3256, allocations: 95.94 kB / 337.7 MB, free: 6.703 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.3258, allocations: 135.4 kB / 337.8 MB, free: 6.559 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.3261, allocations: 200.9 kB / 338 MB, free: 6.359 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.3261, allocations: 4 kB / 338 MB, free: 6.355 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005156/0.3267, allocations: 306 kB / 338.3 MB, free: 6.047 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3267, allocations: 4 kB / 338.4 MB, free: 6.043 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.3267, allocations: 0 / 338.4 MB, free: 6.043 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/0.3269, allocations: 44.86 kB / 338.4 MB, free: 5.996 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.3271, allocations: 35.91 kB / 338.4 MB, free: 5.961 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.3285, allocations: 1.401 MB / 339.8 MB, free: 4.426 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.991e-05/0.3286, allocations: 8.031 kB / 339.8 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.3286, allocations: 4 kB / 339.8 MB, free: 4.414 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.0001416/0.3288, allocations: 145.9 kB / 340 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.3288, allocations: 15.81 kB / 340 MB, free: 4.246 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.612e-05/0.3289, allocations: 25.52 kB / 340 MB, free: 4.223 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3289, allocations: 0 / 340 MB, free: 4.223 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3289, allocations: 4 kB / 340 MB, free: 4.219 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3289, allocations: 3.938 kB / 340 MB, free: 4.215 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.3292, allocations: 249.5 kB / 340.3 MB, free: 3.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3292, allocations: 4 kB / 340.3 MB, free: 3.918 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002741/0.3295, allocations: 59.91 kB / 340.3 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3295, allocations: 0 / 340.3 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3295, allocations: 0 / 340.3 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3295, allocations: 0 / 340.3 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3295, allocations: 0.6562 kB / 340.3 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005313/0.3301, allocations: 415.1 kB / 340.7 MB, free: 3.438 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.3301, allocations: 92.95 kB / 340.8 MB, free: 3.328 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3302, allocations: 8 kB / 340.8 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.3303, allocations: 4 kB / 340.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3303, allocations: 7.984 kB / 340.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.3304, allocations: 4 kB / 340.9 MB, free: 3.305 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.162e-05/0.3305, allocations: 135.2 kB / 341 MB, free: 3.172 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3305, allocations: 0 / 341 MB, free: 3.172 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001565/0.332, allocations: 0.5117 MB / 341.5 MB, free: 2.66 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.001142/0.3332, allocations: 0.5532 MB / 342.1 MB, free: 2.098 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006807/0.3339, allocations: 389.9 kB / 342.4 MB, free: 1.691 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.3339, allocations: 3.938 kB / 342.4 MB, free: 1.688 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.334, allocations: 83.95 kB / 342.5 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.0003621/0.3344, allocations: 27.97 kB / 342.6 MB, free: 1.578 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.3352, allocations: 448.1 kB / 343 MB, free: 1.117 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3356, allocations: 0.7322 MB / 343.7 MB, free: 368 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.3357, allocations: 37.05 kB / 343.8 MB, free: 332 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.3358, allocations: 15.44 kB / 343.8 MB, free: 316 kB / 270.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3358, allocations: 0 / 343.8 MB, free: 316 kB / 270.1 MB Notification: Performance of Templates: time 0.01546/0.3512, allocations: 7.775 MB / 351.5 MB, free: 8.52 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)