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.001113/0.001119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001315/0.001315, allocations: 189.5 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 1.616/1.616, allocations: 205.1 MB / 222.1 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.001448/0.001448, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3119, allocations: 46.63 MB / 324.8 MB, free: 2.043 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002894/0.3148, allocations: 1.65 MB / 326.5 MB, free: 0.7422 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.004976/0.3198, allocations: 3.268 MB / 329.8 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.32, allocations: 1 kB / 329.8 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003713/0.3204, allocations: 53.77 kB / 329.8 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.175e-05/0.3205, allocations: 10.02 kB / 329.8 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.3248, allocations: 1.277 MB / 331.1 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003162/0.3251, allocations: 147.9 kB / 331.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.3253, allocations: 28.2 kB / 331.3 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.3254, allocations: 59.92 kB / 331.3 MB, free: 13.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.3256, allocations: 53.42 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.3256, allocations: 8.156 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.3278, allocations: 1.381 MB / 332.8 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.3279, allocations: 43.83 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.877e-05/0.328, allocations: 47.67 kB / 332.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.3292, allocations: 1.189 MB / 334 MB, free: 10.99 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3292, allocations: 8 kB / 334.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3292, allocations: 0 / 334.1 MB, free: 10.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.3292, allocations: 0 / 334.1 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.0009867/0.3302, allocations: 0.5575 MB / 334.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3303, allocations: 12.03 kB / 334.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.039e-05/0.3303, allocations: 12.75 kB / 334.6 MB, free: 10.35 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.3306, allocations: 220 kB / 334.8 MB, free: 10.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3306, allocations: 8.375 kB / 334.9 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.3307, allocations: 12.38 kB / 334.9 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.3309, allocations: 128.9 kB / 335 MB, free: 9.934 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3309, allocations: 4 kB / 335 MB, free: 9.93 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.331, allocations: 0 / 335 MB, free: 9.93 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.331, allocations: 0 / 335 MB, free: 9.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.3311, allocations: 59.95 kB / 335.1 MB, free: 9.871 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006317/0.3318, allocations: 376.6 kB / 335.4 MB, free: 9.453 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.3321, allocations: 130.5 kB / 335.6 MB, free: 9.316 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.3322, allocations: 36.84 kB / 335.6 MB, free: 9.277 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.3323, allocations: 4 kB / 335.6 MB, free: 9.273 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.3323, allocations: 34.56 kB / 335.6 MB, free: 9.23 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.3323, allocations: 0 / 335.6 MB, free: 9.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002237/0.3345, allocations: 1.23 MB / 336.9 MB, free: 7.867 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.3347, allocations: 140.4 kB / 337 MB, free: 7.699 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.3348, allocations: 178.4 kB / 337.2 MB, free: 7.516 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3349, allocations: 25.7 kB / 337.2 MB, free: 7.484 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.335, allocations: 112.5 kB / 337.3 MB, free: 7.367 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.967e-05/0.335, allocations: 51.2 kB / 337.4 MB, free: 7.316 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.3351, allocations: 49.7 kB / 337.4 MB, free: 7.262 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3353, allocations: 322.8 kB / 337.7 MB, free: 6.938 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.3354, allocations: 95.94 kB / 337.8 MB, free: 6.844 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.3356, allocations: 135.4 kB / 337.9 MB, free: 6.699 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000319/0.336, allocations: 204.9 kB / 338.1 MB, free: 6.496 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.336, allocations: 0 / 338.1 MB, free: 6.496 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005541/0.3365, allocations: 306 kB / 338.4 MB, free: 6.188 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3366, allocations: 4 kB / 338.4 MB, free: 6.184 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.3366, allocations: 0 / 338.4 MB, free: 6.184 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002075/0.3368, allocations: 52.84 kB / 338.5 MB, free: 6.129 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.337, allocations: 27.98 kB / 338.5 MB, free: 6.102 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.3383, allocations: 1.515 MB / 340 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.387e-05/0.3384, allocations: 15.95 kB / 340.1 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3385, allocations: 4 kB / 340.1 MB, free: 4.426 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.0001684/0.3386, allocations: 141.9 kB / 340.2 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.3387, allocations: 11.81 kB / 340.2 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.399e-05/0.3387, allocations: 25.53 kB / 340.2 MB, free: 4.242 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3387, allocations: 11.92 kB / 340.2 MB, free: 4.23 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3388, allocations: 0 / 340.2 MB, free: 4.23 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.3388, allocations: 3.938 kB / 340.2 MB, free: 4.227 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.339, allocations: 241.6 kB / 340.5 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.339, allocations: 0 / 340.5 MB, free: 3.941 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.3393, allocations: 51.95 kB / 340.5 MB, free: 3.891 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3393, allocations: 4 kB / 340.5 MB, free: 3.887 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3394, allocations: 8.656 kB / 340.5 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3394, allocations: 0 / 340.5 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3394, allocations: 0 / 340.5 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.3399, allocations: 415 kB / 341 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.693e-05/0.34, allocations: 88.92 kB / 341 MB, free: 3.352 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.34, allocations: 4 kB / 341 MB, free: 3.348 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.3401, allocations: 12.03 kB / 341.1 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3402, allocations: 19.86 kB / 341.1 MB, free: 3.316 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.387e-06/0.3402, allocations: 4 kB / 341.1 MB, free: 3.312 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.877e-05/0.3403, allocations: 119.2 kB / 341.2 MB, free: 3.195 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3403, allocations: 0 / 341.2 MB, free: 3.195 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.001655/0.3419, allocations: 0.5156 MB / 341.7 MB, free: 2.68 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.001049/0.343, allocations: 0.5492 MB / 342.3 MB, free: 2.121 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006968/0.3437, allocations: 405.8 kB / 342.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3437, allocations: 0 / 342.7 MB, free: 1.699 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.3439, allocations: 83.89 kB / 342.7 MB, free: 1.617 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3442, allocations: 36.72 kB / 342.8 MB, free: 1.582 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.3451, allocations: 462.9 kB / 343.2 MB, free: 1.105 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.3455, allocations: 0.7319 MB / 344 MB, free: 356 kB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3456, allocations: 29.06 kB / 344 MB, free: 328 kB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.3456, allocations: 19.42 kB / 344 MB, free: 308 kB / 270.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3456, allocations: 3.938 kB / 344 MB, free: 304 kB / 270.1 MB Notification: Performance of Templates: time 0.01871/0.3644, allocations: 7.849 MB / 351.9 MB, free: 8.434 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)