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.001261/0.001261, allocations: 103.8 kB / 16.4 MB, free: 6.461 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.001177/0.001177, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.499/1.499, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2334/0.2334, allocations: 43.52 MB / 314.1 MB, free: 456 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.001999/0.001999, allocations: 77.61 kB / 441.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1348, allocations: 57.79 MB / 499.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004301/0.1391, allocations: 2.647 MB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007523/0.1467, allocations: 4.405 MB / 0.4943 GB, free: 5.156 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.1471, allocations: 19.81 kB / 0.4943 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009158/0.148, allocations: 350.3 kB / 0.4947 GB, free: 4.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002389/0.1484, allocations: 91.16 kB / 0.4948 GB, free: 4.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006491/0.1549, allocations: 2.615 MB / 0.4973 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.1564, allocations: 1.185 MB / 0.4985 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.1566, allocations: 85.67 kB / 0.4986 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004794/0.1571, allocations: 442.6 kB / 0.499 GB, free: 388 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005533/0.1577, allocations: 402.3 kB / 0.4994 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1578, allocations: 52 kB / 0.4994 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002567/0.1603, allocations: 1.815 MB / 0.5012 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.1607, allocations: 311 kB / 0.5015 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004055/0.1611, allocations: 397.4 kB / 0.5019 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.1636, allocations: 2.298 MB / 0.5041 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1636, allocations: 0 / 0.5041 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1637, allocations: 0 / 0.5041 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.166e-05/0.1637, 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.002807/0.1665, allocations: 1.502 MB / 0.5056 GB, free: 9.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1665, allocations: 11.98 kB / 0.5056 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.1667, allocations: 86.66 kB / 0.5057 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.1669, allocations: 108.2 kB / 0.5058 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008547/0.1677, allocations: 0.5867 MB / 0.5063 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.217e-05/0.1678, allocations: 41.38 kB / 0.5064 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.1679, allocations: 68.08 kB / 0.5064 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.169, allocations: 0.6968 MB / 0.5071 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.169, allocations: 0 / 0.5071 GB, free: 7.824 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.923e-05/0.1691, allocations: 16 kB / 0.5071 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1691, allocations: 8 kB / 0.5072 GB, free: 7.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006478/0.1697, allocations: 375.7 kB / 0.5075 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.1722, allocations: 1.352 MB / 0.5088 GB, free: 6.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.1737, allocations: 0.8487 MB / 0.5097 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.1742, allocations: 282 kB / 0.5099 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.1742, allocations: 4.438 kB / 0.5099 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1743, allocations: 51.12 kB / 0.51 GB, free: 4.832 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.764e-06/0.1743, allocations: 0 / 0.51 GB, free: 4.832 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001666/0.1759, allocations: 0.9739 MB / 0.5109 GB, free: 3.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004067/0.1764, allocations: 0.6687 MB / 0.5116 GB, free: 3.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/0.1774, allocations: 0.842 MB / 0.5124 GB, free: 2.156 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.1774, allocations: 49.7 kB / 0.5125 GB, free: 2.102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.1778, allocations: 361.6 kB / 0.5128 GB, free: 1.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.1779, allocations: 230 kB / 0.513 GB, free: 1.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.1783, allocations: 254.6 kB / 0.5133 GB, free: 1.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002392/0.1785, allocations: 414.7 kB / 0.5137 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008606/0.1794, allocations: 0.5924 MB / 0.5142 GB, free: 260 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.1805, allocations: 0.8378 MB / 0.5151 GB, free: 15.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.1821, allocations: 1.12 MB / 0.5161 GB, free: 14.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1821, allocations: 0 / 0.5161 GB, free: 14.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003152/0.1853, allocations: 1.929 MB / 0.518 GB, free: 12.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1853, allocations: 4 kB / 0.518 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.571e-05/0.1854, allocations: 15.98 kB / 0.5181 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001438/0.1868, allocations: 0.4978 MB / 0.5185 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.1874, allocations: 143.8 kB / 0.5187 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.276/0.4634, allocations: 18.19 MB / 0.5364 GB, free: 30.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.4641, allocations: 134.8 kB / 0.5366 GB, free: 30.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.4642, allocations: 29.95 kB / 0.5366 GB, free: 30.71 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.0004466/0.4647, allocations: 290.1 kB / 0.5369 GB, free: 30.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.4648, allocations: 92.83 kB / 0.537 GB, free: 30.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001847/0.465, allocations: 104.4 kB / 0.5371 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.465, allocations: 7.312 kB / 0.5371 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.465, allocations: 0 / 0.5371 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4651, allocations: 2.438 kB / 0.5371 GB, free: 30.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008203/0.4659, allocations: 0.6413 MB / 0.5377 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4659, allocations: 1.766 kB / 0.5377 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/0.4666, allocations: 107.2 kB / 0.5378 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.4666, allocations: 3.156 kB / 0.5378 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.4667, allocations: 30.58 kB / 0.5378 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4667, allocations: 2.469 kB / 0.5378 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4667, allocations: 0.7969 kB / 0.5378 GB, free: 30.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.4683, allocations: 1.165 MB / 0.539 GB, free: 30.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.882e-05/0.4684, allocations: 161.4 kB / 0.5391 GB, free: 30.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4685, allocations: 41.39 kB / 0.5392 GB, free: 30.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.4688, allocations: 29.56 kB / 0.5392 GB, free: 30.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.469, allocations: 31.45 kB / 0.5392 GB, free: 30.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.469, allocations: 15.45 kB / 0.5392 GB, free: 30.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007098/0.4697, allocations: 0.54 MB / 0.5398 GB, free: 30.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4697, allocations: 0 / 0.5398 GB, free: 30.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002405/0.4721, allocations: 0.766 MB / 0.5405 GB, free: 30 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.00371/0.4759, allocations: 2.303 MB / 0.5428 GB, free: 29.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003954/0.4798, allocations: 2.991 MB / 0.5457 GB, free: 27.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.4799, allocations: 2.625 kB / 0.5457 GB, free: 27.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005783/0.4805, allocations: 335.8 kB / 0.546 GB, free: 27.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.4816, allocations: 223 kB / 0.5462 GB, free: 27.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/0.4973, allocations: 10.39 MB / 0.5564 GB, free: 23.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/0.498, allocations: 1.082 MB / 0.5574 GB, free: 22.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005181/0.4985, allocations: 167.1 kB / 0.5576 GB, free: 22.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.4989, allocations: 340.5 kB / 0.5579 GB, free: 22.06 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4989, allocations: 0 / 0.5579 GB, free: 22.06 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08935/0.5883, allocations: 29.62 MB / 0.5868 GB, free: 12.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.38, allocations: 11.92 kB / 0.5869 GB, free: 12.92 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