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.001087/0.001087, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.001959/0.001959, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.682/1.682, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2379/0.2379, allocations: 43.52 MB / 314.1 MB, free: 464 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.001323/0.001323, allocations: 75.89 kB / 441.4 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1217, allocations: 57.78 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.003973/0.1257, allocations: 2.655 MB / 0.49 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007173/0.1329, allocations: 4.389 MB / 0.4943 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005094/0.1334, allocations: 23.75 kB / 0.4943 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008731/0.1343, allocations: 354.3 kB / 0.4947 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004253/0.1348, allocations: 95.16 kB / 0.4948 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005885/0.1407, allocations: 2.62 MB / 0.4973 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001505/0.1422, allocations: 1.197 MB / 0.4985 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.1424, allocations: 85.61 kB / 0.4986 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007302/0.1432, allocations: 438.7 kB / 0.499 GB, free: 400 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006962/0.1439, allocations: 398.2 kB / 0.4994 GB, free: 0 / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002183/0.1441, allocations: 56.05 kB / 0.4994 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.1468, allocations: 1.822 MB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.1472, allocations: 299.1 kB / 0.5015 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.1478, allocations: 397.4 kB / 0.5019 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.1509, allocations: 2.302 MB / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1509, allocations: 0 / 0.5041 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1509, allocations: 8 kB / 0.5041 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.474e-05/0.151, allocations: 0 / 0.5041 GB, free: 11.12 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.003131/0.1541, allocations: 1.486 MB / 0.5056 GB, free: 9.582 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1541, allocations: 19.98 kB / 0.5056 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.1543, allocations: 82.7 kB / 0.5057 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.1545, allocations: 112.2 kB / 0.5058 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.1554, allocations: 0.5905 MB / 0.5064 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.161e-05/0.1554, allocations: 41.38 kB / 0.5064 GB, free: 8.676 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.1556, allocations: 68.08 kB / 0.5065 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1566, allocations: 0.6929 MB / 0.5071 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.1566, allocations: 7.984 kB / 0.5071 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.1567, allocations: 16 kB / 0.5072 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1567, allocations: 8 kB / 0.5072 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006421/0.1574, allocations: 375.7 kB / 0.5075 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.16, allocations: 1.352 MB / 0.5088 GB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.1615, allocations: 0.8486 MB / 0.5097 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.1619, allocations: 282 kB / 0.5099 GB, free: 4.898 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.162, allocations: 4.438 kB / 0.51 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.162, allocations: 51.12 kB / 0.51 GB, free: 4.836 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.593e-06/0.1621, allocations: 0 / 0.51 GB, free: 4.836 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001651/0.1637, allocations: 0.9701 MB / 0.5109 GB, free: 3.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003204/0.164, allocations: 0.6647 MB / 0.5116 GB, free: 3.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.1651, allocations: 0.8459 MB / 0.5124 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-05/0.1652, allocations: 49.7 kB / 0.5125 GB, free: 2.109 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.1654, allocations: 365.6 kB / 0.5128 GB, free: 1.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/0.1656, allocations: 234 kB / 0.513 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.166, allocations: 254.6 kB / 0.5133 GB, free: 1.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.1662, allocations: 418.7 kB / 0.5137 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008219/0.167, allocations: 0.5885 MB / 0.5143 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.168, allocations: 0.8262 MB / 0.5151 GB, free: 15.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.1696, allocations: 1.128 MB / 0.5162 GB, free: 14.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1696, allocations: 0 / 0.5162 GB, free: 14.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00296/0.1725, allocations: 1.929 MB / 0.5181 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1726, allocations: 7.938 kB / 0.5181 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.036e-05/0.1726, allocations: 19.98 kB / 0.5181 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.174, allocations: 0.4978 MB / 0.5186 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005349/0.1746, allocations: 131.9 kB / 0.5187 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2755/0.4501, allocations: 18.2 MB / 0.5365 GB, free: 30.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006131/0.4507, allocations: 137.7 kB / 0.5366 GB, free: 30.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.425e-05/0.4508, allocations: 30.77 kB / 0.5366 GB, free: 30.79 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.0004164/0.4512, allocations: 284.5 kB / 0.5369 GB, free: 30.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.4514, allocations: 91.39 kB / 0.537 GB, free: 30.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.4515, allocations: 103.5 kB / 0.5371 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4515, allocations: 9.312 kB / 0.5371 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4515, allocations: 1.125 kB / 0.5371 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.4516, allocations: 2.719 kB / 0.5371 GB, free: 30.66 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007454/0.4523, allocations: 0.6439 MB / 0.5377 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4523, allocations: 1.375 kB / 0.5377 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006798/0.453, allocations: 105 kB / 0.5378 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.453, allocations: 1.969 kB / 0.5378 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.4531, allocations: 30.95 kB / 0.5379 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4531, allocations: 2.312 kB / 0.5379 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4531, allocations: 0.5156 kB / 0.5379 GB, free: 30.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.4547, allocations: 1.163 MB / 0.539 GB, free: 30.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.4549, allocations: 166 kB / 0.5391 GB, free: 30.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.455, allocations: 33.47 kB / 0.5392 GB, free: 30.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.4553, allocations: 29.06 kB / 0.5392 GB, free: 30.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.4554, allocations: 33.36 kB / 0.5392 GB, free: 30.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.4555, allocations: 14.77 kB / 0.5393 GB, free: 30.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006438/0.4561, allocations: 0.5365 MB / 0.5398 GB, free: 30.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4561, allocations: 3.844 kB / 0.5398 GB, free: 30.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002627/0.4587, allocations: 0.7658 MB / 0.5405 GB, free: 30.08 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.003469/0.4622, allocations: 2.304 MB / 0.5428 GB, free: 29.33 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.4662, allocations: 2.989 MB / 0.5457 GB, free: 27.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.4663, allocations: 6.312 kB / 0.5457 GB, free: 27.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005425/0.4668, allocations: 333.1 kB / 0.546 GB, free: 27.55 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.4679, allocations: 229.9 kB / 0.5462 GB, free: 27.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/0.4853, allocations: 10.39 MB / 0.5564 GB, free: 23.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009259/0.4863, allocations: 1.088 MB / 0.5574 GB, free: 22.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007131/0.4871, allocations: 161.7 kB / 0.5576 GB, free: 22.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004187/0.4875, allocations: 339.2 kB / 0.5579 GB, free: 22.14 MB / 414.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4875, allocations: 0 / 0.5579 GB, free: 22.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08296/0.5705, allocations: 29.63 MB / 0.5869 GB, free: 12.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12, allocations: 3.984 kB / 0.5869 GB, free: 12.94 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