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.002039/0.002039, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 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.002383/0.002383, allocations: 215.5 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.498/1.498, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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.2294/0.2294, allocations: 44.28 MB / 330.4 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002479/0.002479, allocations: 75.89 kB / 467.5 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1417, allocations: 61.04 MB / 0.5162 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004439/0.1462, allocations: 2.448 MB / 0.5186 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009042/0.1552, allocations: 4.191 MB / 0.5227 GB, free: 484 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.1562, allocations: 35.56 kB / 0.5227 GB, free: 448 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.1576, allocations: 374.3 kB / 0.5231 GB, free: 72 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008838/0.1585, allocations: 91.22 kB / 0.5231 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00869/0.1672, allocations: 2.554 MB / 0.5256 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002513/0.1697, allocations: 1.197 MB / 0.5268 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.17, allocations: 49.95 kB / 0.5268 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008375/0.1708, allocations: 454.6 kB / 0.5273 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006795/0.1715, allocations: 398.2 kB / 0.5277 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1716, allocations: 56 kB / 0.5277 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00326/0.1749, allocations: 1.885 MB / 0.5296 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.1754, allocations: 326.8 kB / 0.5299 GB, free: 9.066 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004591/0.1758, allocations: 318.1 kB / 0.5302 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.1791, allocations: 2.329 MB / 0.5324 GB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1791, allocations: 0 / 0.5324 GB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1791, allocations: 0 / 0.5324 GB, free: 6.418 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.7e-05/0.1791, allocations: 0 / 0.5324 GB, free: 6.418 MB / 414.1 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.003052/0.1821, allocations: 1.427 MB / 0.5338 GB, free: 4.957 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.1822, allocations: 8.031 kB / 0.5338 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1823, allocations: 78.72 kB / 0.5339 GB, free: 4.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001988/0.1825, allocations: 116.2 kB / 0.534 GB, free: 4.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.1836, allocations: 0.5223 MB / 0.5345 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/0.1836, allocations: 37.38 kB / 0.5346 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.1838, allocations: 76.06 kB / 0.5347 GB, free: 4.082 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.1854, allocations: 1.295 MB / 0.5359 GB, free: 2.559 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1854, allocations: 3.938 kB / 0.5359 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.1855, allocations: 20 kB / 0.5359 GB, free: 2.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.1855, allocations: 11.94 kB / 0.5359 GB, free: 2.523 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006646/0.1862, allocations: 371.7 kB / 0.5363 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002838/0.189, allocations: 1.195 MB / 0.5375 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.1906, allocations: 0.8295 MB / 0.5383 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2425/0.4331, allocations: 284.9 kB / 0.5386 GB, free: 27.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.191e-05/0.4332, allocations: 6 kB / 0.5386 GB, free: 27.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.4332, allocations: 47.14 kB / 0.5386 GB, free: 27.23 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/0.4332, allocations: 0 / 0.5386 GB, free: 27.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001917/0.4351, allocations: 0.9635 MB / 0.5395 GB, free: 27.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001869/0.4353, allocations: 0.6704 MB / 0.5402 GB, free: 26.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/0.4365, allocations: 0.8499 MB / 0.541 GB, free: 26.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.4366, allocations: 46.92 kB / 0.5411 GB, free: 26.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.4369, allocations: 361.4 kB / 0.5414 GB, free: 26.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4371, allocations: 229.8 kB / 0.5416 GB, free: 26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003786/0.4374, allocations: 251.7 kB / 0.5419 GB, free: 25.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4376, allocations: 417.7 kB / 0.5423 GB, free: 25.68 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.4385, allocations: 0.5892 MB / 0.5429 GB, free: 25.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4397, allocations: 1.438 MB / 0.5443 GB, free: 24.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001827/0.4416, allocations: 1.129 MB / 0.5454 GB, free: 24.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.4416, allocations: 0 / 0.5454 GB, free: 24.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003622/0.4452, allocations: 1.923 MB / 0.5472 GB, free: 23.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.4452, allocations: 7.781 kB / 0.5472 GB, free: 23.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.525e-05/0.4453, allocations: 17.69 kB / 0.5473 GB, free: 23.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001381/0.4467, allocations: 0.4941 MB / 0.5477 GB, free: 23.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.4472, allocations: 141.5 kB / 0.5479 GB, free: 23.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.4575, allocations: 16.94 MB / 0.5644 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.4581, allocations: 134.1 kB / 0.5646 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.4582, allocations: 29.45 kB / 0.5646 GB, free: 7.539 MB / 414.1 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.0004303/0.4586, allocations: 282 kB / 0.5649 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.4587, allocations: 95.61 kB / 0.5649 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.4589, allocations: 100.9 kB / 0.565 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4589, allocations: 11.34 kB / 0.565 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.4589, allocations: 1.719 kB / 0.5651 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4589, allocations: 2.578 kB / 0.5651 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000665/0.4596, allocations: 0.5341 MB / 0.5656 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4596, allocations: 6.172 kB / 0.5656 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000681/0.4603, allocations: 106.7 kB / 0.5657 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4603, allocations: 2.375 kB / 0.5657 GB, free: 6.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/0.4604, allocations: 29.53 kB / 0.5657 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4604, allocations: 7.016 kB / 0.5657 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4604, allocations: 0 / 0.5657 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.4619, allocations: 1.16 MB / 0.5669 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.462, allocations: 90.17 kB / 0.5669 GB, free: 6.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4621, allocations: 38.88 kB / 0.567 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.4625, allocations: 32.95 kB / 0.567 GB, free: 6.363 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.208e-05/0.4626, allocations: 36.19 kB / 0.567 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/0.4626, allocations: 18.25 kB / 0.5671 GB, free: 6.352 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006626/0.4633, allocations: 0.5382 MB / 0.5676 GB, free: 6.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4633, allocations: 0 / 0.5676 GB, free: 6.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00254/0.4658, allocations: 0.7641 MB / 0.5683 GB, free: 6.09 MB / 414.1 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.003487/0.4693, allocations: 2.292 MB / 0.5706 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003918/0.4732, allocations: 2.894 MB / 0.5734 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.4732, allocations: 3.844 kB / 0.5734 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.4737, allocations: 330.8 kB / 0.5737 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4748, allocations: 234.3 kB / 0.5739 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/0.4909, allocations: 10.35 MB / 0.5841 GB, free: 14.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.4916, allocations: 0.4919 MB / 0.5845 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000594/0.4922, allocations: 158 kB / 0.5847 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/0.4927, allocations: 336.1 kB / 0.585 GB, free: 13.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.493e-06/0.4927, allocations: 0 / 0.585 GB, free: 13.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09945/0.5922, allocations: 31.48 MB / 0.6157 GB, free: 352 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.74, allocations: 7.891 kB / 0.6157 GB, free: 344 kB / 446.1 MB " [Timeout remaining time 646] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/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: 17.10095945885405]