Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.Filter.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.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_3.2.3_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_3.2.3_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001307/0.001307, allocations: 189.3 kB / 18.19 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.179/2.179, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001162/0.001163, allocations: 44.16 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1293, allocations: 46.63 MB / 326.8 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.005014/0.1344, allocations: 2.048 MB / 328.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.145, allocations: 3.774 MB / 332.6 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.1454, allocations: 11.88 kB / 332.6 MB, free: 14.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008405/0.1463, allocations: 163.3 kB / 332.8 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.1467, allocations: 47.62 kB / 332.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008042/0.1547, allocations: 1.751 MB / 334.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1559, allocations: 0.4948 MB / 335 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1561, allocations: 49.06 kB / 335.1 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003961/0.1565, allocations: 179.3 kB / 335.3 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.1569, allocations: 171.2 kB / 335.4 MB, free: 12.08 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.157, allocations: 24 kB / 335.5 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.1612, allocations: 1.741 MB / 337.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.1615, allocations: 119.6 kB / 337.3 MB, free: 10.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003303/0.1619, allocations: 166.8 kB / 337.5 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003315/0.1652, allocations: 1.746 MB / 339.2 MB, free: 8.285 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.032e-05/0.1652, allocations: 4 kB / 339.2 MB, free: 8.281 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1652, allocations: 0 / 339.2 MB, free: 8.281 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.1653, allocations: 0 / 339.2 MB, free: 8.281 MB / 286.1 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.002792/0.1681, allocations: 0.9036 MB / 340.1 MB, free: 7.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.1681, allocations: 8.031 kB / 340.1 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.1683, allocations: 44.38 kB / 340.2 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007081/0.169, allocations: 350.2 kB / 340.5 MB, free: 6.895 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1691, allocations: 12.66 kB / 340.5 MB, free: 6.883 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.1692, allocations: 28.36 kB / 340.6 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.17, allocations: 318.9 kB / 340.9 MB, free: 6.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.17, allocations: 4 kB / 340.9 MB, free: 6.496 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.17, allocations: 7.938 kB / 340.9 MB, free: 6.488 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1701, allocations: 4 kB / 340.9 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004711/0.1706, allocations: 155.8 kB / 341 MB, free: 6.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.1724, allocations: 0.6717 MB / 341.7 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1735, allocations: 314.5 kB / 342 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002942/0.1738, allocations: 112.8 kB / 342.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1738, allocations: 4 kB / 342.1 MB, free: 5.176 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.1739, allocations: 42.56 kB / 342.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.555e-06/0.1739, allocations: 0 / 342.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001196/0.1751, allocations: 377.1 kB / 342.6 MB, free: 4.75 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002467/0.1754, allocations: 371.8 kB / 342.9 MB, free: 4.301 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007463/0.1761, allocations: 405.8 kB / 343.3 MB, free: 3.898 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/0.1762, allocations: 33.7 kB / 343.3 MB, free: 3.859 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.1765, allocations: 200.7 kB / 343.5 MB, free: 3.66 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.1766, allocations: 82.81 kB / 343.6 MB, free: 3.578 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.1769, allocations: 105.5 kB / 343.7 MB, free: 3.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.1772, allocations: 354.7 kB / 344.1 MB, free: 3.113 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.1777, allocations: 204.4 kB / 344.3 MB, free: 2.914 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007173/0.1785, allocations: 322.4 kB / 344.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.1795, allocations: 393.6 kB / 345 MB, free: 2.172 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1795, allocations: 0 / 345 MB, free: 2.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00205/0.1816, allocations: 0.6535 MB / 345.6 MB, free: 1.5 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.1817, allocations: 11.94 kB / 345.6 MB, free: 1.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/0.1817, allocations: 7.938 kB / 345.6 MB, free: 1.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008355/0.1826, allocations: 130.5 kB / 345.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.1831, allocations: 63.91 kB / 345.8 MB, free: 1.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00611/0.1893, allocations: 4.57 MB / 350.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.1898, allocations: 43.53 kB / 350.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-05/0.1899, allocations: 11.98 kB / 350.5 MB, free: 12.23 MB / 302.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000402/0.1903, allocations: 177.8 kB / 350.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.1904, allocations: 35.53 kB / 350.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.1905, allocations: 43.75 kB / 350.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1906, allocations: 4 kB / 350.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.38e-05/0.1906, allocations: 3.938 kB / 350.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1906, allocations: 3.984 kB / 350.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.1912, allocations: 345.3 kB / 351.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1913, allocations: 0 / 351.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.1918, allocations: 47.91 kB / 351.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.1918, allocations: 0 / 351.1 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.1919, allocations: 8 kB / 351.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.831e-05/0.1919, allocations: 15.86 kB / 351.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1919, allocations: 0 / 351.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.1931, allocations: 0.4909 MB / 351.6 MB, free: 11 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.1933, allocations: 120.5 kB / 351.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.548e-05/0.1934, allocations: 15.94 kB / 351.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003055/0.1937, allocations: 15.98 kB / 351.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.1939, allocations: 16.09 kB / 351.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.1939, allocations: 11.92 kB / 351.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004764/0.1944, allocations: 271.1 kB / 352.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.356e-06/0.1945, allocations: 0 / 352.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.003453/0.1979, allocations: 0.6483 MB / 352.7 MB, free: 9.891 MB / 302.1 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 (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.002519/0.2005, allocations: 0.6673 MB / 353.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.2029, allocations: 0.9812 MB / 354.4 MB, free: 8.148 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.2029, allocations: 4 kB / 354.4 MB, free: 8.145 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.2033, allocations: 116.8 kB / 354.5 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.2044, allocations: 121.2 kB / 354.6 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.2072, allocations: 1.009 MB / 355.6 MB, free: 6.883 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007768/0.208, allocations: 0.838 MB / 356.4 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004238/0.2085, allocations: 74.91 kB / 356.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.2086, allocations: 27.44 kB / 356.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of SimCode: time 1.142e-06/0.2086, allocations: 0 / 356.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of Templates: time 0.0379/0.2465, allocations: 12.82 MB / 369.4 MB, free: 9.086 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches