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.0007925/0.0007928, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006014/0.006015, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.594/1.594, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.0004538/0.0004538, allocations: 8 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2809, allocations: 47.59 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001774/0.2827, allocations: 1.324 MB / 328.3 MB, free: 372 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006131/0.2889, allocations: 3.53 MB / 331.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2891, allocations: 2.281 kB / 331.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.2894, allocations: 52.41 kB / 331.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.505e-05/0.2895, allocations: 5.969 kB / 331.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003875/0.2934, allocations: 1.065 MB / 333 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.2937, allocations: 134.7 kB / 333.1 MB, free: 13.19 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2938, allocations: 27.19 kB / 333.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.294, allocations: 54.44 kB / 333.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.2941, allocations: 40.44 kB / 333.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.2941, allocations: 3.531 kB / 333.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.2961, allocations: 1.379 MB / 334.6 MB, free: 11.75 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.2962, allocations: 31.86 kB / 334.7 MB, free: 11.72 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.824e-05/0.2963, allocations: 69.38 kB / 334.7 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.2976, allocations: 1.189 MB / 335.9 MB, free: 10.46 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.2976, allocations: 0 / 335.9 MB, free: 10.46 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.065e-06/0.2976, allocations: 0 / 335.9 MB, free: 10.46 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.2976, allocations: 0 / 335.9 MB, free: 10.46 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.001153/0.2988, allocations: 0.542 MB / 336.5 MB, free: 9.867 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2988, allocations: 11.97 kB / 336.5 MB, free: 9.855 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.2989, allocations: 16.75 kB / 336.5 MB, free: 9.84 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000277/0.2992, allocations: 216 kB / 336.7 MB, free: 9.59 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2992, allocations: 8.375 kB / 336.7 MB, free: 9.582 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.854e-05/0.2992, allocations: 12.38 kB / 336.7 MB, free: 9.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.2995, allocations: 129 kB / 336.8 MB, free: 9.426 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/0.2995, allocations: 11.92 kB / 336.9 MB, free: 9.414 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.2996, allocations: 8 kB / 336.9 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2996, allocations: 0 / 336.9 MB, free: 9.406 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.2997, allocations: 59.95 kB / 336.9 MB, free: 9.348 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.3003, allocations: 380.5 kB / 337.3 MB, free: 8.926 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003636/0.3007, allocations: 130.5 kB / 337.4 MB, free: 8.789 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.16e-05/0.3008, allocations: 52.77 kB / 337.5 MB, free: 8.734 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.3008, allocations: 0 / 337.5 MB, free: 8.734 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3009, allocations: 34.56 kB / 337.5 MB, free: 8.691 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.3009, allocations: 0 / 337.5 MB, free: 8.691 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.002224/0.3031, allocations: 1.226 MB / 338.7 MB, free: 7.332 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3032, allocations: 132.5 kB / 338.9 MB, free: 7.172 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.3034, allocations: 182.2 kB / 339 MB, free: 6.984 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.3034, allocations: 25.7 kB / 339.1 MB, free: 6.953 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.3035, allocations: 108.5 kB / 339.2 MB, free: 6.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.41e-05/0.3036, allocations: 55.2 kB / 339.2 MB, free: 6.785 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.3037, allocations: 25.7 kB / 339.2 MB, free: 6.754 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3038, allocations: 334.8 kB / 339.6 MB, free: 6.418 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.304, allocations: 95.95 kB / 339.7 MB, free: 6.324 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.3044, allocations: 131.4 kB / 339.8 MB, free: 6.184 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.3047, allocations: 210.2 kB / 340 MB, free: 5.977 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3048, allocations: 0 / 340 MB, free: 5.977 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005935/0.3054, allocations: 314 kB / 340.3 MB, free: 5.66 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3054, allocations: 7.984 kB / 340.3 MB, free: 5.652 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.3054, allocations: 4 kB / 340.3 MB, free: 5.648 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002275/0.3056, allocations: 44.86 kB / 340.4 MB, free: 5.602 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.3058, allocations: 31.97 kB / 340.4 MB, free: 5.57 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.3074, allocations: 1.401 MB / 341.8 MB, free: 4.035 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.038e-05/0.3075, allocations: 12.17 kB / 341.8 MB, free: 4.023 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.3075, allocations: 8 kB / 341.8 MB, free: 4.016 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.0001882/0.3077, allocations: 141.7 kB / 342 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3078, allocations: 15.81 kB / 342 MB, free: 3.852 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.589e-05/0.3078, allocations: 21.53 kB / 342 MB, free: 3.832 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3079, allocations: 3.938 kB / 342 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3079, allocations: 0 / 342 MB, free: 3.828 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3079, allocations: 7.938 kB / 342 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.3082, allocations: 249.5 kB / 342.2 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.3082, allocations: 0 / 342.2 MB, free: 3.527 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002751/0.3085, allocations: 55.97 kB / 342.3 MB, free: 3.473 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3085, allocations: 3.984 kB / 342.3 MB, free: 3.469 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.3086, allocations: 0 / 342.3 MB, free: 3.469 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3086, allocations: 0 / 342.3 MB, free: 3.469 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.807e-05/0.3086, allocations: 8 kB / 342.3 MB, free: 3.461 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/0.3092, allocations: 427 kB / 342.7 MB, free: 3.027 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.3093, allocations: 88.92 kB / 342.8 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3094, allocations: 0 / 342.8 MB, free: 2.922 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3095, allocations: 8 kB / 342.8 MB, free: 2.914 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.3095, allocations: 8.031 kB / 342.8 MB, free: 2.906 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3096, allocations: 4 kB / 342.8 MB, free: 2.902 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3097, allocations: 127.2 kB / 343 MB, free: 2.777 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3097, allocations: 0 / 343 MB, free: 2.777 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.002267/0.312, allocations: 0.5156 MB / 343.5 MB, free: 2.262 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.001346/0.3133, allocations: 0.5491 MB / 344 MB, free: 1.703 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.3142, allocations: 393.9 kB / 344.4 MB, free: 1.293 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3142, allocations: 4 kB / 344.4 MB, free: 1.289 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.3144, allocations: 87.88 kB / 344.5 MB, free: 1.203 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000376/0.3148, allocations: 24.67 kB / 344.5 MB, free: 1.18 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.3157, allocations: 464.6 kB / 345 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.3162, allocations: 0.7322 MB / 345.7 MB, free: 15.94 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.963e-05/0.3163, allocations: 33 kB / 345.7 MB, free: 15.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.3163, allocations: 15.44 kB / 345.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3164, allocations: 3.938 kB / 345.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of Templates: time 0.01709/0.3334, allocations: 7.755 MB / 353.5 MB, free: 8.121 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)