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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001012/0.001012, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009061/0.0009061, allocations: 106.2 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008522/0.0008523, allocations: 39.95 kB / 327.2 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.178, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002511/0.1806, allocations: 2.042 MB / 375.9 MB, free: 44.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004761/0.1854, allocations: 4.099 MB / 380 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.1855, allocations: 10.28 kB / 380 MB, free: 41.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.1859, allocations: 161.4 kB / 380.1 MB, free: 41.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.661e-05/0.186, allocations: 42 kB / 380.2 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.1888, allocations: 1.547 MB / 381.7 MB, free: 40.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003754/0.1891, allocations: 469.4 kB / 382.2 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1893, allocations: 51.28 kB / 382.2 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1894, allocations: 165.5 kB / 382.4 MB, free: 39.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.1896, allocations: 160.9 kB / 382.5 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.1896, allocations: 13.22 kB / 382.5 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.1913, allocations: 1.716 MB / 384.3 MB, free: 38.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1915, allocations: 106.9 kB / 384.4 MB, free: 38.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1916, allocations: 158.7 kB / 384.5 MB, free: 38.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001068/0.1927, allocations: 1.737 MB / 386.3 MB, free: 37.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1927, allocations: 0 / 386.3 MB, free: 37.05 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.1927, allocations: 4 kB / 386.3 MB, free: 37.05 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1927, allocations: 4 kB / 386.3 MB, free: 37.04 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.001031/0.1937, allocations: 0.8919 MB / 387.2 MB, free: 36.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.1938, allocations: 12.03 kB / 387.2 MB, free: 36.09 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.1938, allocations: 52.36 kB / 387.2 MB, free: 36.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.1942, allocations: 350.2 kB / 387.6 MB, free: 35.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1942, allocations: 16.66 kB / 387.6 MB, free: 35.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.1942, allocations: 24.38 kB / 387.6 MB, free: 35.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.1945, allocations: 315 kB / 387.9 MB, free: 35.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.1946, allocations: 0 / 387.9 MB, free: 35.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.1946, allocations: 4 kB / 387.9 MB, free: 35.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1946, allocations: 4 kB / 387.9 MB, free: 35.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.1948, allocations: 151.8 kB / 388.1 MB, free: 35.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008704/0.1957, allocations: 0.6795 MB / 388.7 MB, free: 34.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004828/0.1962, allocations: 319.5 kB / 389.1 MB, free: 34.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.1963, allocations: 109.2 kB / 389.2 MB, free: 33.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.1964, allocations: 4 kB / 389.2 MB, free: 33.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.1964, allocations: 38.5 kB / 389.2 MB, free: 33.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.1964, allocations: 0 / 389.2 MB, free: 33.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.000524/0.1969, allocations: 384.9 kB / 389.6 MB, free: 33.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.197, allocations: 363.8 kB / 389.9 MB, free: 33.07 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1973, allocations: 409.8 kB / 390.3 MB, free: 32.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.1973, allocations: 33.7 kB / 390.4 MB, free: 32.63 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1974, allocations: 196.7 kB / 390.6 MB, free: 32.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1974, allocations: 78.81 kB / 390.6 MB, free: 32.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.935e-05/0.1975, allocations: 109.5 kB / 390.7 MB, free: 32.24 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.1976, allocations: 358.7 kB / 391.1 MB, free: 31.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002404/0.1979, allocations: 212.4 kB / 391.3 MB, free: 31.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.1981, allocations: 316.5 kB / 391.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/0.1986, allocations: 401.6 kB / 392 MB, free: 30.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1986, allocations: 0 / 392 MB, free: 30.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008082/0.1994, allocations: 0.6535 MB / 392.7 MB, free: 30.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1994, allocations: 8 kB / 392.7 MB, free: 30.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.1994, allocations: 8 kB / 392.7 MB, free: 30.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000347/0.1998, allocations: 130.5 kB / 392.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.2, allocations: 63.89 kB / 392.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.2021, allocations: 4.227 MB / 397.1 MB, free: 25.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.2023, allocations: 51.45 kB / 397.1 MB, free: 25.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.2023, allocations: 11.94 kB / 397.2 MB, free: 25.36 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.0001352/0.2024, allocations: 173.8 kB / 397.3 MB, free: 25.18 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.2025, allocations: 39.47 kB / 397.4 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.26e-05/0.2026, allocations: 47.75 kB / 397.4 MB, free: 25.1 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2026, allocations: 8.078 kB / 397.4 MB, free: 25.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.2026, allocations: 7.922 kB / 397.4 MB, free: 25.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2026, allocations: 4 kB / 397.4 MB, free: 25.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.2028, allocations: 345.3 kB / 397.8 MB, free: 24.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2029, allocations: 0 / 397.8 MB, free: 24.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.2031, allocations: 43.91 kB / 397.8 MB, free: 24.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2031, allocations: 3.938 kB / 397.8 MB, free: 24.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.2031, allocations: 15.98 kB / 397.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2032, allocations: 0 / 397.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2032, allocations: 0 / 397.8 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002754/0.2059, allocations: 2.788 MB / 400.6 MB, free: 21.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.369e-05/0.206, allocations: 116.6 kB / 400.7 MB, free: 21.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.85e-05/0.206, allocations: 11.98 kB / 400.7 MB, free: 21.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.2062, allocations: 15.98 kB / 400.8 MB, free: 21.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.2062, allocations: 19.86 kB / 400.8 MB, free: 21.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.2063, allocations: 8 kB / 400.8 MB, free: 21.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.2064, allocations: 271.1 kB / 401 MB, free: 21.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2065, allocations: 0 / 401 MB, free: 21.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00161/0.2081, allocations: 0.6717 MB / 401.7 MB, free: 20.58 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 (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.001014/0.2091, allocations: 0.6671 MB / 402.4 MB, free: 19.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009884/0.2101, allocations: 0.9462 MB / 403.3 MB, free: 18.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2101, allocations: 4 kB / 403.3 MB, free: 18.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.2103, allocations: 124.7 kB / 403.5 MB, free: 18.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005142/0.2108, allocations: 108.9 kB / 403.6 MB, free: 18.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.2119, allocations: 1.212 MB / 404.8 MB, free: 17.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.2121, allocations: 0.8465 MB / 405.6 MB, free: 16.53 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000159/0.2123, allocations: 74.92 kB / 405.7 MB, free: 16.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.2124, allocations: 27.44 kB / 405.7 MB, free: 16.43 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2124, allocations: 0 / 405.7 MB, free: 16.43 MB / 298.7 MB Notification: Performance of Templates: time 0.01401/0.2264, allocations: 13.37 MB / 419.1 MB, free: 3.059 MB / 298.7 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@2/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