Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009237/0.0009237, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0008129/0.0008129, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8744/0.8744, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1382/0.1382, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 406.9 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.581e-05/2.759e-05, allocations: 10.02 kB / 406.9 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003042/0.00307, allocations: 2.434 MB / 409.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005642/0.008712, allocations: 4.19 MB / 413.5 MB, free: 11.54 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004706/0.009183, allocations: 35.56 kB / 413.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007463/0.009929, allocations: 378.1 kB / 413.9 MB, free: 11.14 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.01018, allocations: 99.09 kB / 414 MB, free: 11.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004747/0.01493, allocations: 2.773 MB / 416.8 MB, free: 8.266 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.01621, allocations: 1.216 MB / 418 MB, free: 7.047 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.01641, allocations: 53.89 kB / 418 MB, free: 6.988 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008337/0.01725, allocations: 0.5653 MB / 418.6 MB, free: 6.422 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004416/0.01769, allocations: 347 kB / 419 MB, free: 6.082 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.226e-05/0.01778, allocations: 56 kB / 419 MB, free: 6.027 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.01995, allocations: 1.889 MB / 420.9 MB, free: 4.137 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.02027, allocations: 330.8 kB / 421.2 MB, free: 3.812 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002071/0.02047, allocations: 247.2 kB / 421.5 MB, free: 3.57 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.02346, allocations: 2.611 MB / 424.1 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.02346, allocations: 0 / 424.1 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.02347, allocations: 3.938 kB / 424.1 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.032e-05/0.0235, allocations: 0 / 424.1 MB, free: 0.9492 MB / 394.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.002341/0.02584, allocations: 1.415 MB / 425.5 MB, free: 15.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.666e-05/0.0259, allocations: 12.03 kB / 425.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.061e-05/0.02599, allocations: 74.72 kB / 425.6 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.02617, allocations: 116.2 kB / 425.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007057/0.02688, allocations: 0.5293 MB / 426.2 MB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.02691, allocations: 37.38 kB / 426.3 MB, free: 14.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/0.02702, allocations: 68.28 kB / 426.3 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.02815, allocations: 1.3 MB / 427.6 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.02816, allocations: 3.938 kB / 427.6 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.0282, allocations: 23.98 kB / 427.6 MB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.02821, allocations: 8 kB / 427.7 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.02867, allocations: 371.7 kB / 428 MB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/0.03029, allocations: 1.203 MB / 429.2 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009836/0.03127, allocations: 0.8334 MB / 430.1 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002812/0.03156, allocations: 286.2 kB / 430.3 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.03158, allocations: 4.5 kB / 430.3 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.03162, allocations: 47.06 kB / 430.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=53): time 3.086e-06/0.03162, allocations: 0 / 430.4 MB, free: 10.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=53): time 0.001331/0.03295, allocations: 0.9689 MB / 431.4 MB, free: 9.285 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/0.03316, allocations: 0.6726 MB / 432 MB, free: 8.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006415/0.0338, allocations: 0.842 MB / 432.9 MB, free: 7.586 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.03385, allocations: 53.7 kB / 432.9 MB, free: 7.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.03404, allocations: 365.6 kB / 433.3 MB, free: 7.164 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.03416, allocations: 234 kB / 433.5 MB, free: 6.934 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.03437, allocations: 250.5 kB / 433.7 MB, free: 6.684 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.03452, allocations: 418.7 kB / 434.2 MB, free: 6.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.03511, allocations: 0.5885 MB / 434.7 MB, free: 5.676 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.03596, allocations: 1.44 MB / 436.2 MB, free: 4.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.03697, allocations: 1.12 MB / 437.3 MB, free: 2.891 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.03697, allocations: 0 / 437.3 MB, free: 2.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002443/0.03941, allocations: 1.929 MB / 439.2 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.03944, allocations: 11.44 kB / 439.2 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.844e-05/0.03948, allocations: 15.98 kB / 439.3 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008362/0.04031, allocations: 0.4978 MB / 439.8 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.04064, allocations: 135.9 kB / 439.9 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01035/0.05099, allocations: 16.93 MB / 456.8 MB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006164/0.0516, allocations: 130.8 kB / 456.9 MB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.567e-05/0.05166, allocations: 35.98 kB / 457 MB, free: 13.75 MB / 442.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.0004072/0.05207, allocations: 285.6 kB / 457.3 MB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/0.05216, allocations: 91.34 kB / 457.4 MB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.05226, allocations: 109.4 kB / 457.5 MB, free: 13.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.05227, allocations: 8 kB / 457.5 MB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.05228, allocations: 0 / 457.5 MB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.05228, allocations: 3.984 kB / 457.5 MB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.0528, allocations: 0.5397 MB / 458 MB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.05281, allocations: 0 / 458 MB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.05319, allocations: 107.8 kB / 458.1 MB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.0532, allocations: 7.984 kB / 458.1 MB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.325e-05/0.05324, allocations: 27.98 kB / 458.1 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.05324, allocations: 4 kB / 458.2 MB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.05325, allocations: 0 / 458.2 MB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.05461, allocations: 1.165 MB / 459.3 MB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.848e-05/0.05469, allocations: 79.33 kB / 459.4 MB, free: 11.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.05476, allocations: 35.97 kB / 459.4 MB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.05494, allocations: 31.97 kB / 459.5 MB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.05502, allocations: 36.38 kB / 459.5 MB, free: 11.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.05504, allocations: 16 kB / 459.5 MB, free: 11.15 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004991/0.05554, allocations: 0.5386 MB / 460.1 MB, free: 10.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.05554, allocations: 0 / 460.1 MB, free: 10.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002011/0.05755, allocations: 0.769 MB / 460.8 MB, free: 9.832 MB / 442.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.002685/0.06024, allocations: 2.428 MB / 463.2 MB, free: 7.383 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002753/0.06299, allocations: 2.892 MB / 466.1 MB, free: 4.238 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.063, allocations: 0 / 466.1 MB, free: 4.238 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.06333, allocations: 322.7 kB / 466.5 MB, free: 3.926 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006314/0.06396, allocations: 234.1 kB / 466.7 MB, free: 3.699 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1736/0.2376, allocations: 10.24 MB / 476.9 MB, free: 94.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.2379, allocations: 493.9 kB / 477.4 MB, free: 94.24 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003727/0.2383, allocations: 164 kB / 477.6 MB, free: 94.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.2386, allocations: 340.7 kB / 477.9 MB, free: 93.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2386, allocations: 0 / 477.9 MB, free: 93.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.2914, allocations: 31.67 MB / 0.4976 GB, free: 85.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/7.888, allocations: 19.41 kB / 0.4976 GB, free: 85.68 MB / 442.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.094891984015703]