Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") translateModel(Modelica.Blocks.Examples.Filter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Bessel.x.1.|Bessel.x.2.|Bessel.x.3.|Butterworth.x.1.|Butterworth.x.2.|Butterworth.x.3.|ChebyshevI.x.1.|ChebyshevI.x.2.|ChebyshevI.x.3.|CriticalDamping.x.1.|CriticalDamping.x.2.|CriticalDamping.x.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 179.9 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.3 MB / 241 MB, free: 10.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007564/0.0007564, allocations: 97.19 kB / 292.2 MB, free: 10.65 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000231/0.0002311, allocations: 7.938 kB / 351.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.171, allocations: 50.41 MB / 402.2 MB, free: 32.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.001302/0.1723, allocations: 1.64 MB / 403.8 MB, free: 30.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.1759, allocations: 3.542 MB / 407.4 MB, free: 27.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.176, allocations: 11.88 kB / 407.4 MB, free: 27.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003219/0.1763, allocations: 147.3 kB / 407.5 MB, free: 27.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.1764, allocations: 39.64 kB / 407.6 MB, free: 27.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.1789, allocations: 1.508 MB / 409.1 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.1792, allocations: 438.6 kB / 409.5 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.587e-05/0.1793, allocations: 46.61 kB / 409.5 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1794, allocations: 155.4 kB / 409.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1795, allocations: 155.2 kB / 409.9 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.1796, allocations: 12 kB / 409.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001189/0.1808, allocations: 1.417 MB / 411.3 MB, free: 23.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.889e-05/0.1809, allocations: 103.6 kB / 411.4 MB, free: 23.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.264e-05/0.1809, allocations: 85.39 kB / 411.5 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007808/0.1817, allocations: 1.501 MB / 413 MB, free: 21.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1817, allocations: 0 / 413 MB, free: 21.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1817, allocations: 0 / 413 MB, free: 21.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1817, allocations: 3.938 kB / 413 MB, free: 21.75 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009912/0.1827, allocations: 0.8296 MB / 413.8 MB, free: 20.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.793e-05/0.1828, allocations: 8.031 kB / 413.8 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.1828, allocations: 51.33 kB / 413.9 MB, free: 20.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.1831, allocations: 325.4 kB / 414.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1831, allocations: 16.28 kB / 414.2 MB, free: 20.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.852e-05/0.1832, allocations: 31.91 kB / 414.2 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.1835, allocations: 311 kB / 414.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1836, allocations: 0 / 414.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1836, allocations: 8 kB / 414.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1836, allocations: 7.953 kB / 414.5 MB, free: 20.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.1838, allocations: 148.7 kB / 414.7 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.1847, allocations: 0.6835 MB / 415.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/0.1852, allocations: 323.2 kB / 415.7 MB, free: 18.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1853, allocations: 105.2 kB / 415.8 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.1853, allocations: 4.188 kB / 415.8 MB, free: 18.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.1854, allocations: 34.75 kB / 415.8 MB, free: 18.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.1854, allocations: 0 / 415.8 MB, free: 18.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005302/0.1859, allocations: 396.1 kB / 416.2 MB, free: 18.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.186, allocations: 367.8 kB / 416.6 MB, free: 17.84 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1862, allocations: 405.7 kB / 417 MB, free: 17.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1863, allocations: 33.7 kB / 417 MB, free: 17.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.454e-05/0.1864, allocations: 196.8 kB / 417.2 MB, free: 17.2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1864, allocations: 82.81 kB / 417.3 MB, free: 17.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.596e-05/0.1864, allocations: 15.98 kB / 417.3 MB, free: 17.11 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.1865, allocations: 354.8 kB / 417.6 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/0.1867, allocations: 204.4 kB / 417.8 MB, free: 16.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.187, allocations: 321.1 kB / 418.1 MB, free: 16.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.1873, allocations: 241.5 kB / 418.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1873, allocations: 0 / 418.4 MB, free: 15.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008816/0.1882, allocations: 0.6575 MB / 419 MB, free: 15.3 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1882, allocations: 7.953 kB / 419 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.1883, allocations: 11.98 kB / 419.1 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003656/0.1886, allocations: 126.4 kB / 419.2 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1889, allocations: 63.97 kB / 419.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.1909, allocations: 4.216 MB / 423.5 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.1911, allocations: 43.47 kB / 423.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.1912, allocations: 24.09 kB / 423.5 MB, free: 10.39 MB / 298.7 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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.1913, allocations: 177.8 kB / 423.7 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.1913, allocations: 35.53 kB / 423.7 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.1914, allocations: 51.62 kB / 423.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.1914, allocations: 4 kB / 423.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1914, allocations: 0 / 423.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1914, allocations: 3.984 kB / 423.8 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.1917, allocations: 349.3 kB / 424.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.1917, allocations: 3.953 kB / 424.1 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.192, allocations: 43.91 kB / 424.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.192, allocations: 0 / 424.2 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.192, allocations: 12 kB / 424.2 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.192, allocations: 4 kB / 424.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.192, allocations: 0 / 424.2 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.1925, allocations: 0.5122 MB / 424.7 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.1926, allocations: 116.5 kB / 424.8 MB, free: 9.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.1926, allocations: 12 kB / 424.8 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1928, allocations: 15.98 kB / 424.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1928, allocations: 15.92 kB / 424.9 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1929, allocations: 7.984 kB / 424.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001826/0.193, allocations: 267.1 kB / 425.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.193, allocations: 4 kB / 425.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001367/0.1944, allocations: 0.6523 MB / 425.8 MB, free: 8.035 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009977/0.1954, allocations: 0.668 MB / 426.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000949/0.1964, allocations: 0.9422 MB / 427.4 MB, free: 6.344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1964, allocations: 4 kB / 427.4 MB, free: 6.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.1966, allocations: 119.9 kB / 427.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.1971, allocations: 100.5 kB / 427.6 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1981, allocations: 1.051 MB / 428.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.1984, allocations: 0.8457 MB / 429.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.1984, allocations: 27.44 kB / 429.5 MB, free: 4.145 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1984, allocations: 4 kB / 429.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of Templates: time 0.01297/0.2114, allocations: 11.98 MB / 441.5 MB, free: 8.164 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches