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.001149/0.001149, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.00131/0.00131, allocations: 184.1 kB / 18.71 MB, free: 4.363 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.508/1.508, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2327/0.2327, allocations: 44.19 MB / 336.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 71.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4159, allocations: 60.82 MB / 0.5185 GB, free: 3.148 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004007/0.42, allocations: 2.649 MB / 0.521 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008276/0.4283, allocations: 4.36 MB / 0.5253 GB, free: 14.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006777/0.429, allocations: 22.91 kB / 0.5253 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.4302, allocations: 350.8 kB / 0.5257 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005447/0.4307, allocations: 95.95 kB / 0.5257 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008725/0.4395, allocations: 2.635 MB / 0.5283 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.4416, allocations: 1.18 MB / 0.5295 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.442, allocations: 84.14 kB / 0.5296 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.4433, allocations: 435 kB / 0.53 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.4445, allocations: 413 kB / 0.5304 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.4449, allocations: 54.94 kB / 0.5304 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006295/0.4512, allocations: 1.817 MB / 0.5322 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.4519, allocations: 306.1 kB / 0.5325 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008465/0.4527, allocations: 399 kB / 0.5329 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005924/0.4587, allocations: 2.298 MB / 0.5351 GB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.4587, allocations: 0 / 0.5351 GB, free: 8.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4587, allocations: 0 / 0.5351 GB, free: 8.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.814e-05/0.4588, allocations: 1.062 kB / 0.5351 GB, free: 8.852 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.005639/0.4644, allocations: 1.499 MB / 0.5366 GB, free: 7.797 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.01e-05/0.4645, allocations: 9.188 kB / 0.5366 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002772/0.4648, allocations: 74.19 kB / 0.5367 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005452/0.4654, allocations: 115 kB / 0.5368 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00154/0.4669, allocations: 0.6007 MB / 0.5373 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/0.467, allocations: 37.16 kB / 0.5374 GB, free: 7.156 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.4673, allocations: 74.12 kB / 0.5375 GB, free: 7.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.4688, allocations: 0.6933 MB / 0.5381 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.4688, allocations: 1.406 kB / 0.5381 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.4689, allocations: 21.72 kB / 0.5382 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.4689, allocations: 8.312 kB / 0.5382 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008586/0.4698, allocations: 371.9 kB / 0.5385 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.4733, allocations: 1.357 MB / 0.5398 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.4753, allocations: 0.8347 MB / 0.5407 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/0.4758, allocations: 294 kB / 0.5409 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.4758, allocations: 8.438 kB / 0.5409 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/0.4759, allocations: 43.12 kB / 0.541 GB, free: 4.656 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 3.286e-06/0.4759, allocations: 0 / 0.541 GB, free: 4.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001852/0.4778, allocations: 0.9682 MB / 0.5419 GB, free: 3.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003515/0.4781, allocations: 0.6687 MB / 0.5426 GB, free: 2.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.4795, allocations: 0.8498 MB / 0.5434 GB, free: 1.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.4796, allocations: 45.7 kB / 0.5435 GB, free: 1.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.48, allocations: 365.6 kB / 0.5438 GB, free: 1.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.4802, allocations: 226.1 kB / 0.544 GB, free: 1.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.4806, allocations: 258.4 kB / 0.5443 GB, free: 1.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.4809, allocations: 418.7 kB / 0.5447 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.482, allocations: 0.5885 MB / 0.5452 GB, free: 84 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.4832, allocations: 0.8262 MB / 0.546 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.4849, allocations: 1.136 MB / 0.5472 GB, free: 14.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.4849, allocations: 0 / 0.5472 GB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003405/0.4883, allocations: 1.922 MB / 0.549 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4884, allocations: 7.938 kB / 0.549 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/0.4884, allocations: 23.97 kB / 0.5491 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.49, allocations: 0.4939 MB / 0.5495 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.4907, allocations: 139.8 kB / 0.5497 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.5066, allocations: 18.21 MB / 0.5675 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009358/0.5076, allocations: 138.8 kB / 0.5676 GB, free: 7.348 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/0.5078, allocations: 24 kB / 0.5676 GB, free: 7.324 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.0007366/0.5085, allocations: 285.7 kB / 0.5679 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.5088, allocations: 99.34 kB / 0.568 GB, free: 6.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.5091, allocations: 101.4 kB / 0.5681 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5091, allocations: 4 kB / 0.5681 GB, free: 6.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/0.5091, allocations: 4 kB / 0.5681 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.5092, allocations: 7.922 kB / 0.5681 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.5103, allocations: 0.6264 MB / 0.5687 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5103, allocations: 0 / 0.5687 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.5112, allocations: 111.8 kB / 0.5688 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.5112, allocations: 4 kB / 0.5688 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.5113, allocations: 27.98 kB / 0.5688 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.5114, allocations: 0 / 0.5688 GB, free: 6.008 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.5114, allocations: 3.984 kB / 0.5688 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/0.5134, allocations: 1.171 MB / 0.57 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.5137, allocations: 160.4 kB / 0.5701 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.514, allocations: 35.97 kB / 0.5702 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.5144, allocations: 27.97 kB / 0.5702 GB, free: 4.574 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.5146, allocations: 32.39 kB / 0.5702 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.5146, allocations: 19.94 kB / 0.5703 GB, free: 4.523 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008203/0.5154, allocations: 0.5347 MB / 0.5708 GB, free: 3.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5155, allocations: 0 / 0.5708 GB, free: 3.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003477/0.5189, allocations: 0.7728 MB / 0.5715 GB, free: 3.203 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.005446/0.5244, allocations: 2.302 MB / 0.5738 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004835/0.5293, allocations: 3.001 MB / 0.5767 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.5293, allocations: 4 kB / 0.5767 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.5299, allocations: 326.3 kB / 0.577 GB, free: 13.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.5313, allocations: 227 kB / 0.5772 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/0.5498, allocations: 10.38 MB / 0.5874 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009024/0.5507, allocations: 1.09 MB / 0.5884 GB, free: 1.395 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006298/0.5514, allocations: 157.2 kB / 0.5886 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.5519, allocations: 339.3 kB / 0.5889 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of SimCode: time 2.835e-06/0.5519, allocations: 4 kB / 0.5889 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.6539, allocations: 29.6 MB / 0.6178 GB, free: 3.492 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.56, allocations: 9.188 kB / 0.6178 GB, free: 3.484 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