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.006738/0.006737, 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.001372/0.001372, 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.678/1.678, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001492/0.001492, allocations: 54.86 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1341, allocations: 46.62 MB / 373.2 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003738/0.1379, allocations: 1.59 MB / 374.7 MB, free: 15.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006234/0.1442, allocations: 3.211 MB / 378 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001918/0.1445, allocations: 4 kB / 378 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.145, allocations: 51.69 kB / 378 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.1451, allocations: 19.86 kB / 378 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005595/0.1507, allocations: 1.411 MB / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004408/0.1512, allocations: 155.6 kB / 379.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.1514, allocations: 21.11 kB / 379.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1515, allocations: 55.84 kB / 379.7 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.1517, allocations: 55.69 kB / 379.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.1517, allocations: 8 kB / 379.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.154, allocations: 1.378 MB / 381.1 MB, free: 9.438 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1541, allocations: 27.92 kB / 381.1 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.1542, allocations: 55.66 kB / 381.2 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1555, allocations: 1.212 MB / 382.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1555, allocations: 0 / 382.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1555, allocations: 0 / 382.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.1555, allocations: 0 / 382.4 MB, free: 8.141 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.001208/0.1567, allocations: 0.5575 MB / 383 MB, free: 7.535 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.1568, allocations: 12.03 kB / 383 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.481e-05/0.1569, allocations: 16.78 kB / 383 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004799/0.1574, allocations: 216.1 kB / 383.2 MB, free: 7.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1574, allocations: 8.375 kB / 383.2 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.783e-05/0.1574, allocations: 16.28 kB / 383.2 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.1577, allocations: 132.8 kB / 383.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1577, allocations: 0 / 383.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1578, allocations: 0 / 383.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1578, allocations: 4 kB / 383.4 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1579, allocations: 55.95 kB / 383.4 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007193/0.1587, allocations: 384.5 kB / 383.8 MB, free: 6.602 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.1591, allocations: 130.6 kB / 383.9 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.504e-05/0.1592, allocations: 52.95 kB / 384 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1592, allocations: 4 kB / 384 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1593, allocations: 30.56 kB / 384 MB, free: 6.367 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1593, allocations: 0 / 384 MB, free: 6.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002382/0.1617, allocations: 1.215 MB / 385.2 MB, free: 5.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.1618, allocations: 132.5 kB / 385.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.162, allocations: 174.4 kB / 385.5 MB, free: 4.676 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.123e-05/0.1621, allocations: 37.64 kB / 385.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.554e-05/0.1622, allocations: 108.5 kB / 385.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.1622, allocations: 55.19 kB / 385.7 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.167e-05/0.1623, allocations: 45.7 kB / 385.8 MB, free: 4.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1625, allocations: 326.8 kB / 386.1 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.1626, allocations: 99.94 kB / 386.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.1628, allocations: 139.3 kB / 386.3 MB, free: 3.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003097/0.1631, allocations: 204.7 kB / 386.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1632, allocations: 0 / 386.5 MB, free: 3.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005305/0.1637, allocations: 310.1 kB / 386.8 MB, free: 3.328 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.1637, allocations: 4 kB / 386.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.1638, allocations: 7.984 kB / 386.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.164, allocations: 40.83 kB / 386.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1641, allocations: 35.92 kB / 386.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/0.1657, allocations: 1.511 MB / 388.4 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1658, allocations: 11.97 kB / 388.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.1659, allocations: 7.984 kB / 388.4 MB, free: 1.566 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.0001741/0.1661, allocations: 134 kB / 388.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.518e-05/0.1661, allocations: 15.81 kB / 388.6 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.1662, allocations: 25.62 kB / 388.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1662, allocations: 0 / 388.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.1662, allocations: 0 / 388.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.1662, allocations: 3.938 kB / 388.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.1666, allocations: 257.5 kB / 388.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1666, allocations: 0 / 388.9 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.1669, allocations: 51.91 kB / 388.9 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1669, allocations: 4 kB / 388.9 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.1669, allocations: 4.688 kB / 388.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1669, allocations: 0 / 388.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1669, allocations: 3.984 kB / 388.9 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005821/0.1675, allocations: 419.1 kB / 389.3 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/0.1676, allocations: 85.02 kB / 389.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1676, allocations: 4 kB / 389.4 MB, free: 500 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1677, allocations: 4 kB / 389.4 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1678, allocations: 19.8 kB / 389.4 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1678, allocations: 8 kB / 389.4 MB, free: 468 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001165/0.1679, allocations: 131.2 kB / 389.6 MB, free: 336 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1679, allocations: 0 / 389.6 MB, free: 336 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.00187/0.1698, allocations: 0.5078 MB / 390.1 MB, free: 15.82 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.001735/0.1716, allocations: 0.5503 MB / 390.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007938/0.1724, allocations: 397.8 kB / 391 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.1724, allocations: 0 / 391 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1726, allocations: 87.89 kB / 391.1 MB, free: 14.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1729, allocations: 32.64 kB / 391.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/0.1738, allocations: 385.9 kB / 391.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.1741, allocations: 0.7358 MB / 392.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.1743, allocations: 29.06 kB / 392.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.1743, allocations: 15.44 kB / 392.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1743, allocations: 0 / 392.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Templates: time 0.01884/0.1932, allocations: 7.911 MB / 400.2 MB, free: 5.594 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)