Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Blocks.Examples.Filter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00153/0.001529, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009725/0.0009728, allocations: 113.6 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001102, allocations: 43.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/0.1928, allocations: 50.46 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002643/0.1955, allocations: 2.054 MB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004897/0.2004, allocations: 4.099 MB / 413.2 MB, free: 21.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.2007, allocations: 11.88 kB / 413.2 MB, free: 21.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.2012, allocations: 163.3 kB / 413.4 MB, free: 21.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.2013, allocations: 35.7 kB / 413.4 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.2046, allocations: 1.568 MB / 415 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004867/0.2051, allocations: 470.8 kB / 415.4 MB, free: 19.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.2052, allocations: 54.61 kB / 415.5 MB, free: 19.37 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001912/0.2054, allocations: 163.3 kB / 415.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.2056, allocations: 167.1 kB / 415.8 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.624e-05/0.2057, allocations: 12 kB / 415.8 MB, free: 19.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.2074, allocations: 1.729 MB / 417.5 MB, free: 17.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.2076, allocations: 107.6 kB / 417.6 MB, free: 17.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001227/0.2077, allocations: 154.9 kB / 417.8 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001309/0.209, allocations: 1.742 MB / 419.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.209, allocations: 0 / 419.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.209, allocations: 0 / 419.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.2091, allocations: 4 kB / 419.5 MB, free: 15.29 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.001401/0.2105, allocations: 0.9075 MB / 420.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2105, allocations: 8.031 kB / 420.5 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.005e-05/0.2106, allocations: 52.38 kB / 420.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003497/0.2109, allocations: 350.2 kB / 420.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.211, allocations: 16.64 kB / 420.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.211, allocations: 28.38 kB / 420.9 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.2114, allocations: 303.1 kB / 421.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2114, allocations: 0 / 421.2 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.2115, allocations: 12 kB / 421.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2115, allocations: 4 kB / 421.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.2117, allocations: 144.7 kB / 421.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009608/0.2127, allocations: 0.6755 MB / 422 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.2132, allocations: 322.8 kB / 422.3 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.2134, allocations: 112.7 kB / 422.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2134, allocations: 0 / 422.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.2134, allocations: 38.56 kB / 422.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.072e-06/0.2134, allocations: 0 / 422.5 MB, free: 12.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.000576/0.214, allocations: 379.7 kB / 422.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.2141, allocations: 371.8 kB / 423.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.2144, allocations: 405.8 kB / 423.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2144, allocations: 37.7 kB / 423.7 MB, free: 10.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.2145, allocations: 196.7 kB / 423.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.2146, allocations: 82.81 kB / 423.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2147, allocations: 101.7 kB / 424 MB, free: 10.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.2147, allocations: 358.7 kB / 424.4 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.215, allocations: 212.4 kB / 424.6 MB, free: 9.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.2153, allocations: 314.2 kB / 424.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004447/0.2158, allocations: 393.6 kB / 425.3 MB, free: 9.184 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2158, allocations: 3.938 kB / 425.3 MB, free: 9.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000853/0.2167, allocations: 0.6498 MB / 425.9 MB, free: 8.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.2167, allocations: 4 kB / 425.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.2167, allocations: 4 kB / 425.9 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000375/0.2171, allocations: 134.4 kB / 426.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.2173, allocations: 63.95 kB / 426.1 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/0.2196, allocations: 4.239 MB / 430.4 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.2197, allocations: 51.39 kB / 430.4 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.2198, allocations: 12 kB / 430.4 MB, free: 3.602 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 (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.0001322/0.2199, allocations: 169.8 kB / 430.6 MB, free: 3.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.243e-05/0.22, allocations: 43.47 kB / 430.6 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.572e-05/0.2201, allocations: 51.83 kB / 430.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.2201, allocations: 4 kB / 430.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.2201, allocations: 0 / 430.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2201, allocations: 0 / 430.7 MB, free: 3.328 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.2203, allocations: 349.2 kB / 431 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2203, allocations: 0 / 431 MB, free: 2.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.2206, allocations: 43.91 kB / 431.1 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2206, allocations: 4 kB / 431.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.2207, allocations: 11.98 kB / 431.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2207, allocations: 0 / 431.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2207, allocations: 0 / 431.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002874/0.2236, allocations: 2.798 MB / 433.9 MB, free: 15.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.2236, allocations: 112.7 kB / 434 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.2237, allocations: 23.92 kB / 434 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.2239, allocations: 11.98 kB / 434 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.2239, allocations: 15.92 kB / 434.1 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.224, allocations: 4 kB / 434.1 MB, free: 15.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.2242, allocations: 275.1 kB / 434.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2242, allocations: 0 / 434.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001771/0.226, allocations: 0.6795 MB / 435 MB, free: 14.81 MB / 314.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 (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.001269/0.2273, allocations: 0.6709 MB / 435.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.2285, allocations: 0.9571 MB / 436.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2286, allocations: 3.938 kB / 436.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.2288, allocations: 119.9 kB / 436.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.2294, allocations: 104.9 kB / 436.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.2309, allocations: 1.204 MB / 438.1 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.2313, allocations: 0.8464 MB / 438.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002053/0.2315, allocations: 82.91 kB / 439 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.439e-05/0.2316, allocations: 27.44 kB / 439 MB, free: 10.65 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2316, allocations: 0 / 439 MB, free: 10.65 MB / 314.7 MB Notification: Performance of Templates: time 0.01978/0.2514, allocations: 13.47 MB / 452.5 MB, free: 13.2 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.Filter.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & ./Modelica_trunk_Modelica.Blocks.Examples.Filter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Filter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches