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.009754/0.009754, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001759/0.001759, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.641/1.641, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001495/0.001495, allocations: 51.89 kB / 326.5 MB, free: 14.37 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1208, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.003522/0.1244, allocations: 1.59 MB / 374.7 MB, free: 15.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005822/0.1302, allocations: 3.211 MB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.1304, allocations: 3.938 kB / 378 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.1309, allocations: 55.7 kB / 378 MB, free: 12.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001131/0.1311, allocations: 15.86 kB / 378 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005492/0.1366, allocations: 1.411 MB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003775/0.137, allocations: 151.6 kB / 379.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.1372, allocations: 29.11 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.1373, allocations: 47.84 kB / 379.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1375, allocations: 59.69 kB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.1375, allocations: 8 kB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.1399, allocations: 1.37 MB / 381.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.14, allocations: 31.92 kB / 381.1 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.787e-05/0.1401, allocations: 59.66 kB / 381.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.1419, allocations: 1.208 MB / 382.4 MB, free: 8.055 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.142, allocations: 7.938 kB / 382.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.142, allocations: 0 / 382.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.142, allocations: 0 / 382.4 MB, free: 8.047 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.001566/0.1436, allocations: 0.5575 MB / 383 MB, free: 7.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1436, allocations: 8.031 kB / 383 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.1437, allocations: 12.84 kB / 383 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.144, allocations: 216 kB / 383.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.144, allocations: 4.375 kB / 383.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.621e-05/0.1441, allocations: 20.28 kB / 383.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.1444, allocations: 128.9 kB / 383.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.1444, allocations: 0 / 383.3 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.1445, allocations: 4 kB / 383.4 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.1445, allocations: 4 kB / 383.4 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.1446, allocations: 55.89 kB / 383.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.1454, allocations: 388.5 kB / 383.8 MB, free: 6.512 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.1458, allocations: 122.5 kB / 383.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.146, allocations: 44.83 kB / 384 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.146, allocations: 8 kB / 384 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.146, allocations: 30.56 kB / 384 MB, free: 6.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.533e-06/0.146, allocations: 0 / 384 MB, free: 6.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.00244/0.1485, allocations: 1.211 MB / 385.2 MB, free: 4.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/0.1486, allocations: 136.7 kB / 385.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.1488, allocations: 170.4 kB / 385.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1489, allocations: 29.7 kB / 385.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.149, allocations: 116.4 kB / 385.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.149, allocations: 59.12 kB / 385.7 MB, free: 4.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.1492, allocations: 45.7 kB / 385.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.1494, allocations: 330.8 kB / 386.1 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.1496, allocations: 95.95 kB / 386.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.1498, allocations: 143.2 kB / 386.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.1502, allocations: 204.8 kB / 386.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1502, allocations: 0 / 386.5 MB, free: 3.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006236/0.1508, allocations: 306.1 kB / 386.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.1508, allocations: 9.078 kB / 386.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.355e-05/0.1509, allocations: 8 kB / 386.8 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000223/0.1511, allocations: 40.77 kB / 386.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.1513, allocations: 35.97 kB / 386.9 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.1527, allocations: 1.515 MB / 388.4 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.1528, allocations: 11.95 kB / 388.4 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.1528, allocations: 8 kB / 388.4 MB, free: 1.48 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.0001927/0.153, allocations: 134 kB / 388.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.1531, allocations: 15.81 kB / 388.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.479e-05/0.1531, allocations: 21.53 kB / 388.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1531, allocations: 4 kB / 388.6 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1532, allocations: 4 kB / 388.6 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1532, allocations: 3.938 kB / 388.6 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.1535, allocations: 245.5 kB / 388.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1535, allocations: 0 / 388.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.1538, allocations: 63.89 kB / 388.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1538, allocations: 0 / 388.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.1538, allocations: 0 / 388.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1538, allocations: 0 / 388.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1538, allocations: 0 / 388.9 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.1544, allocations: 423 kB / 389.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.1545, allocations: 85.02 kB / 389.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.1545, allocations: 4 kB / 389.4 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.1546, allocations: 8 kB / 389.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.081e-05/0.1547, allocations: 11.97 kB / 389.4 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1547, allocations: 4 kB / 389.4 MB, free: 392 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001086/0.1548, allocations: 127.2 kB / 389.6 MB, free: 264 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1548, allocations: 4 kB / 389.6 MB, free: 260 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001888/0.1567, allocations: 0.5117 MB / 390.1 MB, free: 15.74 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.001545/0.1583, allocations: 0.5541 MB / 390.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007861/0.1591, allocations: 393.8 kB / 391 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.1591, allocations: 4 kB / 391 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.1593, allocations: 87.88 kB / 391.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1597, allocations: 36.64 kB / 391.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007934/0.1605, allocations: 385.9 kB / 391.5 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.1609, allocations: 0.7437 MB / 392.3 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001079/0.161, allocations: 25.06 kB / 392.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.1611, allocations: 15.44 kB / 392.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1611, allocations: 0 / 392.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of Templates: time 0.01623/0.1773, allocations: 7.911 MB / 400.2 MB, free: 5.504 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)