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.001241/0.001241, allocations: 109.4 kB / 16.41 MB, free: 6.484 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.001406/0.001406, allocations: 191.5 kB / 17.34 MB, free: 5.766 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.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.2226/0.2226, 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.001413/0.001413, allocations: 61.47 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004331/0.1223, allocations: 2.655 MB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00794/0.1303, allocations: 4.397 MB / 0.4943 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007443/0.1311, allocations: 19.81 kB / 0.4943 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.1321, allocations: 354.3 kB / 0.4947 GB, free: 4.824 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005851/0.1328, allocations: 91.16 kB / 0.4948 GB, free: 4.734 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00769/0.1405, allocations: 2.62 MB / 0.4973 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001904/0.1424, allocations: 1.177 MB / 0.4985 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.1427, allocations: 81.73 kB / 0.4985 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007568/0.1435, allocations: 438.7 kB / 0.499 GB, free: 432 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/0.1443, allocations: 414.2 kB / 0.4994 GB, free: 16 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.1445, allocations: 56.05 kB / 0.4994 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002508/0.1471, allocations: 1.807 MB / 0.5012 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.1474, allocations: 311 kB / 0.5015 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.1478, allocations: 393.5 kB / 0.5019 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.1501, allocations: 2.295 MB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1501, allocations: 3.938 kB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1502, allocations: 0 / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.1502, allocations: 0 / 0.5041 GB, free: 11.16 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.002439/0.1526, allocations: 1.472 MB / 0.5055 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1527, allocations: 15.92 kB / 0.5055 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.123e-05/0.1528, allocations: 74.72 kB / 0.5056 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001626/0.1529, allocations: 111.6 kB / 0.5057 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008702/0.1538, allocations: 0.5784 MB / 0.5063 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.1539, allocations: 37.38 kB / 0.5063 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.154, allocations: 72.02 kB / 0.5064 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.1549, allocations: 0.6968 MB / 0.5071 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.155, allocations: 0 / 0.5071 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.597e-05/0.155, allocations: 20 kB / 0.5071 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.155, allocations: 8 kB / 0.5071 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.1556, allocations: 363.7 kB / 0.5075 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.158, allocations: 1.359 MB / 0.5088 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.1594, allocations: 0.8388 MB / 0.5096 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003994/0.1599, allocations: 294 kB / 0.5099 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.1599, allocations: 4.438 kB / 0.5099 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1599, allocations: 43.12 kB / 0.5099 GB, free: 4.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.623e-06/0.1599, allocations: 0 / 0.5099 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001516/0.1615, allocations: 0.9655 MB / 0.5109 GB, free: 3.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003264/0.1618, allocations: 0.6726 MB / 0.5115 GB, free: 3.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.1627, allocations: 0.8496 MB / 0.5124 GB, free: 2.238 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.781e-05/0.1628, allocations: 41.7 kB / 0.5124 GB, free: 2.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002783/0.1631, allocations: 361.4 kB / 0.5127 GB, free: 1.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.1632, allocations: 216.8 kB / 0.5129 GB, free: 1.617 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.1636, allocations: 250.6 kB / 0.5132 GB, free: 1.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.1638, allocations: 422.7 kB / 0.5136 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/0.1646, allocations: 0.5885 MB / 0.5142 GB, free: 364 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009953/0.1656, allocations: 0.83 MB / 0.515 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001519/0.1671, allocations: 1.124 MB / 0.5161 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1672, allocations: 0 / 0.5161 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003092/0.1703, allocations: 1.917 MB / 0.5179 GB, free: 12.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1703, allocations: 8 kB / 0.5179 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.632e-05/0.1703, allocations: 19.97 kB / 0.518 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.1718, allocations: 0.49 MB / 0.5184 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.1724, allocations: 147.8 kB / 0.5186 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2357/0.4081, allocations: 18.19 MB / 0.5364 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.4087, allocations: 127.6 kB / 0.5365 GB, free: 31.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/0.4088, allocations: 28.56 kB / 0.5365 GB, free: 31.14 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.0003685/0.4092, allocations: 283.7 kB / 0.5368 GB, free: 31.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4093, allocations: 91.38 kB / 0.5369 GB, free: 31.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.4095, allocations: 110.9 kB / 0.537 GB, free: 31.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.4095, allocations: 6.297 kB / 0.537 GB, free: 31.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4095, allocations: 0 / 0.537 GB, free: 31.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.4095, allocations: 2.672 kB / 0.537 GB, free: 31.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008677/0.4104, allocations: 0.6336 MB / 0.5376 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.4104, allocations: 4.344 kB / 0.5376 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007141/0.4111, allocations: 106.1 kB / 0.5377 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.4111, allocations: 6.062 kB / 0.5377 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.701e-05/0.4112, allocations: 31.33 kB / 0.5377 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4112, allocations: 5.516 kB / 0.5377 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4112, allocations: 0 / 0.5377 GB, free: 30.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.4129, allocations: 1.152 MB / 0.5389 GB, free: 30.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.413, allocations: 163.2 kB / 0.539 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.4131, allocations: 35.38 kB / 0.5391 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003401/0.4135, allocations: 33.12 kB / 0.5391 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.4136, allocations: 30.38 kB / 0.5391 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.4136, allocations: 16.05 kB / 0.5391 GB, free: 30.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007169/0.4143, allocations: 0.5412 MB / 0.5397 GB, free: 30.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4144, allocations: 1.219 kB / 0.5397 GB, free: 30.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002276/0.4166, allocations: 0.7575 MB / 0.5404 GB, free: 30.47 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.003831/0.4205, allocations: 2.307 MB / 0.5427 GB, free: 29.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004033/0.4245, allocations: 2.99 MB / 0.5456 GB, free: 27.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.4246, allocations: 2.75 kB / 0.5456 GB, free: 27.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.4251, allocations: 337.8 kB / 0.5459 GB, free: 27.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.4264, allocations: 221.9 kB / 0.5461 GB, free: 27.94 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01615/0.4426, allocations: 10.34 MB / 0.5562 GB, free: 23.63 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007078/0.4434, allocations: 1.085 MB / 0.5573 GB, free: 22.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000504/0.4439, allocations: 164.2 kB / 0.5574 GB, free: 22.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003616/0.4442, allocations: 339.5 kB / 0.5577 GB, free: 22.62 MB / 414.1 MB Notification: Performance of SimCode: time 2.164e-06/0.4442, allocations: 1.344 kB / 0.5577 GB, free: 22.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08081/0.5251, allocations: 29.98 MB / 0.587 GB, free: 13.19 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.48, allocations: 11.91 kB / 0.587 GB, free: 13.18 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 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.mat","/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