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.001792/0.001792, allocations: 109.1 kB / 17.06 MB, free: 5.996 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.00195/0.00195, allocations: 200 kB / 18.01 MB, free: 5.066 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 43.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2494, allocations: 49.43 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.00341/0.2529, allocations: 2.007 MB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006054/0.259, allocations: 3.671 MB / 405.9 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001931/0.2592, allocations: 15.88 kB / 405.9 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.2597, allocations: 183.1 kB / 406.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001285/0.2599, allocations: 39.59 kB / 406.1 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.2642, allocations: 1.939 MB / 408.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006366/0.2649, allocations: 498.8 kB / 408.6 MB, free: 484 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.265, allocations: 52.98 kB / 408.6 MB, free: 428 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.2653, allocations: 187.3 kB / 408.8 MB, free: 240 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.2655, allocations: 167.2 kB / 409 MB, free: 72 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.2656, allocations: 24 kB / 409 MB, free: 48 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.268, allocations: 1.787 MB / 410.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.2681, allocations: 115.6 kB / 410.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.2683, allocations: 170.9 kB / 411 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.2703, allocations: 1.773 MB / 412.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2703, allocations: 0 / 412.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2703, allocations: 0 / 412.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2703, allocations: 0 / 412.8 MB, free: 12.2 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.001581/0.2719, allocations: 0.9144 MB / 413.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2719, allocations: 8.031 kB / 413.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.857e-05/0.272, allocations: 50.73 kB / 413.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.514e-05/0.2721, allocations: 52.59 kB / 413.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.2726, allocations: 362.3 kB / 414.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2726, allocations: 16.28 kB / 414.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.2727, allocations: 24 kB / 414.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000491/0.2732, allocations: 303 kB / 414.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2732, allocations: 4 kB / 414.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.776e-05/0.2732, allocations: 12 kB / 414.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2732, allocations: 4 kB / 414.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.2735, allocations: 140.7 kB / 414.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.2747, allocations: 0.6796 MB / 415.4 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.2754, allocations: 323.1 kB / 415.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2756, allocations: 108.8 kB / 415.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.2756, allocations: 0 / 415.8 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.2757, allocations: 42.56 kB / 415.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.172e-06/0.2757, allocations: 0 / 415.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007434/0.2764, allocations: 381.5 kB / 416.2 MB, free: 8.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002215/0.2767, allocations: 375.7 kB / 416.6 MB, free: 8.137 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.2771, allocations: 405.8 kB / 417 MB, free: 7.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.2772, allocations: 37.7 kB / 417 MB, free: 7.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.2773, allocations: 196.9 kB / 417.2 MB, free: 7.484 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.2774, allocations: 91.27 kB / 417.3 MB, free: 7.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.2776, allocations: 105.7 kB / 417.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2778, allocations: 354.8 kB / 417.7 MB, free: 6.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.2781, allocations: 204.4 kB / 417.9 MB, free: 6.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.2786, allocations: 318.4 kB / 418.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006186/0.2792, allocations: 397.5 kB / 418.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2792, allocations: 0 / 418.6 MB, free: 5.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001149/0.2804, allocations: 0.6537 MB / 419.3 MB, free: 5.32 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.2804, allocations: 4 kB / 419.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.2805, allocations: 11.98 kB / 419.3 MB, free: 5.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004415/0.2809, allocations: 126.5 kB / 419.4 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/0.2812, allocations: 67.89 kB / 419.5 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.2853, allocations: 4.558 MB / 424.1 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.2855, allocations: 55.58 kB / 424.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.2856, allocations: 8 kB / 424.1 MB, free: 68 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.000238/0.2858, allocations: 180.7 kB / 424.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.2859, allocations: 47.66 kB / 424.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.286, allocations: 47.73 kB / 424.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.286, allocations: 3.984 kB / 424.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.286, allocations: 8.062 kB / 424.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.286, allocations: 0 / 424.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.2864, allocations: 345.3 kB / 424.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.2865, allocations: 3.984 kB / 424.7 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.2867, allocations: 43.92 kB / 424.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2868, allocations: 3.938 kB / 424.8 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.2868, allocations: 15.98 kB / 424.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2868, allocations: 4 kB / 424.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2868, allocations: 0 / 424.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.2875, allocations: 0.499 MB / 425.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.2876, allocations: 112.8 kB / 425.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.2877, allocations: 19.98 kB / 425.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.2879, allocations: 11.98 kB / 425.4 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.2879, allocations: 15.92 kB / 425.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.288, allocations: 4 kB / 425.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.2883, allocations: 271.1 kB / 425.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2883, allocations: 4 kB / 425.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001921/0.2902, allocations: 0.6598 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.002483/0.2927, allocations: 1.612 MB / 428 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.2942, allocations: 0.9423 MB / 428.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2942, allocations: 4 kB / 429 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.2944, allocations: 123.8 kB / 429.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.295, allocations: 108.9 kB / 429.2 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/0.3013, allocations: 4.516 MB / 433.7 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005095/0.3018, allocations: 0.838 MB / 434.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001945/0.302, allocations: 66.92 kB / 434.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.3023, allocations: 131.4 kB / 434.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3023, allocations: 0 / 434.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05004/0.3523, allocations: 17.12 MB / 451.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.76, allocations: 8 kB / 451.9 MB, free: 4.137 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