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.001292/0.001292, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.626/1.626, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001218/0.001218, allocations: 56.39 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3013, allocations: 46.63 MB / 325.3 MB, free: 1.965 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003026/0.3044, allocations: 1.601 MB / 326.9 MB, free: 0.6953 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006008/0.3104, allocations: 3.208 MB / 330.1 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001822/0.3106, allocations: 2.312 kB / 330.1 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004027/0.3111, allocations: 57.38 kB / 330.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.66e-05/0.3112, allocations: 9.156 kB / 330.2 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005442/0.3166, allocations: 1.427 MB / 331.6 MB, free: 13.53 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.317, allocations: 145 kB / 331.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/0.3172, allocations: 27.92 kB / 331.8 MB, free: 13.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.3173, allocations: 56.56 kB / 331.8 MB, free: 13.4 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3175, allocations: 52.77 kB / 331.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.164e-05/0.3175, allocations: 7.688 kB / 331.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002234/0.3197, allocations: 1.382 MB / 333.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.3199, allocations: 35.84 kB / 333.3 MB, free: 12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.322e-05/0.32, allocations: 55.66 kB / 333.4 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.3212, allocations: 1.201 MB / 334.6 MB, free: 10.75 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3212, allocations: 0 / 334.6 MB, free: 10.75 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3212, allocations: 0 / 334.6 MB, free: 10.75 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.3212, allocations: 0 / 334.6 MB, free: 10.75 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.001142/0.3224, allocations: 0.5652 MB / 335.1 MB, free: 10.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.3224, allocations: 8.031 kB / 335.1 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.3225, allocations: 16.75 kB / 335.1 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3228, allocations: 212 kB / 335.3 MB, free: 9.863 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.3228, allocations: 8.375 kB / 335.4 MB, free: 9.855 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3228, allocations: 8.375 kB / 335.4 MB, free: 9.848 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.3231, allocations: 140.9 kB / 335.5 MB, free: 9.691 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3232, allocations: 0 / 335.5 MB, free: 9.691 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.3232, allocations: 0 / 335.5 MB, free: 9.691 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3232, allocations: 7.984 kB / 335.5 MB, free: 9.684 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.3233, allocations: 55.89 kB / 335.6 MB, free: 9.629 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.324, allocations: 396.5 kB / 336 MB, free: 9.191 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003892/0.3244, allocations: 122.6 kB / 336.1 MB, free: 9.062 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.893e-05/0.3245, allocations: 41.03 kB / 336.1 MB, free: 9.02 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.3245, allocations: 3.938 kB / 336.1 MB, free: 9.016 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.3246, allocations: 30.56 kB / 336.1 MB, free: 8.977 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.3246, allocations: 4 kB / 336.2 MB, free: 8.973 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002303/0.3269, allocations: 1.214 MB / 337.4 MB, free: 7.625 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.213e-05/0.327, allocations: 136.5 kB / 337.5 MB, free: 7.461 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.3271, allocations: 166.4 kB / 337.7 MB, free: 7.289 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3272, allocations: 29.7 kB / 337.7 MB, free: 7.254 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.3273, allocations: 113.7 kB / 337.8 MB, free: 7.137 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/0.3273, allocations: 55.19 kB / 337.9 MB, free: 7.082 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.3274, allocations: 45.7 kB / 337.9 MB, free: 7.031 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3275, allocations: 326.8 kB / 338.2 MB, free: 6.703 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.3277, allocations: 99.94 kB / 338.3 MB, free: 6.605 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.3279, allocations: 123.4 kB / 338.4 MB, free: 6.473 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003778/0.3283, allocations: 212.9 kB / 338.6 MB, free: 6.262 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3283, allocations: 0 / 338.6 MB, free: 6.262 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005367/0.3289, allocations: 306.1 kB / 338.9 MB, free: 5.953 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3289, allocations: 4 kB / 338.9 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.3289, allocations: 4 kB / 339 MB, free: 5.945 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.3291, allocations: 44.81 kB / 339 MB, free: 5.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3293, allocations: 31.92 kB / 339 MB, free: 5.867 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001321/0.3306, allocations: 1.515 MB / 340.5 MB, free: 4.211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.3307, allocations: 15.95 kB / 340.6 MB, free: 4.195 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3308, allocations: 4 kB / 340.6 MB, free: 4.191 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.0001298/0.3309, allocations: 133.8 kB / 340.7 MB, free: 4.051 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.3309, allocations: 15.81 kB / 340.7 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.476e-05/0.331, allocations: 33.52 kB / 340.7 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.331, allocations: 48 / 340.7 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.331, allocations: 3.984 kB / 340.7 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.331, allocations: 3.938 kB / 340.7 MB, free: 3.996 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.3313, allocations: 241.6 kB / 341 MB, free: 3.711 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3313, allocations: 3.984 kB / 341 MB, free: 3.707 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000272/0.3316, allocations: 55.91 kB / 341 MB, free: 3.652 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3316, allocations: 4 kB / 341 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3316, allocations: 4 kB / 341 MB, free: 3.645 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3317, allocations: 0 / 341 MB, free: 3.645 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3317, allocations: 4 kB / 341.1 MB, free: 3.641 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.3322, allocations: 415.1 kB / 341.5 MB, free: 3.219 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.3323, allocations: 88.92 kB / 341.5 MB, free: 3.113 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.3323, allocations: 0 / 341.5 MB, free: 3.113 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3325, allocations: 12.03 kB / 341.6 MB, free: 3.102 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.042e-05/0.3326, allocations: 11.92 kB / 341.6 MB, free: 3.09 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.3326, allocations: 4 kB / 341.6 MB, free: 3.086 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3328, allocations: 136.2 kB / 341.7 MB, free: 2.953 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3328, allocations: 3.938 kB / 341.7 MB, free: 2.949 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001797/0.3346, allocations: 0.5078 MB / 342.2 MB, free: 2.441 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.001215/0.3358, allocations: 0.5454 MB / 342.8 MB, free: 1.887 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007849/0.3366, allocations: 405.8 kB / 343.2 MB, free: 1.465 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3366, allocations: 0 / 343.2 MB, free: 1.465 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3368, allocations: 91.89 kB / 343.2 MB, free: 1.375 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.3371, allocations: 31.97 kB / 343.3 MB, free: 1.344 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007942/0.3379, allocations: 407 kB / 343.7 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.3384, allocations: 0.728 MB / 344.4 MB, free: 172 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.26e-05/0.3385, allocations: 37.05 kB / 344.4 MB, free: 136 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.3385, allocations: 19.38 kB / 344.5 MB, free: 116 kB / 270.1 MB Notification: Performance of SimCode: time 4e-07/0.3386, allocations: 0 / 344.5 MB, free: 116 kB / 270.1 MB Notification: Performance of Templates: time 0.01712/0.3557, allocations: 7.884 MB / 352.3 MB, free: 8.215 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)