Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Filter.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_Filter",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.001544/0.001544, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001731/0.001731, allocations: 191 kB / 18 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2308, allocations: 49.44 MB / 400.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.003118/0.234, allocations: 2.007 MB / 402.2 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.2394, allocations: 3.674 MB / 405.9 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002567/0.2397, allocations: 11.88 kB / 405.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000528/0.2403, allocations: 183.1 kB / 406.1 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.2405, allocations: 47.56 kB / 406.1 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00403/0.2445, allocations: 1.932 MB / 408.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000551/0.2451, allocations: 0.491 MB / 408.6 MB, free: 472 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2452, allocations: 53.02 kB / 408.6 MB, free: 416 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2454, allocations: 175.4 kB / 408.8 MB, free: 240 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2456, allocations: 171.1 kB / 409 MB, free: 68 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.2457, allocations: 24 kB / 409 MB, free: 44 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.2475, allocations: 1.794 MB / 410.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2477, allocations: 119.6 kB / 410.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.2478, allocations: 166.9 kB / 411.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.2494, allocations: 1.773 MB / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2494, allocations: 0 / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2494, allocations: 0 / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.2494, allocations: 0 / 412.8 MB, free: 12.19 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001404/0.2508, allocations: 0.9143 MB / 413.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2509, allocations: 19.83 kB / 413.8 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.642e-05/0.2509, allocations: 50.73 kB / 413.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.471e-05/0.251, allocations: 52.59 kB / 413.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.2515, allocations: 362.2 kB / 414.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.2515, allocations: 20.28 kB / 414.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.011e-05/0.2515, allocations: 24 kB / 414.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.252, allocations: 303.9 kB / 414.6 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.252, allocations: 7.984 kB / 414.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.252, allocations: 4 kB / 414.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.252, allocations: 4 kB / 414.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002656/0.2523, allocations: 148.7 kB / 414.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2534, allocations: 0.6757 MB / 415.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.254, allocations: 318.4 kB / 415.7 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2542, allocations: 109.2 kB / 415.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.2542, allocations: 4 kB / 415.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.2543, allocations: 38.5 kB / 415.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.342e-06/0.2543, allocations: 0 / 415.9 MB, free: 8.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006587/0.2549, allocations: 384.2 kB / 416.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.2551, allocations: 367.8 kB / 416.6 MB, free: 8.121 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.2555, allocations: 413.8 kB / 417 MB, free: 7.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.2555, allocations: 29.7 kB / 417 MB, free: 7.664 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/0.2556, allocations: 200.9 kB / 417.2 MB, free: 7.465 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.713e-05/0.2557, allocations: 87.27 kB / 417.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2558, allocations: 101.7 kB / 417.4 MB, free: 7.273 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.256, allocations: 354.8 kB / 417.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.2563, allocations: 200.4 kB / 417.9 MB, free: 6.723 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.2566, allocations: 326.3 kB / 418.3 MB, free: 6.367 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.2572, allocations: 393.6 kB / 418.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2572, allocations: 0 / 418.6 MB, free: 5.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001019/0.2582, allocations: 0.6498 MB / 419.3 MB, free: 5.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2583, allocations: 8 kB / 419.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.878e-05/0.2583, allocations: 15.98 kB / 419.3 MB, free: 5.289 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004079/0.2587, allocations: 122.5 kB / 419.4 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.259, allocations: 59.91 kB / 419.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003213/0.2622, allocations: 4.57 MB / 424.1 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.2624, allocations: 47.59 kB / 424.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.2625, allocations: 12 kB / 424.1 MB, free: 56 kB / 334.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 (38): * Single equations (assignments): 27 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000191/0.2627, allocations: 181.7 kB / 424.3 MB, free: 15.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.2627, allocations: 47.66 kB / 424.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.2628, allocations: 43.81 kB / 424.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2628, allocations: 7.938 kB / 424.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.2628, allocations: 0 / 424.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2628, allocations: 3.984 kB / 424.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003366/0.2632, allocations: 349.3 kB / 424.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.2632, allocations: 0 / 424.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/0.2635, allocations: 35.97 kB / 424.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.2635, allocations: 7.938 kB / 424.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.2635, allocations: 8 kB / 424.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.2635, allocations: 4 kB / 424.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2635, allocations: 4 kB / 424.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006245/0.2642, allocations: 0.5028 MB / 425.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.2642, allocations: 116.7 kB / 425.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.2643, allocations: 12 kB / 425.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.2645, allocations: 15.98 kB / 425.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.2645, allocations: 11.97 kB / 425.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.2646, allocations: 11.98 kB / 425.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.2648, allocations: 275.1 kB / 425.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2648, allocations: 0 / 425.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00162/0.2664, allocations: 0.6559 MB / 426.4 MB, free: 13.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (CriticalDamping.x[1],CriticalDamping.x[2],CriticalDamping.x[3],Bessel.x[1],Bessel.x[2],Bessel.x[3],Butterworth.x[1],Butterworth.x[2],Butterworth.x[3],ChebyshevI.x[1],ChebyshevI.x[2],ChebyshevI.x[3]) * 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 (21): * Single equations (assignments): 21 * 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.002121/0.2686, allocations: 1.607 MB / 428 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.2699, allocations: 0.9462 MB / 429 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2699, allocations: 4 kB / 429 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2701, allocations: 123.8 kB / 429.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006035/0.2707, allocations: 117.5 kB / 429.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005489/0.2762, allocations: 4.507 MB / 433.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.2766, allocations: 0.8458 MB / 434.5 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001883/0.2768, allocations: 70.91 kB / 434.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.277, allocations: 127.4 kB / 434.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.277, allocations: 0 / 434.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05853/0.3355, allocations: 17.12 MB / 451.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.49, allocations: 6.547 kB / 451.9 MB, free: 4.125 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv --start-time 0 --stop-time 0.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00036 Modelica_4_0_0_Modelica_Blocks_Examples_Filter.fmu > Modelica_4.0.0_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Filter_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Filter/Filter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches