Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0008405/0.0008405, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008979/0.0008979, allocations: 170 kB / 23.95 MB, free: 0.6016 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.889/0.889, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2281/0.2281, allocations: 34.25 MB / 294.9 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.772e-05, allocations: 2.281 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.1826/0.1826, allocations: 2.448 MB / 444.7 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.1872, allocations: 4.206 MB / 448.9 MB, free: 41.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.1875, allocations: 36.28 kB / 448.9 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005412/0.188, allocations: 375.8 kB / 449.3 MB, free: 40.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.1881, allocations: 99.92 kB / 449.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003912/0.1921, allocations: 2.772 MB / 452.1 MB, free: 39.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008956/0.1929, allocations: 1.209 MB / 453.3 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.1931, allocations: 48.33 kB / 453.4 MB, free: 39.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003841/0.1935, allocations: 0.5679 MB / 454 MB, free: 39.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.1938, allocations: 347 kB / 454.3 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.1939, allocations: 58.81 kB / 454.4 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.1957, allocations: 1.908 MB / 456.3 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002028/0.1959, allocations: 320.8 kB / 456.6 MB, free: 38.31 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1961, allocations: 245.5 kB / 456.8 MB, free: 38.19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.1977, allocations: 2.625 MB / 459.4 MB, free: 37.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1977, allocations: 3 kB / 459.4 MB, free: 37.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1977, allocations: 0 / 459.4 MB, free: 37.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1977, allocations: 0 / 459.4 MB, free: 37.44 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.00144/0.1991, allocations: 1.43 MB / 460.9 MB, free: 36.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.1992, allocations: 9.469 kB / 460.9 MB, free: 36.6 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.1992, allocations: 73.31 kB / 461 MB, free: 36.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.1993, allocations: 115.5 kB / 461.1 MB, free: 36.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.1998, allocations: 0.5148 MB / 461.6 MB, free: 36.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.1998, allocations: 43.28 kB / 461.6 MB, free: 36.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.632e-05/0.1999, allocations: 72.47 kB / 461.7 MB, free: 36.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006291/0.2005, allocations: 1.304 MB / 463 MB, free: 34.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.2005, allocations: 3.938 kB / 463 MB, free: 34.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.2006, allocations: 18.31 kB / 463 MB, free: 34.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2006, allocations: 9.5 kB / 463 MB, free: 34.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.2009, allocations: 373 kB / 463.4 MB, free: 34.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2022, allocations: 1.206 MB / 464.6 MB, free: 34.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008612/0.2031, allocations: 0.8242 MB / 465.4 MB, free: 33.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002431/0.2033, allocations: 283.6 kB / 465.7 MB, free: 33.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.2034, allocations: 6.938 kB / 465.7 MB, free: 33.9 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2034, allocations: 45.16 kB / 465.8 MB, free: 33.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 2.415e-06/0.2034, allocations: 3.938 kB / 465.8 MB, free: 33.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.0009308/0.2043, allocations: 0.9737 MB / 466.7 MB, free: 33.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/0.2044, allocations: 0.6695 MB / 467.4 MB, free: 32.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005174/0.2049, allocations: 0.846 MB / 468.2 MB, free: 32.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.205, allocations: 46.42 kB / 468.3 MB, free: 32.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.2051, allocations: 362.2 kB / 468.6 MB, free: 32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.2052, allocations: 227.7 kB / 468.9 MB, free: 31.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.2054, allocations: 251.8 kB / 469.1 MB, free: 31.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.2055, allocations: 417.5 kB / 469.5 MB, free: 31.37 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004742/0.2059, allocations: 0.5883 MB / 470.1 MB, free: 31.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.2066, allocations: 1.439 MB / 471.5 MB, free: 30.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008862/0.2075, allocations: 1.127 MB / 472.7 MB, free: 29.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2075, allocations: 0 / 472.7 MB, free: 29.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001707/0.2092, allocations: 1.928 MB / 474.6 MB, free: 28.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2092, allocations: 5.531 kB / 474.6 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/0.2092, allocations: 15.41 kB / 474.6 MB, free: 28.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007164/0.2099, allocations: 0.4933 MB / 475.1 MB, free: 28.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.2102, allocations: 146.2 kB / 475.3 MB, free: 28.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0057/0.2159, allocations: 16.92 MB / 492.2 MB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.2164, allocations: 139.8 kB / 492.3 MB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.2164, allocations: 28.16 kB / 492.3 MB, free: 12.8 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.0003211/0.2168, allocations: 294 kB / 492.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.332e-05/0.2168, allocations: 93.81 kB / 492.7 MB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.745e-05/0.2169, allocations: 98.83 kB / 492.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.2169, allocations: 6.25 kB / 492.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.2169, allocations: 0 / 492.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2169, allocations: 7.422 kB / 492.8 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004692/0.2174, allocations: 0.5424 MB / 493.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.2174, allocations: 0 / 493.4 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003974/0.2178, allocations: 103.1 kB / 493.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2178, allocations: 2.219 kB / 493.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.2178, allocations: 31.73 kB / 493.5 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2178, allocations: 2.875 kB / 493.5 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.2178, allocations: 0 / 493.5 MB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2189, allocations: 1.154 MB / 494.7 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.2189, allocations: 96.02 kB / 494.8 MB, free: 11.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.558e-05/0.219, allocations: 38.53 kB / 494.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.2192, allocations: 29.19 kB / 494.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.2193, allocations: 34.17 kB / 494.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.2193, allocations: 14 kB / 494.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004262/0.2197, allocations: 0.5373 MB / 495.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2197, allocations: 0 / 495.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002011/0.2217, allocations: 0.7689 MB / 496.2 MB, free: 11.28 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.002521/0.2242, allocations: 2.441 MB / 498.6 MB, free: 26.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002499/0.2267, allocations: 2.889 MB / 0.4898 GB, free: 24.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2267, allocations: 1.375 kB / 0.4898 GB, free: 24.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003383/0.2271, allocations: 332 kB / 0.4901 GB, free: 24.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.2278, allocations: 230.5 kB / 0.4903 GB, free: 23.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.2384, allocations: 10.25 MB / 0.5003 GB, free: 19.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.2389, allocations: 488.8 kB / 0.5008 GB, free: 19.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.2393, allocations: 167.9 kB / 0.5009 GB, free: 19.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.2396, allocations: 340.4 kB / 0.5013 GB, free: 19.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2396, allocations: 0 / 0.5013 GB, free: 19.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05429/0.2939, allocations: 31.71 MB / 0.5322 GB, free: 7.812 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.748/8.042, allocations: 6.953 kB / 0.5322 GB, free: 7.812 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.198918004520237]