Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008381/0.0008381, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008192/0.0008192, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8749/0.8749, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 32.79 MB / 293.5 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.18e-05, allocations: 2.281 kB / 439.6 MB, free: 4.207 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003646/0.003667, allocations: 2.457 MB / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.1694, allocations: 4.194 MB / 446.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003145/0.1698, allocations: 36.47 kB / 446.3 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.1704, allocations: 368.7 kB / 446.7 MB, free: 42.96 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1705, allocations: 99.23 kB / 446.8 MB, free: 42.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.1745, allocations: 2.786 MB / 449.5 MB, free: 42.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.1752, allocations: 1.214 MB / 450.8 MB, free: 41.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.1754, allocations: 46.66 kB / 450.8 MB, free: 41.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003633/0.1757, allocations: 0.569 MB / 451.4 MB, free: 41.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.176, allocations: 351.8 kB / 451.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.546e-05/0.1761, allocations: 54.56 kB / 451.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001608/0.1777, allocations: 1.913 MB / 453.7 MB, free: 40.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002189/0.1779, allocations: 318.7 kB / 454 MB, free: 40.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.178, allocations: 245.2 kB / 454.2 MB, free: 40.34 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001597/0.1796, allocations: 2.622 MB / 456.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1796, allocations: 0 / 456.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1796, allocations: 0 / 456.9 MB, free: 39.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.41e-05/0.1796, allocations: 0 / 456.9 MB, free: 39.59 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001546/0.1812, allocations: 1.427 MB / 458.3 MB, free: 38.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.1812, allocations: 9.625 kB / 458.3 MB, free: 38.76 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.757e-05/0.1813, allocations: 78.09 kB / 458.4 MB, free: 38.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1814, allocations: 115.3 kB / 458.5 MB, free: 38.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.1819, allocations: 0.5281 MB / 459 MB, free: 38.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1819, allocations: 36.97 kB / 459 MB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.182, allocations: 70.34 kB / 459.1 MB, free: 38.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.1826, allocations: 1.299 MB / 460.4 MB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1826, allocations: 0 / 460.4 MB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.1826, allocations: 27.55 kB / 460.4 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.1826, allocations: 6.531 kB / 460.4 MB, free: 37.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.183, allocations: 372.1 kB / 460.8 MB, free: 36.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1843, allocations: 1.203 MB / 462 MB, free: 36.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008306/0.1851, allocations: 0.8308 MB / 462.8 MB, free: 36.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1853, allocations: 283.3 kB / 463.1 MB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.1854, allocations: 3.812 kB / 463.1 MB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.1854, allocations: 41.66 kB / 463.2 MB, free: 36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 1.593e-06/0.1854, allocations: 0 / 463.2 MB, free: 36 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.0008964/0.1863, allocations: 0.9756 MB / 464.1 MB, free: 35.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.1864, allocations: 0.6741 MB / 464.8 MB, free: 34.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.1869, allocations: 0.8499 MB / 465.7 MB, free: 34.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.1869, allocations: 44.23 kB / 465.7 MB, free: 34.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.187, allocations: 367 kB / 466.1 MB, free: 34.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.1871, allocations: 228.9 kB / 466.3 MB, free: 33.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.1873, allocations: 250.9 kB / 466.5 MB, free: 33.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.1873, allocations: 416.1 kB / 466.9 MB, free: 33.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004343/0.1878, allocations: 0.5865 MB / 467.5 MB, free: 33.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/0.1884, allocations: 1.435 MB / 469 MB, free: 32.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008318/0.1892, allocations: 1.132 MB / 470.1 MB, free: 31.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1892, allocations: 0 / 470.1 MB, free: 31.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001576/0.1908, allocations: 1.928 MB / 472 MB, free: 30.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.1908, allocations: 6.031 kB / 472 MB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.032e-05/0.1908, allocations: 15.94 kB / 472 MB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.1915, allocations: 0.4967 MB / 472.5 MB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.1918, allocations: 137.7 kB / 472.7 MB, free: 30.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005022/0.1968, allocations: 16.93 MB / 489.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.1972, allocations: 132 kB / 489.7 MB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.1972, allocations: 29.66 kB / 489.8 MB, free: 14.96 MB / 410.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 (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002867/0.1975, allocations: 292.5 kB / 490 MB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.1976, allocations: 92.64 kB / 490.1 MB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.1977, allocations: 104.7 kB / 490.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1977, allocations: 2.625 kB / 490.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.1977, allocations: 7.312 kB / 490.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1977, allocations: 3.328 kB / 490.3 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/0.1981, allocations: 0.5442 MB / 490.8 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1981, allocations: 0 / 490.8 MB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.1984, allocations: 105.9 kB / 490.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1984, allocations: 2.188 kB / 490.9 MB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/0.1985, allocations: 31.98 kB / 490.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1985, allocations: 1.406 kB / 490.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1985, allocations: 1.469 kB / 490.9 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009568/0.1994, allocations: 1.154 MB / 492.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.1995, allocations: 87.16 kB / 492.2 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/0.1996, allocations: 38.31 kB / 492.2 MB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1997, allocations: 35.39 kB / 492.2 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/0.1998, allocations: 34.59 kB / 492.3 MB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1998, allocations: 17.84 kB / 492.3 MB, free: 13.72 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004061/0.2002, allocations: 0.5413 MB / 492.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2002, allocations: 0 / 492.8 MB, free: 13.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001882/0.2021, allocations: 0.765 MB / 493.6 MB, free: 13.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * 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 (53): * Single equations (assignments): 53 * 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.002537/0.2046, allocations: 2.435 MB / 496 MB, free: 28.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.2068, allocations: 2.891 MB / 498.9 MB, free: 26.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.2069, allocations: 0.9375 kB / 498.9 MB, free: 26.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.2072, allocations: 330.8 kB / 499.3 MB, free: 26.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006254/0.2078, allocations: 222 kB / 499.5 MB, free: 26.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.2184, allocations: 10.25 MB / 0.4978 GB, free: 21.72 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.2189, allocations: 498 kB / 0.4983 GB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003904/0.2193, allocations: 162.7 kB / 0.4984 GB, free: 21.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.2196, allocations: 341.4 kB / 0.4987 GB, free: 21.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.2196, allocations: 0 / 0.4987 GB, free: 21.29 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05006/0.2697, allocations: 31.72 MB / 0.5297 GB, free: 11.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.398, allocations: 3.781 kB / 0.5297 GB, free: 11.38 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.491315032355487]