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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 118.4 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 183.8 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2248/0.2248, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 67.89 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3754, allocations: 60.81 MB / 0.5185 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003685/0.3791, allocations: 2.648 MB / 0.521 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007461/0.3866, allocations: 4.369 MB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/0.3873, allocations: 19.81 kB / 0.5253 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008557/0.3882, allocations: 349.7 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002977/0.3885, allocations: 86.27 kB / 0.5257 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00736/0.3959, allocations: 2.637 MB / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001987/0.3979, allocations: 1.173 MB / 0.5295 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.3981, allocations: 87.45 kB / 0.5295 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006357/0.3988, allocations: 430.5 kB / 0.53 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005934/0.3994, allocations: 408.4 kB / 0.5303 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3995, allocations: 60.09 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.403, allocations: 1.816 MB / 0.5322 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.4035, allocations: 306.8 kB / 0.5325 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006947/0.4042, allocations: 399.1 kB / 0.5329 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003781/0.408, allocations: 2.29 MB / 0.5351 GB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.408, allocations: 0 / 0.5351 GB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.408, allocations: 9.047 kB / 0.5351 GB, free: 8.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4081, allocations: 0 / 0.5351 GB, free: 8.961 MB / 398.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.003114/0.4112, allocations: 1.501 MB / 0.5366 GB, free: 7.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.4112, allocations: 9.906 kB / 0.5366 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.4114, allocations: 73.53 kB / 0.5366 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.4116, allocations: 111.1 kB / 0.5367 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4127, allocations: 0.5962 MB / 0.5373 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.4128, allocations: 42.19 kB / 0.5374 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001617/0.4129, allocations: 73.12 kB / 0.5374 GB, free: 7.234 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.4142, allocations: 0.6974 MB / 0.5381 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4142, allocations: 1.406 kB / 0.5381 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.4143, allocations: 17.91 kB / 0.5381 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4143, allocations: 8.219 kB / 0.5381 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.415, allocations: 367.7 kB / 0.5385 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.4181, allocations: 1.361 MB / 0.5398 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.4197, allocations: 0.8348 MB / 0.5406 GB, free: 5.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.4202, allocations: 286 kB / 0.5409 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.4203, allocations: 8.438 kB / 0.5409 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.4203, allocations: 47.11 kB / 0.541 GB, free: 4.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.796e-06/0.4203, allocations: 0 / 0.541 GB, free: 4.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.002023/0.4224, allocations: 0.9721 MB / 0.5419 GB, free: 3.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004573/0.4228, allocations: 0.6726 MB / 0.5426 GB, free: 2.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.4241, allocations: 0.8459 MB / 0.5434 GB, free: 2.09 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001071/0.4242, allocations: 41.7 kB / 0.5434 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.4246, allocations: 369.6 kB / 0.5438 GB, free: 1.676 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002196/0.4248, allocations: 226.1 kB / 0.544 GB, free: 1.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004058/0.4252, allocations: 254.5 kB / 0.5443 GB, free: 1.199 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000258/0.4255, allocations: 414.7 kB / 0.5446 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.4264, allocations: 0.5885 MB / 0.5452 GB, free: 204 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001151/0.4276, allocations: 0.834 MB / 0.546 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.4293, allocations: 1.128 MB / 0.5471 GB, free: 14.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.4293, allocations: 0 / 0.5471 GB, free: 14.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003338/0.4326, allocations: 1.926 MB / 0.549 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.4327, allocations: 6.344 kB / 0.549 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-05/0.4327, allocations: 19.98 kB / 0.549 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.4342, allocations: 0.4939 MB / 0.5495 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.4348, allocations: 143.8 kB / 0.5497 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01684/0.4517, allocations: 18.21 MB / 0.5674 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007322/0.4524, allocations: 142.8 kB / 0.5676 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.4525, allocations: 24 kB / 0.5676 GB, free: 7.438 MB / 430.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.0005485/0.4531, allocations: 289.6 kB / 0.5679 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.4532, allocations: 91.34 kB / 0.568 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.4534, allocations: 105.3 kB / 0.5681 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.4535, allocations: 4 kB / 0.5681 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4535, allocations: 4 kB / 0.5681 GB, free: 6.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4535, allocations: 11.92 kB / 0.5681 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.4544, allocations: 0.6264 MB / 0.5687 GB, free: 6.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4544, allocations: 4 kB / 0.5687 GB, free: 6.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.4551, allocations: 103.9 kB / 0.5688 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4551, allocations: 3.984 kB / 0.5688 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.4552, allocations: 31.98 kB / 0.5688 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.4552, allocations: 0 / 0.5688 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4552, allocations: 0 / 0.5688 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.4569, allocations: 1.171 MB / 0.57 GB, free: 4.926 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.4571, allocations: 160.4 kB / 0.5701 GB, free: 4.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.4572, allocations: 35.97 kB / 0.5702 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.4576, allocations: 27.97 kB / 0.5702 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4577, allocations: 32.39 kB / 0.5702 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/0.4577, allocations: 15.94 kB / 0.5702 GB, free: 4.641 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007248/0.4585, allocations: 0.5386 MB / 0.5708 GB, free: 4.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4585, allocations: 0 / 0.5708 GB, free: 4.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003254/0.4617, allocations: 0.7729 MB / 0.5715 GB, free: 3.316 MB / 430.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.004251/0.466, allocations: 2.3 MB / 0.5738 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004501/0.4705, allocations: 2.993 MB / 0.5767 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.4706, allocations: 4 kB / 0.5767 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.4711, allocations: 334.2 kB / 0.577 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.4722, allocations: 227 kB / 0.5772 GB, free: 13.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01626/0.4885, allocations: 10.38 MB / 0.5874 GB, free: 2.625 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009376/0.4895, allocations: 1.09 MB / 0.5884 GB, free: 1.504 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006112/0.4901, allocations: 161.2 kB / 0.5886 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005292/0.4907, allocations: 335.3 kB / 0.5889 GB, free: 1.016 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4907, allocations: 0 / 0.5889 GB, free: 1.016 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/0.6006, allocations: 29.61 MB / 0.6178 GB, free: 3.602 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.64, allocations: 23.47 kB / 0.6178 GB, free: 3.582 MB / 478.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches