Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00119/0.00119, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001049/0.001049, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9341/0.9341, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2485/0.2485, allocations: 34.24 MB / 294.8 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.933e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.1908/0.1908, allocations: 2.452 MB / 444.6 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.1958, allocations: 4.195 MB / 448.8 MB, free: 41.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003767/0.1961, allocations: 35.91 kB / 448.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006654/0.1968, allocations: 374.1 kB / 449.2 MB, free: 40.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002116/0.197, allocations: 101.7 kB / 449.3 MB, free: 40.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004428/0.2015, allocations: 2.769 MB / 452.1 MB, free: 39.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008907/0.2023, allocations: 1.216 MB / 453.3 MB, free: 39.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.2025, allocations: 58.69 kB / 453.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.2028, allocations: 0.5653 MB / 453.9 MB, free: 39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002568/0.2031, allocations: 346.8 kB / 454.3 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.2032, allocations: 54.88 kB / 454.3 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.2049, allocations: 1.906 MB / 456.2 MB, free: 38.32 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.2051, allocations: 320.7 kB / 456.6 MB, free: 38.17 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.2052, allocations: 247.5 kB / 456.8 MB, free: 38.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.2067, allocations: 2.621 MB / 459.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2067, allocations: 3.328 kB / 459.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2068, allocations: 0 / 459.4 MB, free: 37.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.2068, allocations: 4 kB / 459.4 MB, free: 37.3 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.001444/0.2082, allocations: 1.421 MB / 460.8 MB, free: 36.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.2082, allocations: 10 kB / 460.9 MB, free: 36.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.706e-05/0.2083, allocations: 80.7 kB / 460.9 MB, free: 36.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.699e-05/0.2084, allocations: 114 kB / 461 MB, free: 36.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004732/0.2089, allocations: 0.5174 MB / 461.6 MB, free: 36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.2089, allocations: 39.62 kB / 461.6 MB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.501e-05/0.209, allocations: 73.91 kB / 461.7 MB, free: 35.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.2096, allocations: 1.302 MB / 463 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.2096, allocations: 3.938 kB / 463 MB, free: 34.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.2096, allocations: 18.31 kB / 463 MB, free: 34.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.2096, allocations: 11.41 kB / 463 MB, free: 34.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003451/0.21, allocations: 371 kB / 463.4 MB, free: 34.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.2112, allocations: 1.206 MB / 464.6 MB, free: 34.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.2121, allocations: 0.8231 MB / 465.4 MB, free: 33.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.2123, allocations: 281.6 kB / 465.7 MB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2123, allocations: 7.094 kB / 465.7 MB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.2124, allocations: 49.06 kB / 465.7 MB, free: 33.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 1.753e-06/0.2124, allocations: 0 / 465.7 MB, free: 33.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.0008862/0.2132, allocations: 0.9768 MB / 466.7 MB, free: 33.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.2133, allocations: 0.6734 MB / 467.4 MB, free: 32.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.2139, allocations: 0.848 MB / 468.2 MB, free: 32.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.2139, allocations: 48.08 kB / 468.3 MB, free: 32.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.214, allocations: 362.8 kB / 468.6 MB, free: 31.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.142e-05/0.2141, allocations: 225.5 kB / 468.9 MB, free: 31.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.2143, allocations: 249.3 kB / 469.1 MB, free: 31.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.2144, allocations: 417 kB / 469.5 MB, free: 31.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004677/0.2149, allocations: 0.5886 MB / 470.1 MB, free: 31.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005878/0.2154, allocations: 1.442 MB / 471.5 MB, free: 29.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008459/0.2163, allocations: 1.124 MB / 472.7 MB, free: 29.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.2163, allocations: 0 / 472.7 MB, free: 29.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001616/0.2179, allocations: 1.926 MB / 474.6 MB, free: 28.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2179, allocations: 8.469 kB / 474.6 MB, free: 28.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.827e-05/0.218, allocations: 15.56 kB / 474.6 MB, free: 28.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.2186, allocations: 0.4978 MB / 475.1 MB, free: 28.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.2189, allocations: 141.2 kB / 475.2 MB, free: 28.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.2244, allocations: 16.92 MB / 492.2 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.2248, allocations: 128.2 kB / 492.3 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.2249, allocations: 28.72 kB / 492.3 MB, free: 12.67 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.0003611/0.2253, allocations: 299.8 kB / 492.6 MB, free: 12.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.2254, allocations: 89.55 kB / 492.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.662e-05/0.2254, allocations: 107.7 kB / 492.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2254, allocations: 4.594 kB / 492.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2255, allocations: 1.219 kB / 492.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.2255, allocations: 4 kB / 492.8 MB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004549/0.2259, allocations: 0.5435 MB / 493.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2259, allocations: 0 / 493.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003917/0.2263, allocations: 107.6 kB / 493.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2263, allocations: 6.219 kB / 493.5 MB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.805e-05/0.2264, allocations: 27.16 kB / 493.5 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2264, allocations: 6.125 kB / 493.5 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2264, allocations: 1.188 kB / 493.5 MB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.2275, allocations: 1.163 MB / 494.7 MB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.2276, allocations: 95.33 kB / 494.8 MB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.2276, allocations: 30.7 kB / 494.8 MB, free: 11.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.2278, allocations: 33.44 kB / 494.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.2279, allocations: 33.69 kB / 494.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.2279, allocations: 13.47 kB / 494.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004381/0.2283, allocations: 0.5362 MB / 495.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2283, allocations: 0 / 495.4 MB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00232/0.2306, allocations: 0.7673 MB / 496.2 MB, free: 11.14 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.002872/0.2335, allocations: 2.444 MB / 498.6 MB, free: 26.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.2362, allocations: 2.891 MB / 0.4897 GB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.2362, allocations: 1.375 kB / 0.4897 GB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.2366, allocations: 327.2 kB / 0.4901 GB, free: 23.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006901/0.2372, allocations: 225.2 kB / 0.4903 GB, free: 23.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.2497, allocations: 10.24 MB / 0.5003 GB, free: 19.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/0.2502, allocations: 490 kB / 0.5007 GB, free: 19.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.2507, allocations: 171.5 kB / 0.5009 GB, free: 19.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.251, allocations: 339.9 kB / 0.5012 GB, free: 19 MB / 426.7 MB Notification: Performance of SimCode: time 1.873e-06/0.251, allocations: 1.156 kB / 0.5012 GB, free: 19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05691/0.3079, allocations: 31.71 MB / 0.5322 GB, free: 7.609 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.101/8.409, allocations: 7.5 kB / 0.5322 GB, free: 7.605 MB / 442.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.60198333952576]