Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Blocks.Examples.Filter.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.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.00137/0.00137, allocations: 168.7 kB / 15.95 MB, free: 204 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.391/1.391, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004252/0.0004252, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2451, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001878/0.247, allocations: 1.634 MB / 328.1 MB, free: 104 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006283/0.2533, allocations: 3.585 MB / 331.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002683/0.2536, allocations: 11.03 kB / 331.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.2542, allocations: 150.2 kB / 331.8 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2543, allocations: 38.05 kB / 331.9 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005164/0.2595, allocations: 1.498 MB / 333.4 MB, free: 12.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006614/0.2602, allocations: 437.4 kB / 333.8 MB, free: 12.14 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.2603, allocations: 38.12 kB / 333.8 MB, free: 12.11 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.2605, allocations: 163.4 kB / 334 MB, free: 11.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.2608, allocations: 151.2 kB / 334.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.2608, allocations: 12 kB / 334.2 MB, free: 11.79 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.2634, allocations: 1.409 MB / 335.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.2636, allocations: 111.6 kB / 335.7 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.2637, allocations: 73.52 kB / 335.8 MB, free: 10.19 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.2653, allocations: 1.501 MB / 337.3 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.2653, allocations: 0 / 337.3 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2653, allocations: 0 / 337.3 MB, free: 8.684 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.2653, allocations: 0 / 337.3 MB, free: 8.684 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001468/0.2668, allocations: 0.8373 MB / 338.1 MB, free: 7.797 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.2669, allocations: 12.02 kB / 338.1 MB, free: 7.785 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.216e-05/0.267, allocations: 47.44 kB / 338.1 MB, free: 7.738 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.2674, allocations: 333.2 kB / 338.5 MB, free: 7.371 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.2674, allocations: 16.23 kB / 338.5 MB, free: 7.355 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.111e-05/0.2675, allocations: 27.91 kB / 338.5 MB, free: 7.328 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004568/0.268, allocations: 315 kB / 338.8 MB, free: 6.977 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.268, allocations: 0 / 338.8 MB, free: 6.977 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.268, allocations: 12 kB / 338.8 MB, free: 6.965 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.268, allocations: 7.984 kB / 338.8 MB, free: 6.957 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.2683, allocations: 147.8 kB / 339 MB, free: 6.812 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.2694, allocations: 0.672 MB / 339.7 MB, free: 6.09 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.2701, allocations: 323.2 kB / 340 MB, free: 5.766 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.2702, allocations: 109.2 kB / 340.1 MB, free: 5.656 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2703, allocations: 192 / 340.1 MB, free: 5.656 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.2703, allocations: 38.75 kB / 340.1 MB, free: 5.609 MB / 270.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.2703, allocations: 0 / 340.1 MB, free: 5.609 MB / 270.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007909/0.2711, allocations: 398.6 kB / 340.5 MB, free: 5.215 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.2713, allocations: 367.8 kB / 340.9 MB, free: 4.77 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004111/0.2717, allocations: 401.8 kB / 341.3 MB, free: 4.371 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/0.2718, allocations: 37.7 kB / 341.3 MB, free: 4.328 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.2719, allocations: 196.7 kB / 341.5 MB, free: 4.133 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.272, allocations: 82.81 kB / 341.6 MB, free: 4.051 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.272, allocations: 4 kB / 341.6 MB, free: 4.047 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.2722, allocations: 362.8 kB / 341.9 MB, free: 3.684 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.2725, allocations: 204.2 kB / 342.1 MB, free: 3.484 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.2729, allocations: 314.4 kB / 342.4 MB, free: 3.137 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.2733, allocations: 257.5 kB / 342.7 MB, free: 2.887 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2733, allocations: 0 / 342.7 MB, free: 2.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001051/0.2743, allocations: 0.6498 MB / 343.3 MB, free: 2.219 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2744, allocations: 4 kB / 343.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.2744, allocations: 11.98 kB / 343.4 MB, free: 2.203 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004138/0.2748, allocations: 122.5 kB / 343.5 MB, free: 2.074 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.2751, allocations: 67.89 kB / 343.5 MB, free: 2.008 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.2782, allocations: 4.216 MB / 347.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.2784, allocations: 55.45 kB / 347.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.2785, allocations: 8.156 kB / 347.8 MB, free: 13.33 MB / 286.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.2787, allocations: 185.7 kB / 348 MB, free: 13.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.2788, allocations: 35.53 kB / 348 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.903e-05/0.2789, allocations: 43.75 kB / 348.1 MB, free: 13.06 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2789, allocations: 4 kB / 348.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.2789, allocations: 0 / 348.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2789, allocations: 3.953 kB / 348.1 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.2793, allocations: 349.3 kB / 348.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2793, allocations: 4 kB / 348.4 MB, free: 12.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002654/0.2796, allocations: 47.91 kB / 348.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2796, allocations: 0 / 348.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.2796, allocations: 8 kB / 348.5 MB, free: 12.6 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2796, allocations: 8 kB / 348.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2796, allocations: 0 / 348.5 MB, free: 12.59 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006303/0.2803, allocations: 0.5103 MB / 349 MB, free: 12.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.874e-05/0.2804, allocations: 112.5 kB / 349.1 MB, free: 11.94 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.2804, allocations: 23.92 kB / 349.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.2806, allocations: 15.98 kB / 349.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.2806, allocations: 7.984 kB / 349.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.2806, allocations: 4 kB / 349.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.2809, allocations: 275.1 kB / 349.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2809, allocations: 0 / 349.4 MB, free: 11.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001821/0.2827, allocations: 0.6524 MB / 350.1 MB, free: 10.97 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.001238/0.284, allocations: 0.6718 MB / 350.8 MB, free: 10.29 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001195/0.2852, allocations: 0.9566 MB / 351.7 MB, free: 9.242 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.2852, allocations: 4 kB / 351.7 MB, free: 9.238 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.2854, allocations: 119.9 kB / 351.8 MB, free: 9.121 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.286, allocations: 94.8 kB / 351.9 MB, free: 9.031 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.2873, allocations: 0.9987 MB / 352.9 MB, free: 8.008 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.2877, allocations: 0.8419 MB / 353.8 MB, free: 7.137 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.2879, allocations: 70.92 kB / 353.8 MB, free: 7.066 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.288, allocations: 27.44 kB / 353.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.288, allocations: 0 / 353.9 MB, free: 7.039 MB / 286.1 MB Notification: Performance of Templates: time 0.02029/0.3083, allocations: 12.46 MB / 366.3 MB, free: 10.56 MB / 302.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.Filter.pipe 2>&1)