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.001168/0.001168, allocations: 107.5 kB / 16.62 MB, free: 6.812 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.001126/0.001126, allocations: 193.9 kB / 17.55 MB, free: 5.953 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.596/1.596, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.00157/0.00157, allocations: 55.92 kB / 279.5 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1205, allocations: 46.63 MB / 326.1 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003959/0.1245, allocations: 2.044 MB / 328.2 MB, free: 2.746 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006399/0.1309, allocations: 3.77 MB / 331.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.1312, allocations: 11.88 kB / 332 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.1318, allocations: 163.3 kB / 332.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.1319, allocations: 35.66 kB / 332.1 MB, free: 14.75 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.1369, allocations: 1.768 MB / 333.9 MB, free: 12.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006756/0.1376, allocations: 0.4948 MB / 334.4 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1378, allocations: 45 kB / 334.5 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.138, allocations: 175.4 kB / 334.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1382, allocations: 175.1 kB / 334.8 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.24e-05/0.1382, allocations: 28 kB / 334.8 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.1407, allocations: 1.741 MB / 336.6 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.1409, allocations: 115.7 kB / 336.7 MB, free: 10.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1411, allocations: 166.9 kB / 336.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.1429, allocations: 1.754 MB / 338.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1429, allocations: 0 / 338.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.143, allocations: 0 / 338.6 MB, free: 8.297 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.143, allocations: 0 / 338.6 MB, free: 8.297 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.001695/0.1447, allocations: 0.8958 MB / 339.5 MB, free: 7.352 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1447, allocations: 8.031 kB / 339.5 MB, free: 7.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.937e-05/0.1448, allocations: 48.38 kB / 339.5 MB, free: 7.297 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.1452, allocations: 350.2 kB / 339.9 MB, free: 6.914 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1453, allocations: 12.66 kB / 339.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/0.1453, allocations: 28.38 kB / 339.9 MB, free: 6.875 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.1457, allocations: 315 kB / 340.2 MB, free: 6.523 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1457, allocations: 3.984 kB / 340.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.1458, allocations: 12 kB / 340.2 MB, free: 6.508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1458, allocations: 7.938 kB / 340.3 MB, free: 6.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.146, allocations: 143.8 kB / 340.4 MB, free: 6.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1471, allocations: 0.6717 MB / 341.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005826/0.1477, allocations: 318.5 kB / 341.4 MB, free: 5.316 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001652/0.1478, allocations: 116.8 kB / 341.5 MB, free: 5.199 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.1479, allocations: 3.938 kB / 341.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1479, allocations: 38.56 kB / 341.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.1479, allocations: 0 / 341.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007013/0.1486, allocations: 376.9 kB / 341.9 MB, free: 4.773 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.1488, allocations: 372 kB / 342.3 MB, free: 4.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.1492, allocations: 409.8 kB / 342.7 MB, free: 3.918 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.1493, allocations: 37.7 kB / 342.7 MB, free: 3.875 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.1494, allocations: 192.8 kB / 342.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.1495, allocations: 86.8 kB / 343 MB, free: 3.598 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.1496, allocations: 101.5 kB / 343.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1498, allocations: 358.7 kB / 343.4 MB, free: 3.133 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.1501, allocations: 200.4 kB / 343.6 MB, free: 2.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.1506, allocations: 322.4 kB / 343.9 MB, free: 2.582 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005889/0.1512, allocations: 393.6 kB / 344.3 MB, free: 2.195 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1512, allocations: 4 kB / 344.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001161/0.1524, allocations: 0.6535 MB / 345 MB, free: 1.52 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1524, allocations: 7.984 kB / 345 MB, free: 1.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.1524, allocations: 4 kB / 345 MB, free: 1.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004236/0.1529, allocations: 130.4 kB / 345.1 MB, free: 1.371 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002711/0.1531, allocations: 71.84 kB / 345.2 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/0.1571, allocations: 4.558 MB / 349.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.1573, allocations: 47.62 kB / 349.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.1574, allocations: 11.98 kB / 349.8 MB, free: 12.26 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.0002161/0.1576, allocations: 177.7 kB / 350 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.1577, allocations: 39.53 kB / 350 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.1577, allocations: 43.75 kB / 350.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.1577, allocations: 4 kB / 350.1 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1578, allocations: 11.94 kB / 350.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1578, allocations: 3.984 kB / 350.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.1581, allocations: 341.3 kB / 350.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1581, allocations: 0 / 350.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/0.1584, allocations: 43.91 kB / 350.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1584, allocations: 0 / 350.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.1585, allocations: 12 kB / 350.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1585, allocations: 3.938 kB / 350.5 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1585, allocations: 3.984 kB / 350.5 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.1591, allocations: 0.4987 MB / 351 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.1592, allocations: 116.5 kB / 351.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.1592, allocations: 19.94 kB / 351.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.1594, allocations: 7.984 kB / 351.1 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.1594, allocations: 15.98 kB / 351.1 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.1595, allocations: 7.984 kB / 351.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.1597, allocations: 275.1 kB / 351.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1597, allocations: 4.109 kB / 351.4 MB, free: 10.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001912/0.1616, allocations: 0.6523 MB / 352.1 MB, free: 9.91 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.001282/0.1629, allocations: 0.6663 MB / 352.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001352/0.1643, allocations: 0.9851 MB / 353.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1643, allocations: 0 / 353.7 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.1645, allocations: 120.8 kB / 353.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.1651, allocations: 117.1 kB / 353.9 MB, free: 7.938 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.1666, allocations: 1.005 MB / 355 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.167, allocations: 0.8419 MB / 355.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.1672, allocations: 70.88 kB / 355.9 MB, free: 5.965 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.1673, allocations: 27.44 kB / 355.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1673, allocations: 0 / 355.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of Templates: time 0.02436/0.1917, allocations: 12.82 MB / 368.7 MB, free: 9.098 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)