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.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.001783/0.001783, 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.002159/0.002159, 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2253/0.2253, allocations: 44.9 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] 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.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_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002334/0.002334, allocations: 67.91 kB / 0.4939 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3546, allocations: 65.47 MB / 0.5578 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004113/0.3587, allocations: 2.68 MB / 0.5604 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007747/0.3664, allocations: 4.459 MB / 0.5648 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003118/0.3667, allocations: 35.56 kB / 0.5648 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.3675, allocations: 362.3 kB / 0.5652 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.3677, allocations: 99.16 kB / 0.5653 GB, free: 112 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006411/0.3741, allocations: 2.551 MB / 0.5678 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.3759, allocations: 1.205 MB / 0.5689 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002016/0.3761, allocations: 57.89 kB / 0.569 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.3766, allocations: 450.6 kB / 0.5694 GB, free: 11.85 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006953/0.3773, allocations: 410.2 kB / 0.5698 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3774, allocations: 56 kB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003301/0.3807, allocations: 1.951 MB / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005516/0.3813, allocations: 318.9 kB / 0.5721 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005813/0.3819, allocations: 397.5 kB / 0.5724 GB, free: 8.734 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.385, allocations: 2.329 MB / 0.5747 GB, free: 6.398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.385, allocations: 0 / 0.5747 GB, free: 6.398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.385, allocations: 0 / 0.5747 GB, free: 6.398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.385, allocations: 0 / 0.5747 GB, free: 6.398 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.003117/0.3882, allocations: 1.426 MB / 0.5761 GB, free: 4.938 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.3882, allocations: 8.031 kB / 0.5761 GB, free: 4.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.253e-05/0.3882, allocations: 21.11 kB / 0.5761 GB, free: 4.906 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001005/0.3883, allocations: 78.72 kB / 0.5762 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.3885, allocations: 108.2 kB / 0.5763 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.3895, allocations: 0.5184 MB / 0.5768 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.3896, allocations: 41.38 kB / 0.5769 GB, free: 4.121 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.3897, allocations: 75.84 kB / 0.5769 GB, free: 4.047 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.3909, allocations: 0.7007 MB / 0.5776 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3909, allocations: 3.938 kB / 0.5776 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.656e-05/0.391, allocations: 19.98 kB / 0.5776 GB, free: 3.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.391, allocations: 12 kB / 0.5777 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.3916, allocations: 367.7 kB / 0.578 GB, free: 2.867 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002758/0.3944, allocations: 1.312 MB / 0.5793 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.396, allocations: 0.8362 MB / 0.5801 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.3964, allocations: 278 kB / 0.5804 GB, free: 404 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.3964, allocations: 8.625 kB / 0.5804 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.915e-05/0.3965, allocations: 50.8 kB / 0.5804 GB, free: 332 kB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.134e-06/0.3965, allocations: 4 kB / 0.5804 GB, free: 328 kB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001843/0.3983, allocations: 0.9699 MB / 0.5814 GB, free: 15.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004216/0.3988, allocations: 0.6648 MB / 0.582 GB, free: 14.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.3998, allocations: 0.8459 MB / 0.5829 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/0.3999, allocations: 53.64 kB / 0.5829 GB, free: 13.6 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.4003, allocations: 361.6 kB / 0.5833 GB, free: 13.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.4005, allocations: 234 kB / 0.5835 GB, free: 13.01 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003693/0.4009, allocations: 254.6 kB / 0.5837 GB, free: 12.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000268/0.4011, allocations: 414.7 kB / 0.5841 GB, free: 12.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009026/0.402, allocations: 0.5924 MB / 0.5847 GB, free: 11.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001242/0.4033, allocations: 0.8336 MB / 0.5855 GB, free: 10.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.4049, allocations: 1.128 MB / 0.5866 GB, free: 9.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4049, allocations: 0 / 0.5866 GB, free: 9.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003347/0.4083, allocations: 1.925 MB / 0.5885 GB, free: 7.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4083, allocations: 8 kB / 0.5885 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-05/0.4084, allocations: 19.98 kB / 0.5885 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/0.4099, allocations: 0.4939 MB / 0.589 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005814/0.4105, allocations: 139.8 kB / 0.5891 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.426, allocations: 16.98 MB / 0.6057 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.4266, allocations: 138.8 kB / 0.6058 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.95e-05/0.4267, allocations: 28 kB / 0.6059 GB, free: 4.523 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.000426/0.4271, allocations: 281.7 kB / 0.6061 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/0.4273, allocations: 95.39 kB / 0.6062 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.4275, allocations: 101.3 kB / 0.6063 GB, free: 4.039 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4275, allocations: 8 kB / 0.6063 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4275, allocations: 0 / 0.6063 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4275, allocations: 7.922 kB / 0.6063 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007504/0.4283, allocations: 0.6059 MB / 0.6069 GB, free: 3.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.4283, allocations: 4 kB / 0.6069 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007282/0.429, allocations: 107.9 kB / 0.607 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.429, allocations: 0 / 0.607 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.588e-05/0.4291, allocations: 27.97 kB / 0.6071 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4291, allocations: 4 kB / 0.6071 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4291, allocations: 3.938 kB / 0.6071 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/0.4307, allocations: 1.159 MB / 0.6082 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.4308, allocations: 95.2 kB / 0.6083 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.4309, allocations: 31.98 kB / 0.6083 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.4313, allocations: 39.89 kB / 0.6084 GB, free: 1.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.4314, allocations: 36.31 kB / 0.6084 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.4314, allocations: 12 kB / 0.6084 GB, free: 1.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006606/0.4321, allocations: 0.5425 MB / 0.6089 GB, free: 1.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4321, allocations: 0 / 0.6089 GB, free: 1.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002169/0.4342, allocations: 0.7612 MB / 0.6097 GB, free: 0.5234 MB / 446.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.00338/0.4376, allocations: 2.293 MB / 0.6119 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00425/0.4419, allocations: 2.883 MB / 0.6147 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4419, allocations: 8 kB / 0.6147 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.4424, allocations: 322.2 kB / 0.6151 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.4434, allocations: 219.9 kB / 0.6153 GB, free: 10.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/0.459, allocations: 10.4 MB / 0.6254 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008349/0.4598, allocations: 1.09 MB / 0.6265 GB, free: 14.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000471/0.4603, allocations: 157.2 kB / 0.6266 GB, free: 14.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005141/0.4608, allocations: 335.3 kB / 0.627 GB, free: 14.32 MB / 478.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4608, allocations: 0 / 0.627 GB, free: 14.32 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08378/0.5445, allocations: 30.28 MB / 0.6565 GB, free: 280 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.63, allocations: 13.81 kB / 0.6565 GB, free: 272 kB / 494.1 MB " [Timeout remaining time 645] (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 --stepSize=0.000179856 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.210116744972765]