Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0009392/0.0009394, allocations: 91.86 kB / 16.65 MB, free: 6.59 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.0008649/0.000865, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.857/1.857, allocations: 205.4 MB / 223.7 MB, free: 13.09 MB / 190.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.0004916/0.0004917, allocations: 11.98 kB / 280.7 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1176, allocations: 47.58 MB / 328.3 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002472/0.1201, allocations: 1.689 MB / 330 MB, free: 2.062 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00716/0.1273, allocations: 4.036 MB / 334 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1275, allocations: 11.88 kB / 334 MB, free: 14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.1281, allocations: 163.3 kB / 334.2 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.1282, allocations: 35.66 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004365/0.1326, allocations: 1.563 MB / 335.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.1332, allocations: 466.7 kB / 336.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1333, allocations: 41.09 kB / 336.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.1335, allocations: 163.3 kB / 336.5 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1337, allocations: 159.2 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.1338, allocations: 12 kB / 336.6 MB, free: 11.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.1364, allocations: 1.717 MB / 338.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1366, allocations: 103.6 kB / 338.4 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1367, allocations: 180.6 kB / 338.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.1386, allocations: 1.738 MB / 340.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1386, allocations: 0 / 340.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1386, allocations: 0 / 340.4 MB, free: 7.672 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1387, allocations: 0 / 340.4 MB, free: 7.672 MB / 286.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.001535/0.1402, allocations: 0.8297 MB / 341.2 MB, free: 6.793 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1403, allocations: 8.031 kB / 341.2 MB, free: 6.785 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.1404, allocations: 48.38 kB / 341.2 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.1409, allocations: 346.2 kB / 341.6 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.1409, allocations: 16.66 kB / 341.6 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.141, allocations: 32.36 kB / 341.6 MB, free: 6.312 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.1415, allocations: 307 kB / 341.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.1415, allocations: 4 kB / 341.9 MB, free: 5.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.1415, allocations: 8 kB / 341.9 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1415, allocations: 7.984 kB / 342 MB, free: 5.949 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002912/0.1418, allocations: 155.8 kB / 342.1 MB, free: 5.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.1431, allocations: 0.6794 MB / 342.8 MB, free: 5.066 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.1437, allocations: 318.8 kB / 343.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.144, allocations: 112.8 kB / 343.2 MB, free: 4.633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.144, allocations: 3.938 kB / 343.2 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1441, allocations: 34.56 kB / 343.2 MB, free: 4.586 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.1441, allocations: 0 / 343.2 MB, free: 4.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007716/0.1448, allocations: 392.9 kB / 343.6 MB, free: 4.195 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.1451, allocations: 363.8 kB / 344 MB, free: 3.754 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.1455, allocations: 409.8 kB / 344.4 MB, free: 3.348 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.1456, allocations: 33.7 kB / 344.4 MB, free: 3.309 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1458, allocations: 196.7 kB / 344.6 MB, free: 3.113 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.346e-05/0.1459, allocations: 78.81 kB / 344.7 MB, free: 3.035 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.146, allocations: 61.69 kB / 344.7 MB, free: 2.969 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1462, allocations: 358.7 kB / 345.1 MB, free: 2.609 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.1466, allocations: 220.2 kB / 345.3 MB, free: 2.395 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.147, allocations: 314.3 kB / 345.6 MB, free: 2.047 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.1477, allocations: 405.6 kB / 346 MB, free: 1.648 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1477, allocations: 0 / 346 MB, free: 1.648 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001137/0.1488, allocations: 0.6537 MB / 346.7 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1488, allocations: 4 kB / 346.7 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.071e-05/0.1489, allocations: 15.98 kB / 346.7 MB, free: 0.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004194/0.1493, allocations: 126.4 kB / 346.8 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.1496, allocations: 63.97 kB / 346.9 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.1531, allocations: 4.227 MB / 351.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.1534, allocations: 51.48 kB / 351.1 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.1535, allocations: 15.94 kB / 351.2 MB, free: 12.07 MB / 302.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002386/0.1537, allocations: 173.9 kB / 351.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.1538, allocations: 51.31 kB / 351.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.525e-05/0.1539, allocations: 39.75 kB / 351.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1539, allocations: 4 kB / 351.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.1539, allocations: 0 / 351.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.1539, allocations: 0 / 351.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.1543, allocations: 349.3 kB / 351.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1544, allocations: 4 kB / 351.8 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.1546, allocations: 43.92 kB / 351.8 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1546, allocations: 4 kB / 351.8 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.1547, allocations: 15.98 kB / 351.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1547, allocations: 0 / 351.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1547, allocations: 0 / 351.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.1553, allocations: 0.5103 MB / 352.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1554, allocations: 112.6 kB / 352.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.1555, allocations: 15.98 kB / 352.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1556, allocations: 15.98 kB / 352.5 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.1557, allocations: 11.98 kB / 352.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1557, allocations: 8 kB / 352.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002662/0.156, allocations: 271.1 kB / 352.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.156, allocations: 0 / 352.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.002078/0.1581, allocations: 0.6523 MB / 353.4 MB, free: 9.715 MB / 302.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 (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.00138/0.1595, allocations: 0.6705 MB / 354.1 MB, free: 9.035 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.161, allocations: 0.9577 MB / 355.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.161, allocations: 0 / 355.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.1612, allocations: 124.8 kB / 355.2 MB, free: 7.871 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007174/0.1619, allocations: 102.6 kB / 355.3 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.1636, allocations: 1.061 MB / 356.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008899/0.1645, allocations: 0.8419 MB / 357.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002326/0.1648, allocations: 66.92 kB / 357.2 MB, free: 5.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1649, allocations: 27.44 kB / 357.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of SimCode: time 1.223e-06/0.1649, allocations: 0 / 357.3 MB, free: 5.723 MB / 302.1 MB Notification: Performance of Templates: time 0.02621/0.1911, allocations: 12.57 MB / 369.8 MB, free: 9.141 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.Filter.pipe 2>&1)