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.0009188/0.0009192, allocations: 90.73 kB / 16.31 MB, free: 5.539 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.001185/0.001185, allocations: 184.5 kB / 17.21 MB, free: 5.457 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.572/1.572, allocations: 205.4 MB / 223.4 MB, free: 13.15 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.0007574/0.0007575, allocations: 19.42 kB / 280.1 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1262, allocations: 47.56 MB / 327.7 MB, free: 4.09 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.001739/0.128, allocations: 1.296 MB / 329 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004901/0.1329, allocations: 3.079 MB / 332.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.1331, allocations: 0 / 332.1 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002786/0.1334, allocations: 43.77 kB / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.1334, allocations: 7.922 kB / 332.1 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.1363, allocations: 1.056 MB / 333.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.1366, allocations: 123.7 kB / 333.3 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1367, allocations: 28.81 kB / 333.3 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.096e-05/0.1368, allocations: 43.86 kB / 333.4 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.944e-05/0.1369, allocations: 51.77 kB / 333.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.1369, allocations: 4 kB / 333.4 MB, free: 14.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001497/0.1384, allocations: 1.097 MB / 334.5 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.1385, allocations: 35.89 kB / 334.6 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.1385, allocations: 37.64 kB / 334.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.1396, allocations: 1.08 MB / 335.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1396, allocations: 0 / 335.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1397, allocations: 0 / 335.7 MB, free: 12.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1397, allocations: 0 / 335.7 MB, free: 12.08 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.001012/0.1407, allocations: 0.5495 MB / 336.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1407, allocations: 8.031 kB / 336.2 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.1408, allocations: 15.81 kB / 336.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1411, allocations: 206.9 kB / 336.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1411, allocations: 11.95 kB / 336.5 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.1411, allocations: 12 kB / 336.5 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1414, allocations: 125 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.1414, allocations: 0 / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.1414, allocations: 4 kB / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1414, allocations: 0 / 336.6 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.1416, allocations: 59.95 kB / 336.7 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.1422, allocations: 388.4 kB / 337 MB, free: 10.56 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.1426, allocations: 126.5 kB / 337.2 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.86e-05/0.1427, allocations: 52.83 kB / 337.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1427, allocations: 0 / 337.2 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.1427, allocations: 34.69 kB / 337.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 3.817e-06/0.1427, allocations: 0 / 337.3 MB, free: 10.33 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.002128/0.1449, allocations: 1.234 MB / 338.5 MB, free: 8.961 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.1449, allocations: 132.5 kB / 338.6 MB, free: 8.801 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1451, allocations: 174.3 kB / 338.8 MB, free: 8.621 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.1451, allocations: 29.7 kB / 338.8 MB, free: 8.586 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.1452, allocations: 112.4 kB / 338.9 MB, free: 8.473 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.1453, allocations: 47.27 kB / 339 MB, free: 8.426 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.1453, allocations: 9.219 kB / 339 MB, free: 8.418 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1454, allocations: 330.8 kB / 339.3 MB, free: 8.086 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1456, allocations: 91.95 kB / 339.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.1458, allocations: 135.4 kB / 339.5 MB, free: 7.852 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.146, allocations: 116.1 kB / 339.6 MB, free: 7.738 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.146, allocations: 0 / 339.6 MB, free: 7.738 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000542/0.1466, allocations: 310.1 kB / 339.9 MB, free: 7.426 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1466, allocations: 8 kB / 340 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.1466, allocations: 0 / 340 MB, free: 7.418 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001744/0.1468, allocations: 48.75 kB / 340 MB, free: 7.367 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.147, allocations: 35.92 kB / 340 MB, free: 7.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.1481, allocations: 1.401 MB / 341.4 MB, free: 5.797 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.324e-05/0.1482, allocations: 12.19 kB / 341.4 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.1483, allocations: 11.94 kB / 341.5 MB, free: 5.773 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 (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.0001265/0.1484, allocations: 141.7 kB / 341.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.1484, allocations: 11.81 kB / 341.6 MB, free: 5.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.718e-05/0.1485, allocations: 25.52 kB / 341.6 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1485, allocations: 0 / 341.6 MB, free: 5.59 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1485, allocations: 4 kB / 341.6 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1485, allocations: 0 / 341.6 MB, free: 5.586 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.1488, allocations: 257.5 kB / 341.9 MB, free: 5.285 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1488, allocations: 4 kB / 341.9 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.1491, allocations: 47.97 kB / 341.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.1491, allocations: 0 / 341.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.1491, allocations: 11.94 kB / 342 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1491, allocations: 0 / 342 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1491, allocations: 0 / 342 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005556/0.1497, allocations: 419.1 kB / 342.4 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.1498, allocations: 92.95 kB / 342.5 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1498, allocations: 4 kB / 342.5 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1499, allocations: 4 kB / 342.5 MB, free: 4.68 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.15, allocations: 7.984 kB / 342.5 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.15, allocations: 8 kB / 342.5 MB, free: 4.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.786e-05/0.1501, allocations: 123.2 kB / 342.6 MB, free: 4.543 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1501, allocations: 4 kB / 342.6 MB, free: 4.539 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001546/0.1516, allocations: 0.5117 MB / 343.1 MB, free: 4.027 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 (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.00128/0.1529, allocations: 0.5524 MB / 343.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006598/0.1536, allocations: 390.1 kB / 344 MB, free: 3.062 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1536, allocations: 4 kB / 344.1 MB, free: 3.059 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.1538, allocations: 95.83 kB / 344.1 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.1541, allocations: 32.56 kB / 344.2 MB, free: 2.934 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.1548, allocations: 452.5 kB / 344.6 MB, free: 2.465 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.1552, allocations: 0.7324 MB / 345.3 MB, free: 1.707 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001/0.1553, allocations: 33.06 kB / 345.4 MB, free: 1.672 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.486e-05/0.1553, allocations: 15.44 kB / 345.4 MB, free: 1.66 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1553, allocations: 0 / 345.4 MB, free: 1.66 MB / 286.1 MB Notification: Performance of Templates: time 0.01671/0.172, allocations: 7.738 MB / 353.1 MB, free: 9.906 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)