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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001865, allocations: 110.2 kB / 17.17 MB, free: 6.344 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.002102/0.002103, allocations: 194.9 kB / 18.08 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.544/2.544, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 47.33 kB / 300.6 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.151, allocations: 49.44 MB / 350 MB, free: 4.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00546/0.1565, allocations: 2.048 MB / 352.1 MB, free: 2.598 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009904/0.1665, allocations: 4.054 MB / 356.1 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.167, allocations: 7.938 kB / 356.2 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007831/0.1678, allocations: 163.3 kB / 356.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.1684, allocations: 39.64 kB / 356.4 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006241/0.1746, allocations: 1.549 MB / 357.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009519/0.1756, allocations: 470.7 kB / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.1758, allocations: 45.36 kB / 358.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.1761, allocations: 163.3 kB / 358.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003056/0.1764, allocations: 167.2 kB / 358.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.599e-05/0.1765, allocations: 12 kB / 358.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00341/0.1799, allocations: 1.72 MB / 360.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.1802, allocations: 107.6 kB / 360.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.1804, allocations: 158.9 kB / 360.7 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.1826, allocations: 1.485 MB / 362.2 MB, free: 8.477 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1826, allocations: 3.984 kB / 362.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1826, allocations: 4 kB / 362.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1826, allocations: 0 / 362.2 MB, free: 8.469 MB / 302.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.002266/0.1849, allocations: 0.8997 MB / 363.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.185, allocations: 16.03 kB / 363.1 MB, free: 7.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1851, allocations: 44.38 kB / 363.2 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.1857, allocations: 350.2 kB / 363.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.244e-05/0.1858, allocations: 20.41 kB / 363.5 MB, free: 7.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-05/0.1859, allocations: 27.94 kB / 363.6 MB, free: 7.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006938/0.1866, allocations: 303 kB / 363.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1866, allocations: 4 kB / 363.9 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/0.1867, allocations: 8 kB / 363.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1867, allocations: 4 kB / 363.9 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004045/0.1871, allocations: 140.7 kB / 364 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001642/0.1888, allocations: 0.6755 MB / 364.7 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009386/0.1897, allocations: 326.3 kB / 365 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/0.19, allocations: 104.8 kB / 365.1 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.19, allocations: 4 kB / 365.1 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.1901, allocations: 34.56 kB / 365.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 2.325e-06/0.1901, allocations: 0 / 365.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001064/0.1912, allocations: 386.6 kB / 365.5 MB, free: 4.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002249/0.1914, allocations: 371.8 kB / 365.9 MB, free: 4.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.192, allocations: 405.7 kB / 366.3 MB, free: 4.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.1921, allocations: 37.7 kB / 366.3 MB, free: 4.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.1923, allocations: 200.7 kB / 366.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/0.1924, allocations: 78.81 kB / 366.6 MB, free: 3.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.1926, allocations: 97.69 kB / 366.7 MB, free: 3.668 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1928, allocations: 358.8 kB / 367 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005014/0.1934, allocations: 212.4 kB / 367.2 MB, free: 3.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006151/0.194, allocations: 310.4 kB / 367.6 MB, free: 2.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.1949, allocations: 401.5 kB / 367.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1949, allocations: 0 / 367.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001699/0.1966, allocations: 0.6573 MB / 368.6 MB, free: 1.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.1966, allocations: 4 kB / 368.6 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/0.1967, allocations: 11.98 kB / 368.6 MB, free: 1.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006564/0.1974, allocations: 126.5 kB / 368.7 MB, free: 1.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004242/0.1978, allocations: 67.89 kB / 368.8 MB, free: 1.484 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3112/0.509, allocations: 4.218 MB / 373 MB, free: 21.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.5097, allocations: 50.84 kB / 373.1 MB, free: 21.53 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-05/0.5098, allocations: 9.734 kB / 373.1 MB, free: 21.53 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.0004431/0.5102, allocations: 178.9 kB / 373.3 MB, free: 21.42 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.5104, allocations: 45.12 kB / 373.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.5105, allocations: 48.77 kB / 373.3 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.5105, allocations: 2.812 kB / 373.4 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.5106, allocations: 0 / 373.4 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.016e-06/0.5106, allocations: 1.781 kB / 373.4 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.5114, allocations: 339.3 kB / 373.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.5114, allocations: 0 / 373.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.5119, allocations: 41.61 kB / 373.7 MB, free: 21.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-06/0.512, allocations: 6.656 kB / 373.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.512, allocations: 11.27 kB / 373.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.5121, allocations: 1.312 kB / 373.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5121, allocations: 0.6562 kB / 373.7 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.5134, allocations: 0.504 MB / 374.2 MB, free: 21.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.5136, allocations: 117.2 kB / 374.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.5137, allocations: 17.89 kB / 374.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.5141, allocations: 18.05 kB / 374.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.5142, allocations: 13.83 kB / 374.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.5142, allocations: 9.094 kB / 374.4 MB, free: 20.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006195/0.5149, allocations: 271.8 kB / 374.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5149, allocations: 0 / 374.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.004269/0.5192, allocations: 0.6473 MB / 375.3 MB, free: 20.9 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.00343/0.5226, allocations: 0.6675 MB / 376 MB, free: 20.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.5253, allocations: 0.955 MB / 377 MB, free: 20.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.5253, allocations: 1.406 kB / 377 MB, free: 20.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.5257, allocations: 122.1 kB / 377.1 MB, free: 20.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.5269, allocations: 108.5 kB / 377.2 MB, free: 20.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002815/0.5298, allocations: 1.049 MB / 378.2 MB, free: 19.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.5304, allocations: 0.842 MB / 379.1 MB, free: 18.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00017/0.5306, allocations: 29.33 kB / 379.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5306, allocations: 3.938 kB / 379.1 MB, free: 18.9 MB / 302.1 MB Notification: Performance of Templates: time 0.03911/0.5697, allocations: 12.04 MB / 391.1 MB, free: 14.48 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches