Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Filter.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) 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(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Filter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Filter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.89 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2611, allocations: 50.54 MB / 408.7 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Filter): time 0.002713/0.2639, allocations: 2.02 MB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005361/0.2693, allocations: 3.713 MB / 414.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.2695, allocations: 11.88 kB / 414.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.27, allocations: 183.1 kB / 414.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.2702, allocations: 43.58 kB / 414.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.2744, allocations: 1.946 MB / 416.7 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000568/0.275, allocations: 0.491 MB / 417.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2752, allocations: 53 kB / 417.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.2754, allocations: 187.3 kB / 417.4 MB, free: 8.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.2756, allocations: 171.2 kB / 417.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.2756, allocations: 20 kB / 417.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.2778, allocations: 1.803 MB / 419.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.278, allocations: 119.7 kB / 419.5 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.2781, allocations: 162.9 kB / 419.7 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.2798, allocations: 1.788 MB / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2798, allocations: 0 / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2799, allocations: 0 / 421.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.2799, allocations: 0 / 421.4 MB, free: 4.836 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.001495/0.2814, allocations: 0.9144 MB / 422.4 MB, free: 3.867 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2814, allocations: 12.03 kB / 422.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.149e-05/0.2815, allocations: 46.73 kB / 422.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.84e-05/0.2816, allocations: 52.61 kB / 422.5 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004557/0.2821, allocations: 358.5 kB / 422.8 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/0.2821, allocations: 16.66 kB / 422.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.2822, allocations: 32.08 kB / 422.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.2826, allocations: 315.1 kB / 423.2 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2827, allocations: 4 kB / 423.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.2827, allocations: 8 kB / 423.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2827, allocations: 4 kB / 423.2 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.283, allocations: 140.7 kB / 423.3 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.2841, allocations: 0.6719 MB / 424 MB, free: 2.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.2848, allocations: 330.5 kB / 424.3 MB, free: 1.758 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.285, allocations: 108.8 kB / 424.4 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.285, allocations: 4 kB / 424.4 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.285, allocations: 38.56 kB / 424.5 MB, free: 1.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.285, allocations: 3.938 kB / 424.5 MB, free: 1.594 MB / 334.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007051/0.2857, allocations: 386 kB / 424.8 MB, free: 1.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001599/0.2859, allocations: 371.8 kB / 425.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004008/0.2863, allocations: 405.8 kB / 425.6 MB, free: 360 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.2864, allocations: 37.7 kB / 425.6 MB, free: 316 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.2865, allocations: 196.9 kB / 425.8 MB, free: 116 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.2866, allocations: 87.28 kB / 425.9 MB, free: 28 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.2867, allocations: 101.7 kB / 426 MB, free: 15.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2869, allocations: 354.7 kB / 426.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.2872, allocations: 216.2 kB / 426.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.2876, allocations: 318.4 kB / 426.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.2882, allocations: 389.6 kB / 427.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2882, allocations: 0 / 427.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001092/0.2893, allocations: 0.6577 MB / 427.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2893, allocations: 4 kB / 427.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/0.2894, allocations: 15.94 kB / 427.9 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004647/0.2898, allocations: 126.5 kB / 428.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.2901, allocations: 67.89 kB / 428.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/0.2936, allocations: 4.558 MB / 432.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002786/0.2939, allocations: 51.64 kB / 432.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.294, allocations: 12 kB / 432.8 MB, free: 8.691 MB / 350.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.0002159/0.2942, allocations: 173.8 kB / 432.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.2943, allocations: 35.77 kB / 433 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.128e-05/0.2944, allocations: 43.75 kB / 433 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.2944, allocations: 12 kB / 433 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2944, allocations: 3.984 kB / 433 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2944, allocations: 0 / 433 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.2948, allocations: 345.3 kB / 433.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2948, allocations: 0 / 433.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.2951, allocations: 47.91 kB / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.2951, allocations: 0 / 433.4 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.2951, allocations: 11.98 kB / 433.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.2951, allocations: 3.938 kB / 433.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2951, allocations: 0 / 433.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.2958, allocations: 0.5028 MB / 433.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.2959, allocations: 120.8 kB / 434 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/0.296, allocations: 11.94 kB / 434 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2961, allocations: 15.98 kB / 434.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2962, allocations: 11.97 kB / 434.1 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2962, allocations: 4 kB / 434.1 MB, free: 7.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.2965, allocations: 275.1 kB / 434.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.2965, allocations: 0 / 434.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002064/0.2986, allocations: 0.6635 MB / 435 MB, free: 6.344 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.002388/0.301, allocations: 1.613 MB / 436.6 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001371/0.3024, allocations: 0.9642 MB / 437.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3024, allocations: 0 / 437.6 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.3026, allocations: 119.9 kB / 437.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.3032, allocations: 130.4 kB / 437.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.309, allocations: 4.492 MB / 442.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.3094, allocations: 0.8418 MB / 443.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.3096, allocations: 70.91 kB / 443.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.3098, allocations: 135.4 kB / 443.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3098, allocations: 0 / 443.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0419/0.3517, allocations: 17.2 MB / 460.6 MB, free: 12.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.37, allocations: 15.11 kB / 460.6 MB, free: 12.63 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Filter.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Blocks_Examples_Filter.fmu > Modelica_trunk_Modelica.Blocks.Examples.Filter.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Blocks.Examples.Filter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches