Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Blocks.Examples.FilterWithDifferentiation") translateModel(Modelica.Blocks.Examples.FilterWithDifferentiation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001209/0.001209, allocations: 100.9 kB / 17.06 MB, free: 6.145 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.001385/0.001385, allocations: 195 kB / 18 MB, free: 5.219 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.824/1.824, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001902/0.001902, allocations: 55.91 kB / 327.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.176, allocations: 46.62 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.FilterWithDifferentiation): time 0.005675/0.1817, allocations: 1.597 MB / 376.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3143/0.4961, allocations: 3.204 MB / 379.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002231/0.4964, allocations: 5.688 kB / 379.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004546/0.4969, allocations: 52.3 kB / 379.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.726e-05/0.497, allocations: 17.3 kB / 379.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004533/0.5015, allocations: 1.414 MB / 380.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003004/0.5018, allocations: 143.7 kB / 380.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.502, allocations: 27.23 kB / 380.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.5021, allocations: 56.06 kB / 381 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.5022, allocations: 54.67 kB / 381 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.349e-05/0.5022, allocations: 11.84 kB / 381 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.5049, allocations: 1.378 MB / 382.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.505, allocations: 37.73 kB / 382.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.495e-05/0.5051, allocations: 50.81 kB / 382.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.5068, allocations: 1.206 MB / 383.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5068, allocations: 0.6094 kB / 383.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5069, allocations: 0 / 383.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.5069, allocations: 0 / 383.7 MB, free: 9.578 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.00122/0.5081, allocations: 0.5672 MB / 384.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.5082, allocations: 9.531 kB / 384.3 MB, free: 9.168 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.555e-05/0.5082, allocations: 11.88 kB / 384.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.5085, allocations: 215.1 kB / 384.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5085, allocations: 6.812 kB / 384.5 MB, free: 8.953 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.777e-05/0.5086, allocations: 15.98 kB / 384.5 MB, free: 8.949 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.5089, allocations: 129.1 kB / 384.7 MB, free: 8.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5089, allocations: 5.188 kB / 384.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.5089, allocations: 2.594 kB / 384.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.509, allocations: 2.984 kB / 384.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.5091, allocations: 54.55 kB / 384.7 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006314/0.5098, allocations: 378 kB / 385.1 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.5102, allocations: 133.9 kB / 385.2 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.831e-05/0.5103, allocations: 39.55 kB / 385.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.5104, allocations: 0.7031 kB / 385.3 MB, free: 8.551 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5104, allocations: 35.12 kB / 385.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.5104, allocations: 1.469 kB / 385.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.002379/0.5128, allocations: 1.232 MB / 386.5 MB, free: 7.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.5128, allocations: 131.4 kB / 386.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.513, allocations: 174.7 kB / 386.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.513, allocations: 26.83 kB / 386.9 MB, free: 7.348 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.5131, allocations: 111.4 kB / 387 MB, free: 7.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.5132, allocations: 53 kB / 387 MB, free: 7.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-05/0.5132, allocations: 48.02 kB / 387.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.5133, allocations: 324.5 kB / 387.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.5135, allocations: 100.5 kB / 387.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.5137, allocations: 135.5 kB / 387.6 MB, free: 6.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.5141, allocations: 202.8 kB / 387.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5141, allocations: 0 / 387.8 MB, free: 6.676 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005257/0.5146, allocations: 300.6 kB / 388.1 MB, free: 6.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5146, allocations: 18.14 kB / 388.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5147, allocations: 1.938 kB / 388.1 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001927/0.5149, allocations: 46.56 kB / 388.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.515, allocations: 28.84 kB / 388.2 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.5161, allocations: 1.517 MB / 389.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.5162, allocations: 13.05 kB / 389.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5162, allocations: 8.188 kB / 389.7 MB, free: 5.066 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.000104/0.5163, allocations: 142.8 kB / 389.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.5164, allocations: 14.06 kB / 389.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.5164, allocations: 26.03 kB / 389.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5164, allocations: 2.438 kB / 389.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.5164, allocations: 0 / 389.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5164, allocations: 1.828 kB / 389.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.5167, allocations: 251.4 kB / 390.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.5167, allocations: 0 / 390.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.517, allocations: 50.86 kB / 390.2 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.517, allocations: 4 kB / 390.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.517, allocations: 5.406 kB / 390.2 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.517, allocations: 5.281 kB / 390.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.517, allocations: 1.219 kB / 390.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004698/0.5175, allocations: 412.2 kB / 390.6 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.5175, allocations: 85.39 kB / 390.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.5176, allocations: 5.031 kB / 390.7 MB, free: 4.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.5177, allocations: 14.45 kB / 390.7 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.5177, allocations: 8.312 kB / 390.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.5177, allocations: 4.219 kB / 390.7 MB, free: 4.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.082e-05/0.5178, allocations: 131.3 kB / 390.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5178, allocations: 0 / 390.9 MB, free: 4.238 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003056/0.5209, allocations: 0.5095 MB / 391.4 MB, free: 4.23 MB / 318.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.001462/0.5224, allocations: 0.5625 MB / 391.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007911/0.5232, allocations: 394.8 kB / 392.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.5232, allocations: 0 / 392.3 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.5234, allocations: 90.98 kB / 392.4 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.5238, allocations: 30.72 kB / 392.4 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.5245, allocations: 400 kB / 392.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.5248, allocations: 0.7289 MB / 393.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001055/0.5249, allocations: 29.77 kB / 393.6 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.525, allocations: 16.91 kB / 393.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.525, allocations: 0 / 393.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of Templates: time 0.01985/0.5448, allocations: 7.952 MB / 401.6 MB, free: 60 kB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.FilterWithDifferentiation.pipe 2>&1)