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.008919/0.008919, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001472/0.001472, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.518/1.518, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001208/0.001208, allocations: 49.55 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09966/0.1009, allocations: 46.62 MB / 373.2 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.002627/0.1036, allocations: 1.598 MB / 374.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005419/0.109, allocations: 3.199 MB / 377.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.1092, allocations: 7.875 kB / 378 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.1096, allocations: 51.75 kB / 378 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.758e-05/0.1097, allocations: 23.8 kB / 378 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.1131, allocations: 1.419 MB / 379.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1134, allocations: 151.6 kB / 379.6 MB, free: 10.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1135, allocations: 25.11 kB / 379.6 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/0.1136, allocations: 51.83 kB / 379.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1137, allocations: 55.7 kB / 379.7 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/0.1137, allocations: 8 kB / 379.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.1156, allocations: 1.378 MB / 381.1 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1157, allocations: 35.91 kB / 381.1 MB, free: 9.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.1158, allocations: 55.61 kB / 381.2 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.1171, allocations: 1.212 MB / 382.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1171, allocations: 0 / 382.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1171, allocations: 0 / 382.4 MB, free: 8.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1171, allocations: 0 / 382.4 MB, free: 8.148 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.001091/0.1182, allocations: 0.5575 MB / 383 MB, free: 7.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1183, allocations: 12.03 kB / 383 MB, free: 7.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.1183, allocations: 12.84 kB / 383 MB, free: 7.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002671/0.1186, allocations: 212 kB / 383.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1186, allocations: 4.375 kB / 383.2 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.1187, allocations: 20.27 kB / 383.2 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.119, allocations: 128.9 kB / 383.4 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.119, allocations: 4 kB / 383.4 MB, free: 7.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.119, allocations: 4 kB / 383.4 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.119, allocations: 4 kB / 383.4 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.1192, allocations: 55.89 kB / 383.4 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.1198, allocations: 380.6 kB / 383.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/0.1202, allocations: 130.5 kB / 383.9 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.587e-05/0.1203, allocations: 40.83 kB / 384 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1203, allocations: 4 kB / 384 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.1203, allocations: 34.56 kB / 384 MB, free: 6.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.1203, allocations: 0 / 384 MB, free: 6.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002315/0.1227, allocations: 1.211 MB / 385.2 MB, free: 5.047 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.1228, allocations: 144.5 kB / 385.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.123, allocations: 174.3 kB / 385.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/0.123, allocations: 29.7 kB / 385.5 MB, free: 4.656 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.933e-05/0.1231, allocations: 112.4 kB / 385.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.1232, allocations: 59.12 kB / 385.7 MB, free: 4.484 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.1232, allocations: 45.7 kB / 385.8 MB, free: 4.434 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1234, allocations: 326.8 kB / 386.1 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.1236, allocations: 99.94 kB / 386.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/0.1238, allocations: 139.3 kB / 386.3 MB, free: 3.859 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.1241, allocations: 204.8 kB / 386.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.1241, allocations: 0 / 386.5 MB, free: 3.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005596/0.1247, allocations: 310 kB / 386.8 MB, free: 3.344 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.1247, allocations: 5.094 kB / 386.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.1248, allocations: 8 kB / 386.8 MB, free: 3.332 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001967/0.125, allocations: 44.81 kB / 386.9 MB, free: 3.285 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1251, allocations: 27.98 kB / 386.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.1265, allocations: 1.515 MB / 388.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-05/0.1266, allocations: 7.969 kB / 388.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.1266, allocations: 8 kB / 388.4 MB, free: 1.586 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.0001439/0.1268, allocations: 138.1 kB / 388.6 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.1268, allocations: 19.81 kB / 388.6 MB, free: 1.422 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.1269, allocations: 25.52 kB / 388.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1269, allocations: 0 / 388.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.1269, allocations: 0 / 388.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.1269, allocations: 3.938 kB / 388.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.1272, allocations: 241.6 kB / 388.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1272, allocations: 3.938 kB / 388.9 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002633/0.1275, allocations: 51.97 kB / 388.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1275, allocations: 4 kB / 388.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.1275, allocations: 4 kB / 388.9 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1275, allocations: 0 / 388.9 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/0.1276, allocations: 3.984 kB / 388.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.1281, allocations: 419 kB / 389.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.774e-05/0.1282, allocations: 93.05 kB / 389.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1282, allocations: 0 / 389.4 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.1283, allocations: 16 kB / 389.4 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.1284, allocations: 11.92 kB / 389.4 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1284, allocations: 4 kB / 389.4 MB, free: 488 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.572e-05/0.1285, allocations: 127.2 kB / 389.6 MB, free: 360 kB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1285, allocations: 0 / 389.6 MB, free: 360 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.001505/0.13, allocations: 0.5117 MB / 390.1 MB, free: 15.84 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.001392/0.1314, allocations: 0.5582 MB / 390.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006603/0.1321, allocations: 397.8 kB / 391 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1321, allocations: 0 / 391 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1323, allocations: 83.89 kB / 391.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.1326, allocations: 31.95 kB / 391.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.1333, allocations: 394.2 kB / 391.5 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1336, allocations: 0.728 MB / 392.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1337, allocations: 33.05 kB / 392.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.822e-05/0.1338, allocations: 15.44 kB / 392.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1338, allocations: 3.938 kB / 392.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of Templates: time 0.01839/0.1522, allocations: 7.9 MB / 400.2 MB, free: 5.613 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)