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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 119 kB / 18.5 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 194.9 kB / 21.44 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 249.9 MB, free: 3.602 MB / 190.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.24/0.24, allocations: 44.92 MB / 349.6 MB, free: 1.738 MB / 270.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 60.41 kB / 491.8 MB, free: 30 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1269, allocations: 64.26 MB / 0.543 GB, free: 4.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004413/0.1313, allocations: 2.658 MB / 0.5456 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00819/0.1395, allocations: 4.388 MB / 0.5499 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.1399, allocations: 19.81 kB / 0.5499 GB, free: 13.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008639/0.1408, allocations: 358.3 kB / 0.5503 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.141, allocations: 87.16 kB / 0.5503 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006772/0.1478, allocations: 2.641 MB / 0.5529 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.1495, allocations: 1.181 MB / 0.5541 GB, free: 8.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.1498, allocations: 53.77 kB / 0.5541 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006423/0.1504, allocations: 442.6 kB / 0.5546 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000631/0.151, allocations: 410.2 kB / 0.5549 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1511, allocations: 56 kB / 0.555 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.1543, allocations: 1.826 MB / 0.5568 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004194/0.1547, allocations: 322.8 kB / 0.5571 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.1552, allocations: 397.4 kB / 0.5575 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.1584, allocations: 2.298 MB / 0.5597 GB, free: 2.969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1584, allocations: 4 kB / 0.5597 GB, free: 2.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1584, allocations: 0 / 0.5597 GB, free: 2.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.1584, allocations: 0 / 0.5597 GB, free: 2.965 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.003449/0.1618, allocations: 1.508 MB / 0.5612 GB, free: 1.406 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.1619, allocations: 8.031 kB / 0.5612 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.162, allocations: 74.72 kB / 0.5613 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.1622, allocations: 116.2 kB / 0.5614 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.1633, allocations: 0.5828 MB / 0.5619 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.1633, allocations: 37.38 kB / 0.562 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.1635, allocations: 72.06 kB / 0.5621 GB, free: 472 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.1646, allocations: 0.7045 MB / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1646, allocations: 0 / 0.5627 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.1647, allocations: 23.94 kB / 0.5628 GB, free: 15.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1647, allocations: 12 kB / 0.5628 GB, free: 15.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006293/0.1653, allocations: 363.7 kB / 0.5631 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.1682, allocations: 1.359 MB / 0.5645 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.1698, allocations: 0.8264 MB / 0.5653 GB, free: 13.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/0.1702, allocations: 282 kB / 0.5655 GB, free: 12.76 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.1703, allocations: 8.438 kB / 0.5655 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.1703, allocations: 47.12 kB / 0.5656 GB, free: 12.69 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 2.505e-06/0.1703, allocations: 4 kB / 0.5656 GB, free: 12.69 MB / 430.1 MB Notification: Performance of matching and sorting (n=53): time 0.001823/0.1722, allocations: 0.9682 MB / 0.5665 GB, free: 11.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000534/0.1727, allocations: 0.6687 MB / 0.5672 GB, free: 10.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.1738, allocations: 0.8498 MB / 0.568 GB, free: 10.01 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.174, allocations: 45.7 kB / 0.5681 GB, free: 9.961 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003625/0.1744, allocations: 365.6 kB / 0.5684 GB, free: 9.598 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.1746, allocations: 226.1 kB / 0.5686 GB, free: 9.375 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003704/0.1749, allocations: 254.5 kB / 0.5689 GB, free: 9.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002689/0.1752, allocations: 422.7 kB / 0.5693 GB, free: 8.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009187/0.1761, allocations: 0.5885 MB / 0.5698 GB, free: 8.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1773, allocations: 0.8293 MB / 0.5706 GB, free: 7.211 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.179, allocations: 1.136 MB / 0.5718 GB, free: 6.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.179, allocations: 0 / 0.5718 GB, free: 6.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003383/0.1824, allocations: 1.914 MB / 0.5736 GB, free: 4.109 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.1824, allocations: 8 kB / 0.5736 GB, free: 4.102 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.382e-05/0.1825, allocations: 19.97 kB / 0.5737 GB, free: 4.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001478/0.1839, allocations: 0.49 MB / 0.5741 GB, free: 3.555 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.1845, allocations: 143.8 kB / 0.5743 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01739/0.2019, allocations: 18.21 MB / 0.5921 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.2027, allocations: 134.9 kB / 0.5922 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.946e-05/0.2027, allocations: 32.16 kB / 0.5922 GB, free: 15.36 MB / 462.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.0005452/0.2033, allocations: 287 kB / 0.5925 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.2034, allocations: 95.34 kB / 0.5926 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.2036, allocations: 101.3 kB / 0.5927 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.2036, allocations: 8 kB / 0.5927 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2036, allocations: 3.984 kB / 0.5927 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.2036, allocations: 7.922 kB / 0.5927 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008567/0.2045, allocations: 0.6303 MB / 0.5933 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2045, allocations: 0 / 0.5933 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.2052, allocations: 107.9 kB / 0.5934 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.2052, allocations: 4 kB / 0.5934 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.2053, allocations: 27.98 kB / 0.5934 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.2053, allocations: 7.984 kB / 0.5934 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2053, allocations: 4 kB / 0.5935 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.207, allocations: 1.163 MB / 0.5946 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001772/0.2072, allocations: 160.4 kB / 0.5947 GB, free: 12.67 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.2073, allocations: 35.97 kB / 0.5948 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.2077, allocations: 31.97 kB / 0.5948 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.2077, allocations: 32.39 kB / 0.5948 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.2078, allocations: 19.94 kB / 0.5949 GB, free: 12.55 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007058/0.2085, allocations: 0.5386 MB / 0.5954 GB, free: 12 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2085, allocations: 0 / 0.5954 GB, free: 12 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002611/0.2111, allocations: 0.7612 MB / 0.5961 GB, free: 11.24 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.003804/0.2149, allocations: 2.299 MB / 0.5984 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004537/0.2194, allocations: 2.883 MB / 0.6012 GB, free: 5.793 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.2194, allocations: 4 kB / 0.6012 GB, free: 5.789 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005676/0.22, allocations: 330.2 kB / 0.6015 GB, free: 5.469 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.2211, allocations: 230.4 kB / 0.6017 GB, free: 5.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3249/0.546, allocations: 10.36 MB / 0.6118 GB, free: 55.91 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007935/0.5468, allocations: 1.086 MB / 0.6129 GB, free: 55.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005283/0.5473, allocations: 161.3 kB / 0.6131 GB, free: 55.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004272/0.5477, allocations: 338.4 kB / 0.6134 GB, free: 55.2 MB / 462.1 MB Notification: Performance of SimCode: time 1.553e-06/0.5477, allocations: 3.812 kB / 0.6134 GB, free: 55.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09134/0.6391, allocations: 29.73 MB / 0.6424 GB, free: 39.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.64, allocations: 18.42 kB / 0.6424 GB, free: 39.55 MB / 462.1 MB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.84659429686144]