Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008183/0.008183, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001346/0.001346, allocations: 197.2 kB / 16.68 MB, free: 5.93 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001434/0.001434, allocations: 53.92 kB / 326.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1139, allocations: 46.62 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002836/0.1168, allocations: 1.59 MB / 374.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005266/0.1221, allocations: 3.211 MB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.1222, allocations: 0 / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000363/0.1226, allocations: 63.58 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.04e-05/0.1227, allocations: 23.84 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003336/0.126, allocations: 1.411 MB / 379.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.1263, allocations: 151.6 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1264, allocations: 25.11 kB / 379.6 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.891e-05/0.1265, allocations: 55.83 kB / 379.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.1266, allocations: 55.7 kB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1266, allocations: 8 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.1281, allocations: 1.378 MB / 381.1 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.1282, allocations: 35.91 kB / 381.2 MB, free: 9.285 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.1283, allocations: 51.67 kB / 381.2 MB, free: 9.234 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.1294, allocations: 1.205 MB / 382.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1294, allocations: 0 / 382.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1294, allocations: 0 / 382.4 MB, free: 8.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.1295, allocations: 0 / 382.4 MB, free: 8.027 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.000975/0.1304, allocations: 0.5653 MB / 383 MB, free: 7.414 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1305, allocations: 8.031 kB / 383 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.1305, allocations: 12.84 kB / 383 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.1308, allocations: 216 kB / 383.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1308, allocations: 8.375 kB / 383.2 MB, free: 7.137 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.1309, allocations: 16.28 kB / 383.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.1312, allocations: 128.9 kB / 383.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1312, allocations: 0 / 383.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1312, allocations: 4 kB / 383.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1312, allocations: 4 kB / 383.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1314, allocations: 59.95 kB / 383.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.1319, allocations: 376.5 kB / 383.8 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.1323, allocations: 130.6 kB / 383.9 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.791e-05/0.1324, allocations: 40.83 kB / 384 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.1324, allocations: 4 kB / 384 MB, free: 6.309 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.1325, allocations: 38.69 kB / 384 MB, free: 6.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1325, allocations: 0 / 384 MB, free: 6.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002277/0.1348, allocations: 1.218 MB / 385.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.52e-05/0.1349, allocations: 136.5 kB / 385.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.1351, allocations: 174.4 kB / 385.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.1351, allocations: 29.7 kB / 385.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/0.1352, allocations: 112.5 kB / 385.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.1353, allocations: 59.14 kB / 385.7 MB, free: 4.355 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.882e-05/0.1353, allocations: 41.7 kB / 385.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1355, allocations: 326.8 kB / 386.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.1357, allocations: 95.95 kB / 386.2 MB, free: 3.887 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.1359, allocations: 143.3 kB / 386.3 MB, free: 3.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/0.1362, allocations: 200.8 kB / 386.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1362, allocations: 0 / 386.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005634/0.1368, allocations: 310 kB / 386.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.1368, allocations: 5.094 kB / 386.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.1369, allocations: 7.984 kB / 386.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.1371, allocations: 40.83 kB / 386.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.1372, allocations: 35.92 kB / 386.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.1385, allocations: 1.512 MB / 388.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.1386, allocations: 15.92 kB / 388.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.1387, allocations: 9.219 kB / 388.4 MB, free: 1.457 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.0001244/0.1388, allocations: 138 kB / 388.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.1388, allocations: 11.81 kB / 388.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.1389, allocations: 25.53 kB / 388.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1389, allocations: 4.062 kB / 388.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1389, allocations: 0 / 388.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1389, allocations: 7.938 kB / 388.6 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.1392, allocations: 245.5 kB / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1392, allocations: 0 / 388.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002706/0.1395, allocations: 55.84 kB / 388.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1395, allocations: 48 / 388.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.1395, allocations: 11.97 kB / 388.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1396, allocations: 4 kB / 388.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1396, allocations: 3.938 kB / 388.9 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005223/0.1401, allocations: 411.1 kB / 389.3 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.1402, allocations: 85.02 kB / 389.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.1402, allocations: 8 kB / 389.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.1403, allocations: 0 / 389.4 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.1404, allocations: 19.97 kB / 389.4 MB, free: 364 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1404, allocations: 0 / 389.4 MB, free: 364 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.86e-05/0.1405, allocations: 131.2 kB / 389.6 MB, free: 232 kB / 318.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.1405, allocations: 0 / 389.6 MB, free: 232 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001633/0.1421, allocations: 0.5117 MB / 390.1 MB, free: 15.71 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.001642/0.1438, allocations: 0.5502 MB / 390.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007929/0.1446, allocations: 393.8 kB / 391 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.1446, allocations: 4 kB / 391 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.1448, allocations: 87.94 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.0003754/0.1452, allocations: 32.66 kB / 391.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.146, allocations: 397.8 kB / 391.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.1464, allocations: 0.7358 MB / 392.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1465, allocations: 29.06 kB / 392.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.1465, allocations: 15.44 kB / 392.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1466, allocations: 0 / 392.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of Templates: time 0.0181/0.1647, allocations: 7.907 MB / 400.2 MB, free: 5.48 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)