Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001678/0.001678, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002033/0.002033, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 76.66 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1124, allocations: 62.45 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004063/0.1165, allocations: 2.649 MB / 482.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006955/0.1234, allocations: 4.427 MB / 487.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.1238, allocations: 23.75 kB / 487.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.1245, allocations: 342.3 kB / 487.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1248, allocations: 99.14 kB / 487.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.13, allocations: 2.631 MB / 490.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1313, allocations: 1.174 MB / 491.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1315, allocations: 81.73 kB / 491.5 MB, free: 9.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006034/0.1321, allocations: 426.7 kB / 492 MB, free: 9.312 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006461/0.1328, allocations: 402.2 kB / 492.4 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.133, allocations: 56 kB / 492.4 MB, free: 8.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.1358, allocations: 1.791 MB / 494.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004237/0.1362, allocations: 307.1 kB / 494.5 MB, free: 6.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004928/0.1367, allocations: 397.4 kB / 494.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.1393, allocations: 2.279 MB / 497.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1393, allocations: 0 / 497.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1393, allocations: 0 / 497.2 MB, free: 4.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.1393, allocations: 0 / 497.2 MB, free: 4.094 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.002669/0.142, allocations: 1.466 MB / 498.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.1421, allocations: 8.031 kB / 498.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001051/0.1422, allocations: 78.72 kB / 498.7 MB, free: 2.484 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.1424, allocations: 107.6 kB / 498.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.1431, allocations: 0.5783 MB / 499.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.1432, allocations: 41.36 kB / 499.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.1433, allocations: 79.94 kB / 499.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.1443, allocations: 0.6928 MB / 0.4885 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1443, allocations: 4 kB / 0.4885 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.917e-05/0.1444, allocations: 23.94 kB / 0.4885 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1444, allocations: 8 kB / 0.4885 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005776/0.145, allocations: 375.7 kB / 0.4889 GB, free: 460 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002357/0.1473, allocations: 1.347 MB / 0.4902 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.1487, allocations: 0.8399 MB / 0.491 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004178/0.1492, allocations: 286 kB / 0.4913 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.1492, allocations: 4.438 kB / 0.4913 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1493, allocations: 51.12 kB / 0.4913 GB, free: 13.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 2.265e-06/0.1493, allocations: 0 / 0.4913 GB, free: 13.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.00159/0.1509, allocations: 0.9654 MB / 0.4923 GB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003624/0.1512, allocations: 0.6687 MB / 0.4929 GB, free: 12.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1522, allocations: 0.8457 MB / 0.4938 GB, free: 11.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.1523, allocations: 49.7 kB / 0.4938 GB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.1526, allocations: 357.4 kB / 0.4942 GB, free: 10.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/0.1528, allocations: 216.8 kB / 0.4944 GB, free: 10.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.1532, allocations: 254.6 kB / 0.4946 GB, free: 10.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002316/0.1534, allocations: 418.7 kB / 0.495 GB, free: 9.887 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008363/0.1543, allocations: 0.5885 MB / 0.4956 GB, free: 9.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.1553, allocations: 0.834 MB / 0.4964 GB, free: 8.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.1568, allocations: 1.132 MB / 0.4975 GB, free: 7.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1568, allocations: 3.938 kB / 0.4975 GB, free: 7.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003075/0.1599, allocations: 1.921 MB / 0.4994 GB, free: 5.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1599, allocations: 4 kB / 0.4994 GB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/0.16, allocations: 19.92 kB / 0.4994 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.1613, allocations: 0.4978 MB / 0.4999 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.1619, allocations: 139.9 kB / 0.5 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2194/0.3813, allocations: 18.2 MB / 0.5178 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.3819, allocations: 127.4 kB / 0.5179 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.382, allocations: 30.08 kB / 0.5179 GB, free: 26.84 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.000386/0.3824, allocations: 284 kB / 0.5182 GB, free: 26.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3825, allocations: 89.45 kB / 0.5183 GB, free: 26.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.3827, allocations: 102.6 kB / 0.5184 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3827, allocations: 5.094 kB / 0.5184 GB, free: 26.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3827, allocations: 8.688 kB / 0.5184 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3827, allocations: 6.281 kB / 0.5184 GB, free: 26.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006916/0.3834, allocations: 0.6266 MB / 0.519 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3834, allocations: 0.7031 kB / 0.519 GB, free: 26.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/0.3841, allocations: 110.8 kB / 0.5191 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3842, allocations: 2.188 kB / 0.5191 GB, free: 26.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.3842, allocations: 32.39 kB / 0.5192 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3842, allocations: 2.094 kB / 0.5192 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3842, allocations: 7.875 kB / 0.5192 GB, free: 26.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001459/0.3857, allocations: 1.153 MB / 0.5203 GB, free: 25.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3858, allocations: 162.2 kB / 0.5205 GB, free: 25.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.3859, allocations: 33.23 kB / 0.5205 GB, free: 25.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.3863, allocations: 31.55 kB / 0.5205 GB, free: 25.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3864, allocations: 31.33 kB / 0.5205 GB, free: 25.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.3865, allocations: 15.69 kB / 0.5206 GB, free: 25.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006522/0.3871, allocations: 0.5445 MB / 0.5211 GB, free: 25.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3871, allocations: 2.875 kB / 0.5211 GB, free: 25.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002276/0.3894, allocations: 0.7601 MB / 0.5218 GB, free: 25.47 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.003318/0.3927, allocations: 2.293 MB / 0.5241 GB, free: 24.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004552/0.3973, allocations: 3.16 MB / 0.5272 GB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.3973, allocations: 1.25 kB / 0.5272 GB, free: 22.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005469/0.3979, allocations: 332.9 kB / 0.5275 GB, free: 22.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.399, allocations: 228.5 kB / 0.5277 GB, free: 22.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.4125, allocations: 10.61 MB / 0.5381 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004445/0.413, allocations: 1.095 MB / 0.5391 GB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004253/0.4134, allocations: 154.9 kB / 0.5393 GB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/0.4137, allocations: 339.2 kB / 0.5396 GB, free: 16.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4137, allocations: 4 kB / 0.5396 GB, free: 16.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05963/0.4734, allocations: 29.44 MB / 0.5684 GB, free: 3.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.74, allocations: 1.25 kB / 0.5684 GB, free: 3.516 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches