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.001182/0.001182, allocations: 101.8 kB / 16.4 MB, free: 6.496 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.001263/0.001263, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.439/1.439, 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.2238/0.2238, allocations: 43.52 MB / 314.1 MB, free: 468 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.001688/0.001688, allocations: 63.91 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1334, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004449/0.1379, allocations: 2.659 MB / 0.49 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008208/0.1462, allocations: 4.401 MB / 0.4943 GB, free: 5.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006578/0.1469, allocations: 19.81 kB / 0.4943 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000975/0.1479, allocations: 350.3 kB / 0.4947 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004808/0.1484, allocations: 91.14 kB / 0.4948 GB, free: 4.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006748/0.1552, allocations: 2.616 MB / 0.4973 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1566, allocations: 1.181 MB / 0.4985 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002155/0.1569, allocations: 85.72 kB / 0.4985 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004472/0.1573, allocations: 446.6 kB / 0.499 GB, free: 428 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004867/0.1578, allocations: 406.2 kB / 0.4994 GB, free: 20 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1579, allocations: 52.05 kB / 0.4994 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002484/0.1604, allocations: 1.811 MB / 0.5012 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.1607, allocations: 311 kB / 0.5015 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.1611, allocations: 393.4 kB / 0.5019 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.1631, allocations: 2.295 MB / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1631, allocations: 0 / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1631, allocations: 0 / 0.5041 GB, free: 11.16 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.1632, 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.002683/0.1659, allocations: 1.476 MB / 0.5055 GB, free: 9.637 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.1659, allocations: 11.98 kB / 0.5055 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.845e-05/0.166, allocations: 78.72 kB / 0.5056 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.1662, allocations: 107.6 kB / 0.5057 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007919/0.167, allocations: 0.5745 MB / 0.5063 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.167, allocations: 37.38 kB / 0.5063 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.1672, allocations: 76.02 kB / 0.5064 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009371/0.1681, allocations: 0.6968 MB / 0.5071 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1682, allocations: 0 / 0.5071 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.1682, allocations: 16 kB / 0.5071 GB, free: 7.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1682, allocations: 12 kB / 0.5071 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.1688, allocations: 363.7 kB / 0.5074 GB, free: 7.531 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.1711, allocations: 1.355 MB / 0.5088 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1725, allocations: 0.8427 MB / 0.5096 GB, free: 5.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003934/0.1729, allocations: 294 kB / 0.5099 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.1729, allocations: 8.438 kB / 0.5099 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.173, allocations: 47.12 kB / 0.5099 GB, free: 4.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 1.853e-06/0.173, allocations: 0 / 0.5099 GB, free: 4.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001456/0.1744, allocations: 0.9616 MB / 0.5109 GB, free: 3.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003914/0.1748, allocations: 0.6726 MB / 0.5115 GB, free: 3.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008937/0.1757, allocations: 0.8457 MB / 0.5123 GB, free: 2.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.1758, allocations: 45.7 kB / 0.5124 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1761, allocations: 361.4 kB / 0.5127 GB, free: 1.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/0.1763, allocations: 216.8 kB / 0.5129 GB, free: 1.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003011/0.1766, allocations: 250.6 kB / 0.5132 GB, free: 1.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002191/0.1768, allocations: 418.7 kB / 0.5136 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007557/0.1776, allocations: 0.5846 MB / 0.5142 GB, free: 376 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009544/0.1785, allocations: 0.8378 MB / 0.515 GB, free: 15.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.1799, allocations: 1.128 MB / 0.5161 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.18, allocations: 0 / 0.5161 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002787/0.1828, allocations: 1.921 MB / 0.5179 GB, free: 12.35 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.1828, allocations: 7.984 kB / 0.518 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/0.1828, allocations: 15.98 kB / 0.518 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.1842, allocations: 0.4939 MB / 0.5185 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005439/0.1847, allocations: 143.8 kB / 0.5186 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2703/0.455, allocations: 18.19 MB / 0.5364 GB, free: 31.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006543/0.4557, allocations: 135.9 kB / 0.5365 GB, free: 31.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-05/0.4558, allocations: 33.34 kB / 0.5365 GB, free: 31.2 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.0004215/0.4562, allocations: 280.2 kB / 0.5368 GB, free: 31.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.4564, allocations: 91.5 kB / 0.5369 GB, free: 31.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.4565, allocations: 103.5 kB / 0.537 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4565, allocations: 5.844 kB / 0.537 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4565, allocations: 2.062 kB / 0.537 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4566, allocations: 3.734 kB / 0.537 GB, free: 31.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007781/0.4573, allocations: 0.6286 MB / 0.5376 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4573, allocations: 5.641 kB / 0.5376 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.458, allocations: 106.8 kB / 0.5377 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.458, allocations: 7.141 kB / 0.5377 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/0.4581, allocations: 36.7 kB / 0.5377 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.4581, allocations: 1.5 kB / 0.5377 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4581, allocations: 1.031 kB / 0.5377 GB, free: 30.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.4599, allocations: 1.149 MB / 0.5389 GB, free: 30.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.4601, allocations: 164.9 kB / 0.539 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4602, allocations: 33.02 kB / 0.5391 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.4605, allocations: 34.36 kB / 0.5391 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4606, allocations: 32.06 kB / 0.5391 GB, free: 30.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.4607, allocations: 15.91 kB / 0.5391 GB, free: 30.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006972/0.4614, allocations: 0.5371 MB / 0.5397 GB, free: 30.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4614, allocations: 0 / 0.5397 GB, free: 30.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002413/0.4638, allocations: 0.764 MB / 0.5404 GB, free: 30.52 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.003275/0.4671, allocations: 2.301 MB / 0.5427 GB, free: 29.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003654/0.4708, allocations: 2.995 MB / 0.5456 GB, free: 28.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.4708, allocations: 3.234 kB / 0.5456 GB, free: 28.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005037/0.4713, allocations: 334.2 kB / 0.5459 GB, free: 28.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009521/0.4723, allocations: 220.6 kB / 0.5461 GB, free: 27.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.016/0.4883, allocations: 10.35 MB / 0.5562 GB, free: 23.67 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.489, allocations: 1.08 MB / 0.5573 GB, free: 22.94 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005715/0.4896, allocations: 164.5 kB / 0.5574 GB, free: 22.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004134/0.49, allocations: 339.6 kB / 0.5577 GB, free: 22.67 MB / 414.1 MB Notification: Performance of SimCode: time 1.432e-06/0.49, allocations: 0 / 0.5577 GB, free: 22.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.5506, allocations: 29.99 MB / 0.587 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.22, allocations: 7.922 kB / 0.587 GB, free: 13.23 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