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.001426/0.001426, allocations: 107.2 kB / 16.41 MB, free: 6.5 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.001554/0.001554, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.349/1.349, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1986/0.1986, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001402/0.001402, allocations: 69.47 kB / 441.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09728, allocations: 57.79 MB / 499.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003308/0.1006, allocations: 2.658 MB / 0.49 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.1073, allocations: 4.401 MB / 0.4943 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003672/0.1078, allocations: 23.75 kB / 0.4943 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007227/0.1085, allocations: 354.3 kB / 0.4947 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.1087, allocations: 99.16 kB / 0.4948 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005449/0.1142, allocations: 2.616 MB / 0.4973 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.1156, allocations: 1.181 MB / 0.4985 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000205/0.1158, allocations: 85.67 kB / 0.4986 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.1162, allocations: 442.7 kB / 0.499 GB, free: 384 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.1167, allocations: 406.2 kB / 0.4994 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.229e-05/0.1167, allocations: 52 kB / 0.4994 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002259/0.119, allocations: 1.815 MB / 0.5012 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003074/0.1193, allocations: 311 kB / 0.5015 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003695/0.1197, allocations: 389.5 kB / 0.5019 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.1219, allocations: 2.302 MB / 0.5041 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1219, allocations: 0 / 0.5041 GB, free: 11.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1219, allocations: 0 / 0.5041 GB, free: 11.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.122, allocations: 0 / 0.5041 GB, free: 11.11 MB / 398.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.002507/0.1245, allocations: 1.502 MB / 0.5056 GB, free: 9.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1245, allocations: 15.97 kB / 0.5056 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/0.1246, allocations: 86.59 kB / 0.5057 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.1248, allocations: 116.2 kB / 0.5058 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008333/0.1256, allocations: 0.5867 MB / 0.5064 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.1257, allocations: 37.38 kB / 0.5064 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1258, allocations: 76.08 kB / 0.5065 GB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009221/0.1268, allocations: 0.6929 MB / 0.5071 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1268, allocations: 0 / 0.5071 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.1268, allocations: 16 kB / 0.5072 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.1268, allocations: 12 kB / 0.5072 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005744/0.1274, allocations: 371.7 kB / 0.5075 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.1298, allocations: 1.348 MB / 0.5088 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.1312, allocations: 0.8486 MB / 0.5097 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.1316, allocations: 286 kB / 0.5099 GB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.1317, allocations: 8.438 kB / 0.51 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.1317, allocations: 47.12 kB / 0.51 GB, free: 4.816 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 3.526e-06/0.1317, allocations: 3.984 kB / 0.51 GB, free: 4.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001501/0.1332, allocations: 0.9739 MB / 0.511 GB, free: 3.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002551/0.1335, allocations: 0.6687 MB / 0.5116 GB, free: 3.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/0.1343, allocations: 0.842 MB / 0.5124 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.1344, allocations: 45.7 kB / 0.5125 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.1347, allocations: 365.6 kB / 0.5128 GB, free: 1.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.1348, allocations: 230 kB / 0.513 GB, free: 1.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/0.1352, allocations: 254.6 kB / 0.5133 GB, free: 1.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000184/0.1353, allocations: 414.7 kB / 0.5137 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007659/0.1361, allocations: 0.5924 MB / 0.5143 GB, free: 240 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009274/0.1371, allocations: 0.8379 MB / 0.5151 GB, free: 15.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.1384, allocations: 1.117 MB / 0.5162 GB, free: 14.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1384, allocations: 0 / 0.5162 GB, free: 14.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002797/0.1412, allocations: 1.929 MB / 0.518 GB, free: 12.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1413, allocations: 4 kB / 0.5181 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.395e-05/0.1413, allocations: 15.98 kB / 0.5181 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.1427, allocations: 0.4939 MB / 0.5186 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005397/0.1432, allocations: 143.8 kB / 0.5187 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2183/0.3615, allocations: 18.19 MB / 0.5365 GB, free: 30.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/0.3625, allocations: 135.7 kB / 0.5366 GB, free: 30.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.3626, allocations: 32.17 kB / 0.5366 GB, free: 30.7 MB / 414.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.0005359/0.3631, allocations: 287.8 kB / 0.5369 GB, free: 30.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.3633, allocations: 96.31 kB / 0.537 GB, free: 30.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001761/0.3634, allocations: 101.9 kB / 0.5371 GB, free: 30.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.3635, allocations: 6.453 kB / 0.5371 GB, free: 30.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3635, allocations: 0.9375 kB / 0.5371 GB, free: 30.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-06/0.3635, allocations: 2.484 kB / 0.5371 GB, free: 30.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008954/0.3644, allocations: 0.6368 MB / 0.5377 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3644, allocations: 5.922 kB / 0.5377 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000688/0.3651, allocations: 108 kB / 0.5378 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3651, allocations: 1.125 kB / 0.5378 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.3652, allocations: 31.73 kB / 0.5378 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3652, allocations: 4.141 kB / 0.5379 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3652, allocations: 2.125 kB / 0.5379 GB, free: 30.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.367, allocations: 1.166 MB / 0.539 GB, free: 30.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.3672, allocations: 162.5 kB / 0.5391 GB, free: 30.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.3673, allocations: 36.06 kB / 0.5392 GB, free: 30.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.3677, allocations: 28.69 kB / 0.5392 GB, free: 30.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.3678, allocations: 30.81 kB / 0.5392 GB, free: 30.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.3679, allocations: 16.5 kB / 0.5393 GB, free: 30.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008233/0.3687, allocations: 0.538 MB / 0.5398 GB, free: 30 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3687, allocations: 0 / 0.5398 GB, free: 30 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002819/0.3715, allocations: 0.7642 MB / 0.5405 GB, free: 29.99 MB / 414.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.003095/0.3746, allocations: 2.307 MB / 0.5428 GB, free: 29.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003555/0.3782, allocations: 2.99 MB / 0.5457 GB, free: 27.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/0.3782, allocations: 1.906 kB / 0.5457 GB, free: 27.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/0.3788, allocations: 331.4 kB / 0.546 GB, free: 27.47 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.3799, allocations: 230.5 kB / 0.5462 GB, free: 27.44 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/0.395, allocations: 10.4 MB / 0.5564 GB, free: 23.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.3957, allocations: 1.083 MB / 0.5574 GB, free: 22.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005714/0.3963, allocations: 161 kB / 0.5576 GB, free: 22.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004002/0.3967, allocations: 338.4 kB / 0.5579 GB, free: 22.05 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3967, allocations: 1.656 kB / 0.5579 GB, free: 22.05 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08116/0.4779, allocations: 29.62 MB / 0.5869 GB, free: 12.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.22, allocations: 11.91 kB / 0.5869 GB, free: 12.95 MB / 430.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