Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001444/0.001444, allocations: 110.6 kB / 16.63 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.001523/0.001523, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.624/1.624, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001771/0.001771, allocations: 47.94 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1233, allocations: 46.63 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.004031/0.1273, allocations: 1.67 MB / 327.8 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007022/0.1344, allocations: 3.255 MB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1346, allocations: 8 kB / 331.1 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.135, allocations: 43.77 kB / 331.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.1351, allocations: 7.922 kB / 331.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004739/0.1398, allocations: 1.279 MB / 332.4 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.1401, allocations: 143.7 kB / 332.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1402, allocations: 28.81 kB / 332.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.1403, allocations: 59.78 kB / 332.6 MB, free: 14.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.1404, allocations: 47.77 kB / 332.7 MB, free: 14.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.1405, allocations: 15.94 kB / 332.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001916/0.1424, allocations: 1.374 MB / 334 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.1425, allocations: 39.84 kB / 334.1 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.1425, allocations: 51.67 kB / 334.1 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.144, allocations: 1.189 MB / 335.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.144, allocations: 0 / 335.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.144, allocations: 3.938 kB / 335.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.144, allocations: 0 / 335.3 MB, free: 11.55 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001084/0.1451, allocations: 0.5691 MB / 335.9 MB, free: 10.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.982e-05/0.1451, allocations: 8.031 kB / 335.9 MB, free: 10.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.1452, allocations: 16.75 kB / 335.9 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1455, allocations: 212.1 kB / 336.1 MB, free: 10.67 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.1455, allocations: 8.375 kB / 336.1 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1456, allocations: 8.375 kB / 336.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1458, allocations: 130.1 kB / 336.3 MB, free: 10.51 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1459, allocations: 4 kB / 336.3 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.1459, allocations: 0 / 336.3 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.1459, allocations: 4 kB / 336.3 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1461, allocations: 55.89 kB / 336.3 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.1468, allocations: 388.5 kB / 336.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.1473, allocations: 130.5 kB / 336.8 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1474, allocations: 44.83 kB / 336.9 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1475, allocations: 3.984 kB / 336.9 MB, free: 9.828 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1475, allocations: 30.56 kB / 336.9 MB, free: 9.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1475, allocations: 4 kB / 336.9 MB, free: 9.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002933/0.1504, allocations: 1.222 MB / 338.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.269e-05/0.1506, allocations: 132.5 kB / 338.3 MB, free: 8.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1508, allocations: 170.4 kB / 338.4 MB, free: 8.098 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1508, allocations: 29.7 kB / 338.5 MB, free: 8.062 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.1509, allocations: 112.4 kB / 338.6 MB, free: 7.949 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.308e-05/0.151, allocations: 59.17 kB / 338.6 MB, free: 7.891 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.83e-05/0.1511, allocations: 41.7 kB / 338.7 MB, free: 7.844 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1513, allocations: 326.8 kB / 339 MB, free: 7.516 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.1515, allocations: 99.94 kB / 339.1 MB, free: 7.418 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/0.1518, allocations: 127.4 kB / 339.2 MB, free: 7.281 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004053/0.1522, allocations: 208.9 kB / 339.4 MB, free: 7.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1522, allocations: 0 / 339.4 MB, free: 7.074 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006693/0.1529, allocations: 302.2 kB / 339.7 MB, free: 6.77 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1529, allocations: 4 kB / 339.7 MB, free: 6.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.153, allocations: 11.97 kB / 339.7 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/0.1532, allocations: 36.83 kB / 339.8 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.1534, allocations: 35.92 kB / 339.8 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.1552, allocations: 1.519 MB / 341.3 MB, free: 5.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.1553, allocations: 15.97 kB / 341.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.1553, allocations: 11.92 kB / 341.4 MB, free: 4.992 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 (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.0001616/0.1555, allocations: 129.8 kB / 341.5 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/0.1556, allocations: 19.8 kB / 341.5 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.102e-05/0.1556, allocations: 21.53 kB / 341.5 MB, free: 4.816 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1557, allocations: 4.062 kB / 341.5 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1557, allocations: 0 / 341.5 MB, free: 4.812 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1557, allocations: 3.938 kB / 341.5 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.1561, allocations: 245.5 kB / 341.8 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1561, allocations: 4 kB / 341.8 MB, free: 4.516 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003746/0.1565, allocations: 55.91 kB / 341.8 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.1565, allocations: 0 / 341.8 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1566, allocations: 0 / 341.8 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1566, allocations: 3.984 kB / 341.8 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1566, allocations: 0 / 341.8 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008145/0.1574, allocations: 423.2 kB / 342.2 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.1575, allocations: 88.92 kB / 342.3 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1575, allocations: 3.938 kB / 342.3 MB, free: 3.918 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1577, allocations: 8 kB / 342.3 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/0.1578, allocations: 12.3 kB / 342.4 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.1578, allocations: 4 kB / 342.4 MB, free: 3.895 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.862e-05/0.1579, allocations: 135.2 kB / 342.5 MB, free: 3.762 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1579, allocations: 0 / 342.5 MB, free: 3.762 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001528/0.1594, allocations: 0.5116 MB / 343 MB, free: 3.25 MB / 286.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.001316/0.1607, allocations: 0.5534 MB / 343.6 MB, free: 2.688 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006855/0.1614, allocations: 397.9 kB / 343.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1615, allocations: 4 kB / 343.9 MB, free: 2.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1616, allocations: 95.88 kB / 344 MB, free: 2.176 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.162, allocations: 23.98 kB / 344.1 MB, free: 2.152 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.1626, allocations: 457.7 kB / 344.5 MB, free: 1.68 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.163, allocations: 0.7319 MB / 345.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.579e-05/0.1631, allocations: 29.06 kB / 345.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.1631, allocations: 19.44 kB / 345.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of SimCode: time 1.933e-06/0.1631, allocations: 0 / 345.3 MB, free: 0.875 MB / 286.1 MB Notification: Performance of Templates: time 0.01735/0.1805, allocations: 7.869 MB / 353.2 MB, free: 8.992 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)