Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001326/0.001326, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001468/0.001468, allocations: 212.2 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 46.94 MB / 361.7 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 0.497 GB, free: 7.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3418, allocations: 66.02 MB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004036/0.3459, allocations: 2.682 MB / 0.5641 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007543/0.3534, allocations: 4.463 MB / 0.5684 GB, free: 13.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.3537, allocations: 39.56 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007893/0.3545, allocations: 362.3 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.3547, allocations: 91.16 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00548/0.3602, allocations: 2.559 MB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001392/0.3616, allocations: 1.205 MB / 0.5726 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.3618, allocations: 53.89 kB / 0.5726 GB, free: 9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005221/0.3623, allocations: 454.6 kB / 0.573 GB, free: 8.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005762/0.3629, allocations: 414.2 kB / 0.5734 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.986e-05/0.363, allocations: 56 kB / 0.5735 GB, free: 8.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002789/0.3658, allocations: 1.951 MB / 0.5754 GB, free: 6.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003604/0.3661, allocations: 310.9 kB / 0.5757 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004196/0.3665, allocations: 405.4 kB / 0.5761 GB, free: 5.438 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.3691, allocations: 2.321 MB / 0.5784 GB, free: 3.109 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3691, allocations: 0 / 0.5784 GB, free: 3.109 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3691, allocations: 0 / 0.5784 GB, free: 3.109 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3691, allocations: 0 / 0.5784 GB, free: 3.109 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.002653/0.3718, allocations: 1.434 MB / 0.5798 GB, free: 1.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3718, allocations: 8.031 kB / 0.5798 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.316e-05/0.3718, allocations: 13.19 kB / 0.5798 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.355e-05/0.3719, allocations: 78.72 kB / 0.5798 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3721, allocations: 112.2 kB / 0.58 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.373, allocations: 0.5183 MB / 0.5805 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.373, allocations: 37.38 kB / 0.5805 GB, free: 0.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001447/0.3732, allocations: 79.83 kB / 0.5806 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.3742, allocations: 0.7007 MB / 0.5813 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3742, allocations: 0 / 0.5813 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.3743, allocations: 16 kB / 0.5813 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/0.3743, allocations: 11.98 kB / 0.5813 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006281/0.3749, allocations: 375.7 kB / 0.5816 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/0.3774, allocations: 1.312 MB / 0.5829 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.3789, allocations: 0.8246 MB / 0.5837 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.3794, allocations: 290 kB / 0.584 GB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.3794, allocations: 4.625 kB / 0.584 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.3794, allocations: 50.8 kB / 0.5841 GB, free: 13.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.425e-06/0.3794, allocations: 0 / 0.5841 GB, free: 13.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001714/0.3812, allocations: 0.9738 MB / 0.585 GB, free: 12.06 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003683/0.3815, allocations: 0.6687 MB / 0.5857 GB, free: 11.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000997/0.3825, allocations: 0.8459 MB / 0.5865 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.151e-05/0.3826, allocations: 45.7 kB / 0.5865 GB, free: 10.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3829, allocations: 365.6 kB / 0.5869 GB, free: 9.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.3831, allocations: 234 kB / 0.5871 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.3835, allocations: 250.6 kB / 0.5873 GB, free: 9.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.3837, allocations: 422.7 kB / 0.5877 GB, free: 9.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/0.3846, allocations: 0.5924 MB / 0.5883 GB, free: 8.449 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.3857, allocations: 0.8375 MB / 0.5891 GB, free: 7.539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001583/0.3872, allocations: 1.12 MB / 0.5902 GB, free: 6.414 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.3872, allocations: 0 / 0.5902 GB, free: 6.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003247/0.3905, allocations: 1.929 MB / 0.5921 GB, free: 4.441 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3905, allocations: 4 kB / 0.5921 GB, free: 4.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.575e-05/0.3906, allocations: 19.98 kB / 0.5921 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001466/0.392, allocations: 0.4978 MB / 0.5926 GB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006012/0.3926, allocations: 139.8 kB / 0.5928 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/0.4074, allocations: 16.97 MB / 0.6093 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006253/0.408, allocations: 134.9 kB / 0.6095 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.4081, allocations: 27.98 kB / 0.6095 GB, free: 1.234 MB / 446.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.0004505/0.4086, allocations: 285.7 kB / 0.6098 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.4087, allocations: 95.39 kB / 0.6099 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002107/0.4089, allocations: 97.41 kB / 0.6099 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.4089, allocations: 8 kB / 0.61 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.4089, allocations: 0 / 0.61 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.4089, allocations: 7.922 kB / 0.61 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007828/0.4097, allocations: 0.6098 MB / 0.6106 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4097, allocations: 0 / 0.6106 GB, free: 84 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007501/0.4105, allocations: 103.8 kB / 0.6107 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4105, allocations: 4 kB / 0.6107 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.4105, allocations: 31.97 kB / 0.6107 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4105, allocations: 4 kB / 0.6107 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4105, allocations: 4 kB / 0.6107 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.4122, allocations: 1.159 MB / 0.6118 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.4123, allocations: 91.2 kB / 0.6119 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.4124, allocations: 31.98 kB / 0.612 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.4128, allocations: 31.97 kB / 0.612 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.4129, allocations: 44.23 kB / 0.612 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.4129, allocations: 16 kB / 0.612 GB, free: 14.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006727/0.4136, allocations: 0.5386 MB / 0.6126 GB, free: 13.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4136, allocations: 0 / 0.6126 GB, free: 13.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002159/0.4158, allocations: 0.7651 MB / 0.6133 GB, free: 13.23 MB / 462.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.003353/0.4191, allocations: 2.289 MB / 0.6155 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004188/0.4233, allocations: 2.883 MB / 0.6184 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.4233, allocations: 4 kB / 0.6184 GB, free: 7.781 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005389/0.4239, allocations: 326.2 kB / 0.6187 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4249, allocations: 220.1 kB / 0.6189 GB, free: 7.262 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01521/0.4401, allocations: 10.4 MB / 0.629 GB, free: 12.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008054/0.4409, allocations: 1.086 MB / 0.6301 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004928/0.4414, allocations: 161.2 kB / 0.6303 GB, free: 11.37 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.4419, allocations: 335.3 kB / 0.6306 GB, free: 11.04 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4419, allocations: 0 / 0.6306 GB, free: 11.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.5486, allocations: 30.28 MB / 0.6601 GB, free: 13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.77, allocations: 20.94 kB / 0.6602 GB, free: 12.99 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --stepSize=0.000179856 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 18.17999030597275]