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.001656/0.001656, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.002255/0.002255, allocations: 213.1 kB / 23.75 MB, free: 4.668 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.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.92 MB / 358.8 MB, free: 6.262 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="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"}) [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.002297/0.002297, allocations: 63.91 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3292, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.00438/0.3336, allocations: 2.673 MB / 0.5597 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009143/0.3427, allocations: 4.467 MB / 0.564 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007315/0.3434, allocations: 39.5 kB / 0.5641 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009317/0.3444, allocations: 354.3 kB / 0.5644 GB, free: 228 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003006/0.3447, allocations: 95.22 kB / 0.5645 GB, free: 132 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006621/0.3513, allocations: 2.557 MB / 0.567 GB, free: 13.58 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.3532, allocations: 1.205 MB / 0.5682 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.3534, allocations: 57.88 kB / 0.5682 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006462/0.354, allocations: 454.6 kB / 0.5687 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006317/0.3546, allocations: 410.2 kB / 0.569 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.3548, allocations: 52 kB / 0.5691 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.3582, allocations: 1.955 MB / 0.571 GB, free: 9.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003916/0.3586, allocations: 311 kB / 0.5713 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004521/0.3591, allocations: 405.3 kB / 0.5717 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.3623, allocations: 2.321 MB / 0.574 GB, free: 6.418 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3623, allocations: 4 kB / 0.574 GB, free: 6.414 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3623, allocations: 0 / 0.574 GB, free: 6.414 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.3623, allocations: 0 / 0.574 GB, free: 6.414 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.002864/0.3652, allocations: 1.43 MB / 0.5754 GB, free: 4.949 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3652, allocations: 8.031 kB / 0.5754 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.3653, allocations: 82.7 kB / 0.5754 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.3655, allocations: 112.2 kB / 0.5755 GB, free: 4.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.3665, allocations: 0.5183 MB / 0.5761 GB, free: 4.188 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.3666, allocations: 45.36 kB / 0.5761 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.3667, allocations: 72.03 kB / 0.5762 GB, free: 4.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.3678, allocations: 0.6968 MB / 0.5768 GB, free: 3.289 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3678, allocations: 4 kB / 0.5768 GB, free: 3.285 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.243e-05/0.3679, allocations: 23.98 kB / 0.5769 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.3679, allocations: 12 kB / 0.5769 GB, free: 3.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.3686, allocations: 371.7 kB / 0.5772 GB, free: 2.887 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002809/0.3714, allocations: 1.32 MB / 0.5785 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.373, allocations: 0.8285 MB / 0.5793 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.3735, allocations: 278 kB / 0.5796 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.3736, allocations: 8.438 kB / 0.5796 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.3736, allocations: 54.98 kB / 0.5797 GB, free: 344 kB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.294e-06/0.3736, allocations: 0 / 0.5797 GB, free: 344 kB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001808/0.3754, allocations: 0.9699 MB / 0.5806 GB, free: 15.37 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004528/0.3759, allocations: 0.6648 MB / 0.5813 GB, free: 14.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/0.3769, allocations: 0.8459 MB / 0.5821 GB, free: 13.67 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.938e-05/0.377, allocations: 41.7 kB / 0.5821 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.3774, allocations: 365.6 kB / 0.5825 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/0.3776, allocations: 237.9 kB / 0.5827 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.3779, allocations: 258.6 kB / 0.5829 GB, free: 12.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002613/0.3782, allocations: 414.7 kB / 0.5833 GB, free: 12.36 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009464/0.3791, allocations: 0.5885 MB / 0.5839 GB, free: 11.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.3803, allocations: 0.8337 MB / 0.5847 GB, free: 10.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3821, allocations: 1.124 MB / 0.5858 GB, free: 9.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3821, allocations: 4 kB / 0.5858 GB, free: 9.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003449/0.3855, allocations: 1.918 MB / 0.5877 GB, free: 7.766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.3855, allocations: 8 kB / 0.5877 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.053e-05/0.3856, allocations: 15.98 kB / 0.5877 GB, free: 7.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.3871, allocations: 0.4978 MB / 0.5882 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.3877, allocations: 135.9 kB / 0.5883 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.4036, allocations: 16.99 MB / 0.6049 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/0.4044, allocations: 135 kB / 0.6051 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.4045, allocations: 31.92 kB / 0.6051 GB, free: 4.547 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.0005935/0.4051, allocations: 285.6 kB / 0.6054 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.4053, allocations: 87.39 kB / 0.6054 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000217/0.4055, allocations: 101.4 kB / 0.6055 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4055, allocations: 4 kB / 0.6055 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4055, allocations: 4 kB / 0.6055 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.4055, allocations: 7.922 kB / 0.6056 GB, free: 4.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009175/0.4065, allocations: 0.6059 MB / 0.6061 GB, free: 3.406 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4065, allocations: 4 kB / 0.6062 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/0.4072, allocations: 103.8 kB / 0.6062 GB, free: 3.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.4072, allocations: 8 kB / 0.6063 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/0.4073, allocations: 35.95 kB / 0.6063 GB, free: 3.258 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.4073, allocations: 4 kB / 0.6063 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4073, allocations: 0 / 0.6063 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.4091, allocations: 1.151 MB / 0.6074 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.4093, allocations: 91.2 kB / 0.6075 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.4094, allocations: 31.98 kB / 0.6075 GB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003403/0.4097, allocations: 35.97 kB / 0.6076 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.4098, allocations: 32.36 kB / 0.6076 GB, free: 1.895 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.4099, allocations: 23.88 kB / 0.6076 GB, free: 1.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007925/0.4107, allocations: 0.5347 MB / 0.6081 GB, free: 1.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4107, allocations: 0 / 0.6081 GB, free: 1.324 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002703/0.4134, allocations: 0.769 MB / 0.6089 GB, free: 0.5547 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.003951/0.4173, allocations: 2.289 MB / 0.6111 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00452/0.4219, allocations: 2.891 MB / 0.614 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.351e-06/0.4219, allocations: 0 / 0.614 GB, free: 11.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.4225, allocations: 330.3 kB / 0.6143 GB, free: 10.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4235, allocations: 226 kB / 0.6145 GB, free: 10.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/0.4403, allocations: 10.4 MB / 0.6246 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009547/0.4412, allocations: 1.086 MB / 0.6257 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005344/0.4418, allocations: 161.2 kB / 0.6259 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005318/0.4423, allocations: 335.3 kB / 0.6262 GB, free: 14.35 MB / 478.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4423, allocations: 3.938 kB / 0.6262 GB, free: 14.35 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.126/0.5683, allocations: 30.26 MB / 0.6557 GB, free: 320 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.47, allocations: 19.34 kB / 0.6557 GB, free: 304 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: 17.70573428296484]