Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_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.001674/0.001674, allocations: 99.8 kB / 16.27 MB, free: 5.93 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.001918/0.001918, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 72.8 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1129, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003079/0.1161, allocations: 2.636 MB / 443.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005453/0.1216, allocations: 4.405 MB / 447.7 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.1219, allocations: 23.75 kB / 447.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007206/0.1227, allocations: 350.3 kB / 448 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.123, allocations: 91.16 kB / 448.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.1287, allocations: 2.639 MB / 450.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001384/0.1301, allocations: 1.17 MB / 451.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000258/0.1304, allocations: 81.73 kB / 452 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.131, allocations: 430.7 kB / 452.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.1316, allocations: 406.2 kB / 452.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.1318, allocations: 52 kB / 452.9 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.1345, allocations: 1.772 MB / 454.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004458/0.135, allocations: 303.2 kB / 454.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008177/0.1358, allocations: 405.3 kB / 455.3 MB, free: 8.066 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00356/0.1394, allocations: 2.264 MB / 457.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1394, allocations: 0 / 457.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1394, allocations: 0 / 457.6 MB, free: 5.797 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.605e-05/0.1394, allocations: 0 / 457.6 MB, free: 5.797 MB / 334.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.003072/0.1425, allocations: 1.472 MB / 459.1 MB, free: 4.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1426, allocations: 11.98 kB / 459.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.1427, allocations: 78.72 kB / 459.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000196/0.1429, allocations: 107.6 kB / 459.3 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008081/0.1437, allocations: 0.5705 MB / 459.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.1438, allocations: 37.38 kB / 459.9 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.1439, allocations: 76.02 kB / 459.9 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009601/0.1449, allocations: 0.6967 MB / 460.6 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.1449, allocations: 3.984 kB / 460.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.145, allocations: 16 kB / 460.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.145, allocations: 8 kB / 460.7 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.1456, allocations: 371.7 kB / 461 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002482/0.1481, allocations: 1.367 MB / 462.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.1494, allocations: 0.84 MB / 463.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004146/0.1499, allocations: 286 kB / 463.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.1499, allocations: 8.438 kB / 463.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.1499, allocations: 54.92 kB / 463.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.264e-06/0.15, allocations: 0 / 463.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.001506/0.1515, allocations: 0.9577 MB / 464.5 MB, free: 14.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002561/0.1517, allocations: 0.6687 MB / 465.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.1526, allocations: 0.8535 MB / 466.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.037e-05/0.1527, allocations: 45.7 kB / 466.1 MB, free: 12.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002594/0.153, allocations: 357.3 kB / 466.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.1532, allocations: 220.8 kB / 466.7 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.1535, allocations: 254.6 kB / 466.9 MB, free: 12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1537, allocations: 418.7 kB / 467.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008244/0.1546, allocations: 0.5925 MB / 467.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/0.1555, allocations: 0.8378 MB / 468.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.1571, allocations: 1.128 MB / 469.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1571, allocations: 0 / 469.9 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003144/0.1603, allocations: 1.921 MB / 471.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1603, allocations: 4 kB / 471.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.812e-05/0.1604, allocations: 19.97 kB / 471.8 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001468/0.1619, allocations: 0.4939 MB / 472.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.1625, allocations: 143.8 kB / 472.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.1769, allocations: 18.21 MB / 490.7 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006334/0.1776, allocations: 130.3 kB / 490.8 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.279e-05/0.1777, allocations: 28 kB / 490.8 MB, free: 2.227 MB / 366.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.0004717/0.1782, allocations: 290.2 kB / 491.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1783, allocations: 82.88 kB / 491.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.1785, allocations: 105.4 kB / 491.3 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1785, allocations: 4 kB / 491.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1785, allocations: 0 / 491.3 MB, free: 1.742 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.1785, allocations: 11.92 kB / 491.3 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000708/0.1792, allocations: 0.6263 MB / 491.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1793, allocations: 0 / 491.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006722/0.1799, allocations: 111.9 kB / 492 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1799, allocations: 4 kB / 492 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.18, allocations: 23.98 kB / 492.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.18, allocations: 0 / 492.1 MB, free: 0.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.18, allocations: 7.984 kB / 492.1 MB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1815, allocations: 1.158 MB / 493.2 MB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1816, allocations: 155.9 kB / 493.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.1817, allocations: 35.97 kB / 493.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.1821, allocations: 27.97 kB / 493.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.677e-05/0.1822, allocations: 32.39 kB / 493.5 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.1823, allocations: 19.94 kB / 493.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006093/0.1829, allocations: 0.5425 MB / 494 MB, free: 14.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1829, allocations: 0 / 494 MB, free: 14.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002353/0.1852, allocations: 0.7576 MB / 494.8 MB, free: 14.14 MB / 382.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.003172/0.1884, allocations: 2.307 MB / 497.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004058/0.1925, allocations: 3.161 MB / 0.4885 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1925, allocations: 0 / 0.4885 GB, free: 8.414 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.193, allocations: 330.3 kB / 0.4889 GB, free: 8.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.194, allocations: 232.3 kB / 0.4891 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01353/0.2075, allocations: 10.6 MB / 0.4994 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/0.2083, allocations: 1.086 MB / 0.5005 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.2088, allocations: 157.2 kB / 0.5006 GB, free: 11.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.2092, allocations: 343.3 kB / 0.501 GB, free: 11.4 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2092, allocations: 0 / 0.501 GB, free: 11.4 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2237/0.4329, allocations: 29.34 MB / 0.5296 GB, free: 88.5 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.86, allocations: 12.25 kB / 0.5296 GB, free: 88.5 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches