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.001008/0.001008, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001139/0.001139, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.0005186/0.000519, allocations: 8 kB / 278.8 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.301, allocations: 47.59 MB / 326.4 MB, free: 1.289 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001551/0.3026, allocations: 1.291 MB / 327.7 MB, free: 272 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.3073, allocations: 3.045 MB / 330.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.3075, allocations: 4.938 kB / 330.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.3078, allocations: 60.22 kB / 330.8 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.72e-05/0.3079, allocations: 10.05 kB / 330.8 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003478/0.3114, allocations: 0.9686 MB / 331.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.3116, allocations: 95.5 kB / 331.9 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3117, allocations: 30.67 kB / 331.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.3118, allocations: 51.92 kB / 332 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.175e-05/0.3119, allocations: 40.41 kB / 332 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.3119, allocations: 4.281 kB / 332 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.3134, allocations: 1.058 MB / 333.1 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.3135, allocations: 31.89 kB / 333.1 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.947e-05/0.3135, allocations: 37.64 kB / 333.2 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009556/0.3145, allocations: 1.084 MB / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.3145, allocations: 0 / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3145, allocations: 0 / 334.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3145, allocations: 4 kB / 334.2 MB, free: 11.57 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.0008217/0.3153, allocations: 0.5418 MB / 334.8 MB, free: 10.98 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.3154, allocations: 11.97 kB / 334.8 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3154, allocations: 15.81 kB / 334.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.3156, allocations: 206.8 kB / 335 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3157, allocations: 11.95 kB / 335 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.3157, allocations: 19.94 kB / 335 MB, free: 10.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.3159, allocations: 121 kB / 335.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.316, allocations: 0 / 335.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.316, allocations: 7.984 kB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.316, allocations: 4 kB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.3162, allocations: 63.95 kB / 335.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005508/0.3167, allocations: 380.4 kB / 335.6 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.3171, allocations: 130.6 kB / 335.7 MB, free: 9.906 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.3171, allocations: 0 / 335.7 MB, free: 9.906 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3171, allocations: 34.56 kB / 335.8 MB, free: 9.863 MB / 270.1 MB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.3171, allocations: 0 / 335.8 MB, free: 9.863 MB / 270.1 MB Notification: Performance of matching and sorting (n=15): time 0.00206/0.3192, allocations: 1.235 MB / 337 MB, free: 8.496 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.944e-05/0.3193, allocations: 132.5 kB / 337.1 MB, free: 8.336 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3194, allocations: 170.4 kB / 337.3 MB, free: 8.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3195, allocations: 33.7 kB / 337.3 MB, free: 8.121 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.3196, allocations: 104.5 kB / 337.4 MB, free: 8.012 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.3196, allocations: 63.09 kB / 337.5 MB, free: 7.949 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.3197, allocations: 4 kB / 337.5 MB, free: 7.945 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3198, allocations: 326.8 kB / 337.8 MB, free: 7.617 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.32, allocations: 99.94 kB / 337.9 MB, free: 7.52 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.3202, allocations: 131.4 kB / 338 MB, free: 7.379 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.3204, allocations: 116 kB / 338.2 MB, free: 7.266 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3204, allocations: 4 kB / 338.2 MB, free: 7.262 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000525/0.3209, allocations: 306.2 kB / 338.5 MB, free: 6.953 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.321, allocations: 4 kB / 338.5 MB, free: 6.949 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.321, allocations: 7.984 kB / 338.5 MB, free: 6.941 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000202/0.3212, allocations: 40.83 kB / 338.5 MB, free: 6.898 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.3214, allocations: 31.97 kB / 338.5 MB, free: 6.867 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.3225, allocations: 1.413 MB / 340 MB, free: 5.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.295e-05/0.3226, allocations: 16.28 kB / 340 MB, free: 5.305 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.3227, allocations: 4 kB / 340 MB, free: 5.301 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.3228, allocations: 141.7 kB / 340.1 MB, free: 5.152 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.3228, allocations: 11.81 kB / 340.1 MB, free: 5.141 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.3229, allocations: 25.52 kB / 340.2 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3229, allocations: 0 / 340.2 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3229, allocations: 4 kB / 340.2 MB, free: 5.113 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3229, allocations: 4.047 kB / 340.2 MB, free: 5.109 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.3231, allocations: 257.5 kB / 340.4 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3232, allocations: 0 / 340.4 MB, free: 4.809 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.3234, allocations: 51.97 kB / 340.5 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3234, allocations: 0 / 340.5 MB, free: 4.758 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.3235, allocations: 4 kB / 340.5 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3235, allocations: 0 / 340.5 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3235, allocations: 3.938 kB / 340.5 MB, free: 4.75 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004833/0.324, allocations: 427.2 kB / 340.9 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.323e-05/0.324, allocations: 88.92 kB / 341 MB, free: 4.211 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.324, allocations: 4.031 kB / 341 MB, free: 4.207 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.3242, allocations: 8.375 kB / 341 MB, free: 4.199 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3242, allocations: 7.984 kB / 341 MB, free: 4.191 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.3242, allocations: 4 kB / 341 MB, free: 4.188 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.745e-05/0.3243, allocations: 123.2 kB / 341.1 MB, free: 4.066 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3243, allocations: 11.88 kB / 341.1 MB, free: 4.055 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.00159/0.3259, allocations: 0.5117 MB / 341.6 MB, free: 3.543 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.327, allocations: 0.549 MB / 342.2 MB, free: 2.984 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006593/0.3276, allocations: 394 kB / 342.6 MB, free: 2.574 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3277, allocations: 0 / 342.6 MB, free: 2.574 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.3278, allocations: 91.89 kB / 342.7 MB, free: 2.484 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.3281, allocations: 24.62 kB / 342.7 MB, free: 2.461 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.3287, allocations: 444.7 kB / 343.1 MB, free: 2 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.329, allocations: 0.7324 MB / 343.9 MB, free: 1.242 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 8.286e-05/0.3291, allocations: 41.05 kB / 343.9 MB, free: 1.203 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/0.3291, allocations: 15.44 kB / 343.9 MB, free: 1.188 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3291, allocations: 0 / 343.9 MB, free: 1.188 MB / 270.1 MB Notification: Performance of Templates: time 0.0154/0.3445, allocations: 7.736 MB / 351.6 MB, free: 9.438 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: