Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.008964/0.008963, allocations: 104.7 kB / 15.74 MB, free: 6.488 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.001621/0.001621, allocations: 197.5 kB / 16.67 MB, free: 6.375 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.726/1.726, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.001307/0.001307, allocations: 49.7 kB / 326.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.137, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003495/0.1406, allocations: 1.586 MB / 374.7 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006733/0.1474, allocations: 3.203 MB / 377.9 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002793/0.1477, allocations: 4 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005765/0.1484, allocations: 59.62 kB / 378 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.1485, allocations: 15.88 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005021/0.1536, allocations: 1.431 MB / 379.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003181/0.1539, allocations: 143.7 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.1541, allocations: 25.11 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.741e-05/0.1541, allocations: 55.78 kB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.1543, allocations: 55.69 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.1543, allocations: 8 kB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.1561, allocations: 1.374 MB / 381.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.353e-05/0.1562, allocations: 31.91 kB / 381.1 MB, free: 9.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.851e-05/0.1563, allocations: 59.66 kB / 381.2 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.1578, allocations: 1.212 MB / 382.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1578, allocations: 0 / 382.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1578, allocations: 0 / 382.4 MB, free: 8.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1578, allocations: 0 / 382.4 MB, free: 8.031 MB / 318.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.001307/0.1591, allocations: 0.5536 MB / 383 MB, free: 7.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.1592, allocations: 8.031 kB / 383 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.1593, allocations: 12.84 kB / 383 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003565/0.1596, allocations: 216 kB / 383.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1597, allocations: 12.31 kB / 383.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.1597, allocations: 12.28 kB / 383.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/0.1601, allocations: 132.9 kB / 383.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.1601, allocations: 0 / 383.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1601, allocations: 0 / 383.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.1601, allocations: 4 kB / 383.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.1603, allocations: 55.95 kB / 383.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.1611, allocations: 388.5 kB / 383.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005054/0.1617, allocations: 126.5 kB / 383.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.1618, allocations: 40.84 kB / 384 MB, free: 6.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.1618, allocations: 4 kB / 384 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.168e-05/0.1619, allocations: 30.56 kB / 384 MB, free: 6.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.1619, allocations: 0 / 384 MB, free: 6.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002738/0.1646, allocations: 1.218 MB / 385.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.1647, allocations: 140.4 kB / 385.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.1649, allocations: 170.4 kB / 385.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.165, allocations: 33.7 kB / 385.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.1651, allocations: 108.5 kB / 385.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.1652, allocations: 63.12 kB / 385.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.1652, allocations: 41.7 kB / 385.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1654, allocations: 326.8 kB / 386.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1656, allocations: 99.94 kB / 386.2 MB, free: 3.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.1658, allocations: 139.2 kB / 386.3 MB, free: 3.75 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.1662, allocations: 204.8 kB / 386.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1662, allocations: 4 kB / 386.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005729/0.1668, allocations: 310.1 kB / 386.8 MB, free: 3.23 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1668, allocations: 4 kB / 386.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.1668, allocations: 4 kB / 386.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.1671, allocations: 48.75 kB / 386.9 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.1672, allocations: 31.98 kB / 386.9 MB, free: 3.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.1687, allocations: 1.511 MB / 388.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.1689, allocations: 15.95 kB / 388.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1689, allocations: 4 kB / 388.4 MB, free: 1.469 MB / 318.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.0001564/0.169, allocations: 134 kB / 388.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1691, allocations: 15.81 kB / 388.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.993e-05/0.1692, allocations: 29.61 kB / 388.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1692, allocations: 0 / 388.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1692, allocations: 0.9375 kB / 388.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1692, allocations: 3.938 kB / 388.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.1695, allocations: 249.5 kB / 388.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1695, allocations: 4 kB / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.1698, allocations: 55.89 kB / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1698, allocations: 0 / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.1698, allocations: 0 / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.1698, allocations: 3.984 kB / 388.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1698, allocations: 4 kB / 388.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.1704, allocations: 419 kB / 389.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.1705, allocations: 88.95 kB / 389.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1705, allocations: 0 / 389.4 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.1706, allocations: 12.03 kB / 389.4 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.1707, allocations: 15.92 kB / 389.4 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1707, allocations: 8 kB / 389.4 MB, free: 364 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.852e-05/0.1708, allocations: 127.2 kB / 389.6 MB, free: 236 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1708, allocations: 0 / 389.6 MB, free: 236 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.002533/0.1734, allocations: 0.5078 MB / 390.1 MB, free: 15.72 MB / 334.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.001393/0.1748, allocations: 0.5502 MB / 390.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009333/0.1757, allocations: 401.8 kB / 391 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.1757, allocations: 0 / 391 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001892/0.1759, allocations: 87.89 kB / 391.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.1764, allocations: 28.66 kB / 391.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009645/0.1774, allocations: 393.9 kB / 391.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005725/0.1779, allocations: 0.7359 MB / 392.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.1781, allocations: 25.06 kB / 392.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.1781, allocations: 19.44 kB / 392.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1781, allocations: 0 / 392.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Templates: time 0.01696/0.1951, allocations: 7.907 MB / 400.2 MB, free: 5.492 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)