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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001247/0.001247, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1988/0.1988, allocations: 44.17 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 62.98 kB / 408.5 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1095, allocations: 60.83 MB / 469.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004377/0.1139, allocations: 2.635 MB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.1219, allocations: 4.377 MB / 476.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005753/0.1226, allocations: 23.75 kB / 476.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008908/0.1235, allocations: 342.3 kB / 476.7 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000465/0.124, allocations: 87.2 kB / 476.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005659/0.1297, allocations: 2.638 MB / 479.4 MB, free: 4.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001303/0.131, allocations: 1.185 MB / 480.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002109/0.1312, allocations: 77.73 kB / 480.7 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.1316, allocations: 422.7 kB / 481.1 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.1321, allocations: 406.2 kB / 481.5 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001054/0.1322, allocations: 56 kB / 481.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.1345, allocations: 1.764 MB / 483.3 MB, free: 304 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.1348, allocations: 307.1 kB / 483.6 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.1352, allocations: 401.3 kB / 484 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.1373, allocations: 2.279 MB / 486.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1373, allocations: 0 / 486.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1373, allocations: 0 / 486.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1373, allocations: 0 / 486.3 MB, free: 13.32 MB / 366.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.002397/0.1397, allocations: 1.464 MB / 487.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1398, allocations: 11.97 kB / 487.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.118e-05/0.1398, allocations: 78.72 kB / 487.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.14, allocations: 103.6 kB / 488 MB, free: 11.6 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.1407, allocations: 0.5744 MB / 488.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1408, allocations: 37.38 kB / 488.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.1409, allocations: 75.94 kB / 488.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.1419, allocations: 0.6968 MB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1419, allocations: 7.922 kB / 489.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.142, allocations: 24 kB / 489.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.142, allocations: 8 kB / 489.4 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000591/0.1426, allocations: 371.7 kB / 489.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002253/0.1448, allocations: 1.359 MB / 491.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.1463, allocations: 0.8382 MB / 491.9 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004072/0.1467, allocations: 290 kB / 492.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.1467, allocations: 4.438 kB / 492.2 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1468, allocations: 47.12 kB / 492.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=53): time 2.104e-06/0.1468, allocations: 0 / 492.3 MB, free: 7.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.001508/0.1483, allocations: 0.9654 MB / 493.2 MB, free: 6.102 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002536/0.1485, allocations: 0.6726 MB / 493.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000889/0.1494, allocations: 0.8458 MB / 494.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.119e-05/0.1495, allocations: 45.7 kB / 494.8 MB, free: 4.348 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.1498, allocations: 361.4 kB / 495.2 MB, free: 3.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.15, allocations: 216.8 kB / 495.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003139/0.1503, allocations: 254.6 kB / 495.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.1505, allocations: 414.7 kB / 496 MB, free: 3.105 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.1513, allocations: 0.5885 MB / 496.6 MB, free: 2.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009622/0.1523, allocations: 0.834 MB / 497.4 MB, free: 1.605 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001421/0.1537, allocations: 1.124 MB / 498.6 MB, free: 492 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1537, allocations: 4 kB / 498.6 MB, free: 488 kB / 366.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002899/0.1566, allocations: 1.925 MB / 0.4888 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1567, allocations: 4 kB / 0.4888 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.332e-05/0.1567, allocations: 15.98 kB / 0.4888 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.1582, allocations: 0.5017 MB / 0.4893 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.1588, allocations: 139.8 kB / 0.4894 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2146/0.3734, allocations: 18.19 MB / 0.5072 GB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.3741, allocations: 126.9 kB / 0.5073 GB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.3743, allocations: 30.5 kB / 0.5073 GB, free: 42.02 MB / 382.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.0005815/0.3749, allocations: 288 kB / 0.5076 GB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.3751, allocations: 94.45 kB / 0.5077 GB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.3753, allocations: 101.4 kB / 0.5078 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3753, allocations: 5.625 kB / 0.5078 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3753, allocations: 0 / 0.5078 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3753, allocations: 3.969 kB / 0.5078 GB, free: 41.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000764/0.3761, allocations: 0.6342 MB / 0.5084 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.3761, allocations: 0.5625 kB / 0.5084 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007063/0.3768, allocations: 110.9 kB / 0.5085 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3768, allocations: 2.219 kB / 0.5085 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/0.3769, allocations: 34.58 kB / 0.5086 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.3769, allocations: 6.812 kB / 0.5086 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3769, allocations: 1.031 kB / 0.5086 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.3785, allocations: 1.149 MB / 0.5097 GB, free: 41.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3786, allocations: 158.3 kB / 0.5098 GB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.3787, allocations: 32.55 kB / 0.5099 GB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.3791, allocations: 32.41 kB / 0.5099 GB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.449e-05/0.3792, allocations: 33.72 kB / 0.5099 GB, free: 41.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.3792, allocations: 14.64 kB / 0.5099 GB, free: 41.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006702/0.3799, allocations: 0.5392 MB / 0.5105 GB, free: 41.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.3799, allocations: 0 / 0.5105 GB, free: 41.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002293/0.3822, allocations: 0.761 MB / 0.5112 GB, free: 41.36 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.003122/0.3853, allocations: 2.294 MB / 0.5135 GB, free: 40.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004005/0.3894, allocations: 3.158 MB / 0.5165 GB, free: 38.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/0.3894, allocations: 2.188 kB / 0.5165 GB, free: 38.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.3899, allocations: 331.1 kB / 0.5169 GB, free: 38.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.391, allocations: 230.7 kB / 0.5171 GB, free: 38.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.4037, allocations: 10.61 MB / 0.5274 GB, free: 33.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.4042, allocations: 1.089 MB / 0.5285 GB, free: 32.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004365/0.4046, allocations: 159.7 kB / 0.5287 GB, free: 32.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.405, allocations: 340.4 kB / 0.529 GB, free: 32.37 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.405, allocations: 3.312 kB / 0.529 GB, free: 32.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0548/0.4598, allocations: 29.35 MB / 0.5576 GB, free: 3.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.8, allocations: 6.234 kB / 0.5576 GB, free: 3.785 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.csv","/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) Reference file matches