Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001239/0.001239, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001287/0.001287, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2136/0.2136, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 83.86 kB / 480.8 MB, free: 4.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3308, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.004811/0.3357, allocations: 2.66 MB / 0.5331 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.3444, allocations: 4.42 MB / 0.5375 GB, free: 8.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008565/0.3453, allocations: 20.47 kB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.3463, allocations: 345.2 kB / 0.5378 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.347, allocations: 106.9 kB / 0.5379 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007315/0.3543, allocations: 2.642 MB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002119/0.3565, allocations: 1.183 MB / 0.5416 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.3568, allocations: 76.39 kB / 0.5417 GB, free: 5.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009961/0.3578, allocations: 444.1 kB / 0.5421 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000987/0.3588, allocations: 400.2 kB / 0.5425 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.3591, allocations: 55.28 kB / 0.5426 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.3637, allocations: 1.839 MB / 0.5444 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004398/0.3642, allocations: 307.1 kB / 0.5447 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006066/0.3648, allocations: 401.3 kB / 0.545 GB, free: 2.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003518/0.3683, allocations: 2.301 MB / 0.5473 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.3684, allocations: 0 / 0.5473 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3684, allocations: 0 / 0.5473 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.359e-05/0.3684, allocations: 0 / 0.5473 GB, free: 0.6445 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.003091/0.3715, allocations: 1.51 MB / 0.5488 GB, free: 15.08 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3716, allocations: 8.031 kB / 0.5488 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.3717, allocations: 82.66 kB / 0.5489 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002225/0.3719, allocations: 112.2 kB / 0.549 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008849/0.3728, allocations: 0.5867 MB / 0.5495 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.3729, allocations: 37.38 kB / 0.5496 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.373, allocations: 80.02 kB / 0.5496 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.374, allocations: 0.6968 MB / 0.5503 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.374, allocations: 0 / 0.5503 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.3741, allocations: 23.98 kB / 0.5504 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3741, allocations: 8 kB / 0.5504 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006298/0.3747, allocations: 363.7 kB / 0.5507 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002711/0.3774, allocations: 1.355 MB / 0.552 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.379, allocations: 0.8325 MB / 0.5528 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.3794, allocations: 293.9 kB / 0.5531 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.3795, allocations: 16.38 kB / 0.5531 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.631e-05/0.3795, allocations: 50.92 kB / 0.5532 GB, free: 10.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 2.113e-06/0.3795, allocations: 0 / 0.5532 GB, free: 10.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=53): time 0.001662/0.3812, allocations: 0.9701 MB / 0.5541 GB, free: 9.359 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003088/0.3815, allocations: 0.6687 MB / 0.5548 GB, free: 8.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001082/0.3826, allocations: 0.8459 MB / 0.5556 GB, free: 7.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.686e-05/0.3827, allocations: 41.7 kB / 0.5557 GB, free: 7.613 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.383, allocations: 369.6 kB / 0.556 GB, free: 7.246 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.3832, allocations: 230 kB / 0.5562 GB, free: 7.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/0.3836, allocations: 250.6 kB / 0.5565 GB, free: 6.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.3838, allocations: 418.7 kB / 0.5569 GB, free: 6.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008439/0.3847, allocations: 0.5846 MB / 0.5574 GB, free: 5.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001102/0.3858, allocations: 0.8301 MB / 0.5582 GB, free: 4.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.3874, allocations: 1.132 MB / 0.5593 GB, free: 3.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.3874, allocations: 3.938 kB / 0.5594 GB, free: 3.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003007/0.3904, allocations: 1.914 MB / 0.5612 GB, free: 1.766 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3904, allocations: 8 kB / 0.5612 GB, free: 1.758 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.998e-05/0.3905, allocations: 23.97 kB / 0.5613 GB, free: 1.734 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.3919, allocations: 0.4939 MB / 0.5617 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.3925, allocations: 139.8 kB / 0.5619 GB, free: 1.066 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01458/0.4071, allocations: 18.21 MB / 0.5796 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006736/0.4078, allocations: 134.8 kB / 0.5798 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.408, allocations: 24 kB / 0.5798 GB, free: 13.02 MB / 446.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.0005799/0.4086, allocations: 285.7 kB / 0.5801 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/0.4088, allocations: 91.34 kB / 0.5802 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.4091, allocations: 101.4 kB / 0.5803 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.4091, allocations: 4 kB / 0.5803 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4091, allocations: 0 / 0.5803 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4091, allocations: 11.92 kB / 0.5803 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.4102, allocations: 0.6303 MB / 0.5809 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.4103, allocations: 7.984 kB / 0.5809 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007743/0.411, allocations: 107.9 kB / 0.581 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.759e-06/0.4111, allocations: 7.938 kB / 0.581 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/0.4112, allocations: 27.98 kB / 0.581 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4112, allocations: 0 / 0.581 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.4112, allocations: 7.922 kB / 0.581 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001757/0.4129, allocations: 1.159 MB / 0.5822 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.4131, allocations: 168.3 kB / 0.5823 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.4133, allocations: 35.97 kB / 0.5824 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.4136, allocations: 27.97 kB / 0.5824 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4137, allocations: 32.39 kB / 0.5824 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.4138, allocations: 23.94 kB / 0.5824 GB, free: 10.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000723/0.4145, allocations: 0.5385 MB / 0.583 GB, free: 9.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4145, allocations: 0 / 0.583 GB, free: 9.664 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002722/0.4172, allocations: 0.769 MB / 0.5837 GB, free: 8.895 MB / 446.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.003624/0.4209, allocations: 2.305 MB / 0.586 GB, free: 6.555 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004008/0.4249, allocations: 3.001 MB / 0.5889 GB, free: 3.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4249, allocations: 0 / 0.5889 GB, free: 3.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.4255, allocations: 326.3 kB / 0.5892 GB, free: 2.996 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4266, allocations: 241.6 kB / 0.5894 GB, free: 2.777 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/0.4416, allocations: 10.37 MB / 0.5996 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007509/0.4424, allocations: 1.086 MB / 0.6006 GB, free: 7.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.4429, allocations: 165.2 kB / 0.6008 GB, free: 6.926 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/0.4434, allocations: 335.3 kB / 0.6011 GB, free: 6.598 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4434, allocations: 4 kB / 0.6011 GB, free: 6.594 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1049/0.5483, allocations: 29.7 MB / 0.6301 GB, free: 9.02 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.26, allocations: 10.45 kB / 0.6301 GB, free: 9.012 MB / 494.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/FilterTests/Basic/Basic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches