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.001568/0.001567, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001807/0.001807, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.379/1.379, 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.2201/0.2201, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.83 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.361, 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.003079/0.3641, allocations: 2.651 MB / 0.521 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006924/0.3711, allocations: 4.36 MB / 0.5253 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003567/0.3714, allocations: 19.72 kB / 0.5253 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008223/0.3723, allocations: 350.1 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.3726, allocations: 90.05 kB / 0.5257 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006447/0.379, allocations: 2.638 MB / 0.5283 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3804, allocations: 1.177 MB / 0.5295 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.3806, allocations: 90.95 kB / 0.5295 GB, free: 12.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004813/0.3811, allocations: 440.5 kB / 0.53 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.3817, allocations: 400.7 kB / 0.5304 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3818, allocations: 59.17 kB / 0.5304 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.3845, allocations: 1.809 MB / 0.5322 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003067/0.3849, allocations: 310.5 kB / 0.5325 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.3852, allocations: 393.7 kB / 0.5328 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002358/0.3876, allocations: 2.29 MB / 0.5351 GB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3876, allocations: 4 kB / 0.5351 GB, free: 8.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3876, allocations: 1.375 kB / 0.5351 GB, free: 8.965 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.3876, allocations: 0 / 0.5351 GB, free: 8.965 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.00281/0.3904, allocations: 1.47 MB / 0.5365 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3905, allocations: 9.719 kB / 0.5365 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.978e-05/0.3906, allocations: 78.38 kB / 0.5366 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.3908, allocations: 109.8 kB / 0.5367 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009031/0.3917, allocations: 0.5733 MB / 0.5373 GB, free: 7.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.3917, allocations: 41.41 kB / 0.5373 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.3919, allocations: 73.34 kB / 0.5374 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3929, allocations: 0.7021 MB / 0.5381 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.3929, allocations: 0 / 0.5381 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.457e-05/0.393, allocations: 18.12 kB / 0.5381 GB, free: 6.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.393, allocations: 11.84 kB / 0.5381 GB, free: 6.738 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.3937, allocations: 372.3 kB / 0.5385 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.3964, allocations: 1.345 MB / 0.5398 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.3979, allocations: 0.8338 MB / 0.5406 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.3983, allocations: 294 kB / 0.5409 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3984, allocations: 4.438 kB / 0.5409 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3984, allocations: 47.12 kB / 0.5409 GB, free: 4.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.345e-06/0.3984, allocations: 4 kB / 0.5409 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.00157/0.4, allocations: 0.9654 MB / 0.5419 GB, free: 3.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003101/0.4003, allocations: 0.6687 MB / 0.5425 GB, free: 3.031 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/0.4012, allocations: 0.8458 MB / 0.5433 GB, free: 2.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.4013, allocations: 45.69 kB / 0.5434 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.4016, allocations: 361.3 kB / 0.5437 GB, free: 1.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.4018, allocations: 212.9 kB / 0.5439 GB, free: 1.539 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003265/0.4021, allocations: 266.4 kB / 0.5442 GB, free: 1.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4023, allocations: 414.7 kB / 0.5446 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000796/0.4031, allocations: 0.5924 MB / 0.5452 GB, free: 276 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/0.4041, allocations: 0.8301 MB / 0.546 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.4055, allocations: 1.124 MB / 0.5471 GB, free: 14.24 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4056, allocations: 4 kB / 0.5471 GB, free: 14.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002959/0.4085, allocations: 1.925 MB / 0.5489 GB, free: 12.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.4086, allocations: 11.94 kB / 0.549 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.828e-05/0.4086, allocations: 11.98 kB / 0.549 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.41, allocations: 0.4978 MB / 0.5495 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.4106, allocations: 139.8 kB / 0.5496 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01451/0.4251, allocations: 18.19 MB / 0.5674 GB, free: 7.691 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008151/0.426, allocations: 138.3 kB / 0.5675 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-05/0.4261, allocations: 40.14 kB / 0.5675 GB, free: 7.516 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.0005176/0.4266, allocations: 281.6 kB / 0.5678 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.4268, allocations: 90.77 kB / 0.5679 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001986/0.427, allocations: 101.4 kB / 0.568 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.427, allocations: 4 kB / 0.568 GB, free: 7.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.427, allocations: 4 kB / 0.568 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.427, allocations: 3.938 kB / 0.568 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.4278, allocations: 0.6302 MB / 0.5686 GB, free: 6.352 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4278, allocations: 4 kB / 0.5686 GB, free: 6.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007056/0.4285, allocations: 99.88 kB / 0.5687 GB, free: 6.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.4286, allocations: 4 kB / 0.5687 GB, free: 6.246 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.4286, allocations: 35.97 kB / 0.5687 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4286, allocations: 0 / 0.5687 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4286, allocations: 4 kB / 0.5687 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.4302, allocations: 1.151 MB / 0.5699 GB, free: 5.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.4304, allocations: 159.8 kB / 0.57 GB, free: 4.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.4305, allocations: 31.98 kB / 0.57 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.4308, allocations: 27.97 kB / 0.5701 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.99e-05/0.4309, allocations: 36.39 kB / 0.5701 GB, free: 4.766 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.431, allocations: 23.92 kB / 0.5701 GB, free: 4.742 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006041/0.4316, allocations: 0.5347 MB / 0.5707 GB, free: 4.195 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4316, allocations: 0 / 0.5707 GB, free: 4.195 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003238/0.4349, allocations: 0.7654 MB / 0.5714 GB, free: 3.43 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.003788/0.4387, allocations: 2.296 MB / 0.5736 GB, free: 1.109 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00389/0.4426, allocations: 2.993 MB / 0.5766 GB, free: 13.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4426, allocations: 8 kB / 0.5766 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.4431, allocations: 330.2 kB / 0.5769 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.4441, allocations: 232.4 kB / 0.5771 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/0.4579, allocations: 10.32 MB / 0.5872 GB, free: 2.812 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.4586, allocations: 1.086 MB / 0.5882 GB, free: 1.695 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004366/0.4591, allocations: 161.2 kB / 0.5884 GB, free: 1.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004339/0.4595, allocations: 343.3 kB / 0.5887 GB, free: 1.199 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.4595, allocations: 0 / 0.5887 GB, free: 1.199 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07471/0.5343, allocations: 29.99 MB / 0.618 GB, free: 3.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/12.25, allocations: 9.125 kB / 0.618 GB, free: 3.402 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 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.mat","/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