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.007949/0.007949, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001322/0.001322, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.602/1.602, allocations: 205.1 MB / 222.6 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.001622/0.001622, allocations: 54.2 kB / 326.5 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1128, allocations: 46.62 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003407/0.1163, allocations: 1.594 MB / 374.7 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005664/0.1219, allocations: 3.207 MB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1222, allocations: 3.938 kB / 378 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004329/0.1227, allocations: 67.62 kB / 378 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.1228, allocations: 11.88 kB / 378 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004246/0.1271, allocations: 1.415 MB / 379.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.1274, allocations: 143.7 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.1276, allocations: 25.11 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.1277, allocations: 55.83 kB / 379.7 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1278, allocations: 55.7 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.1279, allocations: 8 kB / 379.7 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002351/0.1302, allocations: 1.374 MB / 381.1 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1303, allocations: 39.89 kB / 381.1 MB, free: 9.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1305, allocations: 55.67 kB / 381.2 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.1323, allocations: 1.201 MB / 382.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1323, allocations: 0 / 382.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1324, allocations: 0 / 382.4 MB, free: 8.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.1324, allocations: 0 / 382.4 MB, free: 8.039 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.001563/0.1339, allocations: 0.5614 MB / 383 MB, free: 7.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.134, allocations: 8.031 kB / 383 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.092e-05/0.1341, allocations: 12.84 kB / 383 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.1344, allocations: 216 kB / 383.2 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.1344, allocations: 16.31 kB / 383.2 MB, free: 7.145 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.1345, allocations: 16.28 kB / 383.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.1348, allocations: 136.8 kB / 383.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1348, allocations: 0 / 383.4 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1348, allocations: 4 kB / 383.4 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1348, allocations: 4 kB / 383.4 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.135, allocations: 59.95 kB / 383.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.1357, allocations: 372.6 kB / 383.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.1361, allocations: 130.5 kB / 383.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.876e-05/0.1362, allocations: 40.83 kB / 384 MB, free: 6.316 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.1362, allocations: 4 kB / 384 MB, free: 6.312 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1362, allocations: 34.56 kB / 384 MB, free: 6.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1362, allocations: 0 / 384 MB, free: 6.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002416/0.1387, allocations: 1.211 MB / 385.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.1388, allocations: 140.4 kB / 385.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.139, allocations: 174.4 kB / 385.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.139, allocations: 29.7 kB / 385.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1391, allocations: 112.5 kB / 385.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.57e-05/0.1392, allocations: 59.12 kB / 385.7 MB, free: 4.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.1393, allocations: 45.7 kB / 385.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1394, allocations: 322.8 kB / 386.1 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1396, allocations: 100.2 kB / 386.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.1398, allocations: 139.3 kB / 386.3 MB, free: 3.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/0.1401, allocations: 200.8 kB / 386.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1401, allocations: 3.938 kB / 386.5 MB, free: 3.543 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005412/0.1407, allocations: 314 kB / 386.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.1407, allocations: 4 kB / 386.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.1407, allocations: 4 kB / 386.8 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.1409, allocations: 40.88 kB / 386.9 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.1411, allocations: 39.95 kB / 386.9 MB, free: 3.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001428/0.1425, allocations: 1.508 MB / 388.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.1427, allocations: 15.95 kB / 388.4 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1427, 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.0001461/0.1428, allocations: 138 kB / 388.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.1429, allocations: 15.81 kB / 388.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.143, allocations: 25.59 kB / 388.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.143, allocations: 4 kB / 388.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.143, allocations: 0 / 388.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.143, allocations: 7.922 kB / 388.6 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.1433, allocations: 245.6 kB / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.1433, allocations: 0 / 388.9 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.1436, allocations: 55.89 kB / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1436, allocations: 0 / 388.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.1436, allocations: 4 kB / 388.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1436, allocations: 4 kB / 388.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1436, allocations: 7.938 kB / 388.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005489/0.1442, allocations: 411.1 kB / 389.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.95e-05/0.1442, allocations: 85.02 kB / 389.4 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1443, allocations: 8 kB / 389.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.1444, allocations: 4.031 kB / 389.4 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/0.1444, allocations: 15.94 kB / 389.4 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1445, allocations: 3.984 kB / 389.4 MB, free: 372 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.1446, allocations: 127.2 kB / 389.6 MB, free: 244 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1446, allocations: 0 / 389.6 MB, free: 244 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001846/0.1464, allocations: 0.5117 MB / 390.1 MB, free: 15.73 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.001746/0.1482, allocations: 0.5581 MB / 390.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008278/0.149, allocations: 397.8 kB / 391 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.149, allocations: 4 kB / 391 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1492, 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.0003898/0.1496, 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.0008628/0.1505, allocations: 394.1 kB / 391.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004421/0.151, allocations: 0.7319 MB / 392.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000117/0.1511, allocations: 29.06 kB / 392.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.1511, allocations: 15.44 kB / 392.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1512, allocations: 0 / 392.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of Templates: time 0.01763/0.1688, allocations: 7.946 MB / 400.2 MB, free: 5.449 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)